Widget Variables
You can create variables for the widget title and subtitle for all the widgets. For example, if you want to create variables for applications and analytics data, perform the following steps:
- Select any widget and under , turn on Subtitle.
- Create two variables of the following types:
- Variable 1: Applications
- Variable 2: Analytics Table
- Select Show in View Mode.
- Change the title with
${Variable 1}and subtitle with${Variable 2}. - Click View to display the widget in view mode.This groups all the application under Variable 1 and Analytics data under Variable 2. You can then change the variable values to filter the results.
Dash Studio supports using variables for the following widgets:
Label Widget
While creating or updating a Label widget, you can use a variable in the label text. Create a variable and add ${Variable-name} to the label text.
Image Widget
While creating or updating an Image widget, you can use a variable instead of a static URL. Use a variable by specifying the following under Data:
- Image: Select By URL.
- URL: Specify the image URL and add the variable name. For example,
https://example-imageUrl/${Variable-name}
Iframe Widget
While creating or updating an Iframe widget, you can use a variable instead of a static URL. Use a variable by specifying the URL with the variable under Data. For example, https://example-domain/${Variable-name}