Trigger Actions in Dynamic Containers

When configuring actions in a container, the events, event listeners and action chains you can use will be defined in the page where the container is located. In addition to those you create, you can also use those defined in the dependency if the dependency developer has made them accessible.

When adding functionality to a dynamic container:

  • The action chains in your container defined in the dependency, and any action chains you create, will be visible in the page's Actions tab. This means they can also be used in other containers in the page.
  • You can create event listeners for events that you define in your container, and for events defined in a dependency which the despendency developer has designated as "listenable".

The steps for adding functionality in a container are similar to those for adding it in a page. For details on action chains, see Work With JSON Action Chains.

To... Do this...
Start an action chain from a component
  1. Select the component in the container section.

    If you're adding functionality to a component and it isn't visible by default in the Page Designer, you can select the dynamic container and then use the case's Layout Preview to display it.

  2. Add a component event in the Properties pane and define the action chain. See To start an action from a component.
Start an action chain when a variable changes
  1. Select the variable in the page's Variable editor.
  2. Open the variable's Events tab in its Properties pane.
  3. Click + Event Listener and select the on 'Value' event, then define the action chain. See Start and action chain when a variable changes.
Start an action chain from an action chain
  1. Select the action chain in the page's Actions tab.
  2. Add the Fire Event action to the action chain. See Start an action from an action chain.