Configure the Button component
You can use the Button component to trigger actions. If you click a button in an analysis, you can, for example, open a linked analysis, apply a filter to the data of the current analysis, or open a link.
Open the Configuration panel of the Button component. The Setup options are displayed by default.
In the Setup options, you can specify an optional component title and subtitle.
Under Buttons in the Setup options, click Add button. You can add one or more buttons to the component.
Under Layout in the Setup options, you can configure the vertical and horizontal alignment of the buttons within the component.
Select Vertical or Horizontal in the drop-down menu and then select the alignment.
You can configure a button name and action. In the Setup options, move the mouse pointer over a button name and click
Edit. Alternatively, you can also select a button from the drop-down menu at the top of the Configuration panel.
The options to configure the button name and actions are displayed.
In the Title box, you can enter a button name.
Under Style, you can select a predefined style for the button.
Under Button action, you can specify whether a filter is applied or an app or analysis is opened when the button is clicked.
Specify a filter to be applied.
Enable the Apply filter option.
Click
Define filter. The Edit filter panel opens. Here you can add one or more filters.
Click + Add filter to define a filter. In the Add filter dialog select a filter method.
You can also select filters that are stored in bookmarks. Click the ... icon -> Browse saved filters. The Bookmarks panel opens.
Select a bookmark that includes the filter you want to apply and click Apply. The filter included in the selected bookmark is listed in the Edit filter panel.
To remove the filters from the Edit filter panel, click the ... icon -> Clear filters.
Click Done in the Edit filter panel.
The specified filters are listed under Button action in the Configuration panel.
Specify an app or analysis to be opened.
Enable the Open app or analysis option.
Select a project in the corresponding drop-down menu.
Select an analysis in the corresponding drop-down menu.
Select an app in the corresponding drop-down menu.
You can also select analyses or apps that are stored in bookmarks. Click From bookmark, select a bookmark in the Bookmarks panel, and click Apply.
The specified app or analysis is listed under Button action in the Configuration panel.
Additionally, you can define a filter that is applied when the app or analysis is opened.
Click
Define filter and proceed as described in step 6.
Specify a link to open when you click the button.
Click Open link. Options to configure a link are displayed.
Enter a link in the URL input field, for example, http://example.com. You can also enter a variable in the input field. To use a variable, you must reference the variable with the placeholder name you specified: ${<placeholder name>}, for example ${myURL}.
Note that you must specify a protocol for the link in the URL input field, for example, https:\\. The protocol is not automatically added to the URL.
If you want to open the linked page in the same tab, disable Open in new tab. The option is enabled by default.
You can add a documentation to the Button component.
Select More options from the drop-down menu at the top of the Configuration panel.
Enable the Enable the 'More options' menu option.
Select the position for the More options icon (...) in the Button component. By clicking the ... (more options) icon in the component, you can display the documentation.
Click
Edit content and specify a documentation to be displayed in the component.
You configured the Button component.