Embedded Library Properties and Objects
This applies to: Visual Data Discovery
The library embed feature also includes pre-defined actions for adding a dashboard and opening a dashboard.
Here's what you can do with pre-defined actions:
-
Specify an action for embed action
-
Specify an action for navigate to link
-
Change a cursor if a column has onClick action specified
-
Pass an item id to the link ("https://dashboards.company.com/edit/${inventoryitemId}")
The following Actions are supported:
Action |
---|
Embed |
Open |
Below is a code sample for using the onClick property:
Type | Example |
---|---|
FunctionClickHandler | (data?: InventoryItem) => console.log(data) |
EmbedClickHandler | { |
LinkClickHandler | { |