Spotfire® Web Client User Guide

Adding an action trigger to a visualization

You can add a trigger to a visualization and connect it to an action that you want to run when clicking the trigger. You can select external actions or actions from action mods.

Before you begin

You must have some data loaded in the analysis and a visualization where you want to add a trigger. The analysis must be in Editing mode. If you are working in the web client, make sure the action you want to use is available in the Actions flyout.

Procedure

  1. Select the visualization you want to add an action trigger to.
  2. Open the Visualization properties panel.
  3. Click Add and select Action trigger from the menu.
    An unconfigured Action trigger card is added to the panel.
  4. Select which trigger type you want to use.
  5. Click Select action.
    The Actions flyout is opened.
  6. Locate the action you want to add to the trigger, and select it by clicking the plus sign to the right. Action mods can contain several scripts, and you might need to expand the item to select a specific action to add to the trigger. In the installed client, you can click More actions to open a menu where you can locate action mods in the library or locally, or add an external action. See Adding a new external action to an analysis to learn more about the option Add action from external service.
    Note: Right-click an item and select View details to see if any configurations exist for the action already. You can also see if the configurations are used somewhere in the analysis.
  7. If the selected action requires input, provide the necessary input in the flyout that is opened, and then click Done. See Configuring action parameters to learn more about the available options.
    The action trigger is added to the visualization with the selected action.