Using Custom Actions
You create one action for each task that you want to add to a visual. There are several types of actions that you can use:
Type of action | Task |
---|---|
Filter action | Add an interactive filter action, including one-click filters. |
Navigation action | Open another sheet in the same dashboard. |
URL action |
Open a sheet in a different dashboard. Open a URL ( Send an email ( |
- Click , the Dashboards tab.
- Click Dashboard Designer, in the bottom-left corner.
- On the Analyses dialog, click , the Options button, next to an analysis and select Edit.
- On the analysis page, select a visual and click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, select the Interactions tab.
- Expand the Actions section and click the ADD ACTION button.
- In the New action panel, enter a name for the custom action.For custom actions that are activated from the right-click menu, the action name is also used as the name of the menu option.
You can include a field name or a parameter in the action name. Click , the Insert parameter icon, next to Action name and select a field or a parameter from the list.
- Under Activation, specify how the custom action is activated.
- Under Action type, select a type of custom action.
- To create an interactive filter action that cascades from one visual to the other
visuals on the sheet, select Filter action.
Specify the fields that you want to filter on and the visuals that you want the filtering to apply to.
When you click a data point in the visual, such as a bar in a bar chart or a segment in a pie chart, you instantly filter using the specified fields on all the specified visuals on that sheet.
- To create a navigation action that lets you navigate to a different sheet in the same
analysis or dashboard, select Navigation action and select the target sheet.
To also send a parameter value to the target sheet, click , the Add icon, next to Parameters and select a parameter and a parameter value.
- To create a URL action that lets open a sheet in a different analysis or dashboard,
open a URL, or send an email, select URL action.
Enter the target URL under URL. Valid URL schemes include
https
,http
, andmailto
.To also send a parameter to the target URL, click , the Insert parameter icon, next to URL and select a parameter.
You can also specify whether the URL opens in a new browser tab, in the same browser tab, or in a new browser window.
- To create an interactive filter action that cascades from one visual to the other
visuals on the sheet, select Filter action.
- Click Save.
The custom action that you created is displayed in the Actions panel. To enable or disable a custom action, select or clear the check box next to the custom action. To edit or delete a custom action, click , the Open menu icon, next to the custom action and select Edit or Delete.
For a custom action to work, every field and parameter it references must be active in the source visual. If a field is missing from the source visual, or if a parameter is missing from the analysis, the action for that field or parameter becomes unavailable. Make sure that you also remove or reconfigure the custom actions when you delete a field or a parameter.