Go to the URL
This action allows specifying a link to a website, that opens when a user clicks a button in Browse mode.
To specify the URL, use either a string constant (enclosed in single quotes) or a formula that returns a string value. The formula may include any string functions, as well as dashboard or image variables. A table column can be referenced in the formula using the format "table_name"."column_name". If the action is assigned to a dimension, the filtered column value is passed into the formula upon clicking.
Usage Example
Clicking the button in Browse mode opens the Operavix company website.
Click Action in YAML
To add a click action (OPEN_URL), use the keys listed in the table. These keys are specified within the onClick block. Keys for the onClick block are described on the Click Actions page.
| Key | Type | Definition |
|---|---|---|
| url | string | Page link |
| newWindow | boolean | Open in a new window |
Example:
onClick:
- name: "Open Operavix website"
type: OPEN_URL
url: "'https://operavix.com'"
newWindow: true
Was the article helpful?