add_action_button
Add a clickable button that switches Power BI report views by applying a selected bookmark. Specify page, label, and bookmark to create the interactive control.
Instructions
Add a button bound to a BOOKMARK (the view-switch pattern): clicking it applies the bookmark (e.g. swap which visuals show). Writes the exact visualLink {type='Bookmark', bookmark=} shape the live product uses, plus the button label. bookmarkName = a bookmark from list_bookmarks/add_bookmark. Returns the new visual id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| page | Yes | page name or displayName to place the button on | |
| text | Yes | button label | |
| width | No | ||
| height | No | ||
| bookmarkName | Yes | the bookmark name the button applies | |
| reportSessionId | Yes |