Spotfire® Web Client User Guide

Adding actions to a text area

As an analyst author (and a script author), you can decide to add different types of actions to buttons, links or images in a text area (using the installed client). The action controls can open Spotfire tools that work on the range of filtered or marked data, apply bookmarks, or navigate to a certain page or visualization in the analysis. It is also possible to add your own custom actions using scripts, to refresh data function calculations, or to export prepared reports to PDF documents.

About this task

Note: Text areas must be authored in the installed client.

Before you begin

You must have some data loaded in the analysis (in the installed client) and the analysis must be in Editing mode.

Procedure

  1. On the text area title bar, click Edit Text Area .
  2. In the Edit Text Area dialog, click Insert Action Control .
  3. In the Action Control dialog, in the panel to the left, decide which type of action to add: Actions, Export Report, Script or Data function.
    For more information about the different options, see the examples in the following topics.
  4. Type a Display text to be shown in the text area.
  5. Select a Control type: Link, Button or Image.
    If you choose to add an action to a clickable image, you must also browse to add the image of your choice.
  6. When you are done, click OK and save the text area.

Results

The action control is added to the text area.