Spotfire® Web Client User Guide

Test running an action in an action mod

When you are developing an action mod, it can be useful to perform test runs of actions along the way, to make sure the scripts work as intended. When doing test runs of your actions, you can save configurations of actions containing parameters so that those actions can be run again with the same configuration, or be used later on, for example on an action trigger in a visualization or an action control in a text area.

Before you begin

You must have the Develop Mods license feature and the analysis must be in Editing mode. The action mod containing the action you want to test run must either be available in the analysis or in development. For more information, see Developing mods.

Procedure

  1. On the menu bar, select Tools > Development > Mods development to open the Mods development tool.
  2. In the sidebar to the left, click the mod containing the action you want to test run, and then open the Test tab.
  3. Click Test run.
  4. In the flyout that opens, select the action you want to run and click Next, or Run if the action does not have any parameters.
  5. If the selected action has parameters, provide the necessary input in the flyout that opens, and then click Run. For actions with parameters, you can enter a name for the configuration to save it with the specified input for the parameters. See Configuring action parameters to learn more about the available options.
    The action is run. You can view existing configurations on the Test tab of the Mods development tool as well as in the details view of the Actions flyout.
    Tip: Enter a descriptive name for the configuration if you intend to use it later on.