Creating an interaction

Interactions constitute the "logic" and the workflow between components that, when taken together, enable your App Builder project to do whatever you have designed it to do. Some interactions are defined automatically when you create your project and add components, but most of them must be created.
  1. In your App Builder project, select the component that is to trigger the action.
  2. On the Properties panel, select the Interactions tab.
    If any interactions already exist for the selected component, either as source or target, they display in a list.
  3. Click Create Interaction.
    If there are existing interactions, click the plus (+) icon, which does the same thing.

    The Interactions tab expands to display the various settings that must be made.

  4. On the Interactions tab, make these settings:
    • In the Trigger Event section, set these values:
      Component
      This is the component that is to be used to trigger the action. It should be the component you selected in the second step.
      Event
      This defines what must actually happen to trigger the event. In most cases, it is limited by the component being used to trigger it. Button components, for example, can only trigger events by being clicked or by running an associated data service.

      For details about the types of interactions possible for each component, see the component settings topic for that component.

    • In the Target Action section, specify which Component is to be the recipient of the action and what the Action is to be.
      Component
      This is the component in which the action is to take place when the event is triggered.
      Action
      This specifies what action is to take place.
    Note: Depending on the data service being used, input parameters might also be required or optional. If that is the case, App Builder prompts for them in the Data Key Mapping section at the bottom of the tab.
Once the interaction has been created, you can test it either in Preview mode or by saving and launching the app.