Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Set default action in the JSON theme file for actionButton to "Bookmark"

Hi!

 

I would like to set the default action in the JSON theme file for actionButton ti "Bookmark".

 

Not a specific bookmark just that the Type is "Bookmark"

 

Ardydardy_0-1739998623676.png


I blindly tried this to no avail:

"action": [
{
"$id": "default",
"action": true,
"type": "Bookmark"

},
{
"show": true
}
]

 

Grateful for help 🙂

2 REPLIES 2
Anonymous
Not applicable

Hi! Sorry @rajendraongole1  this did not work.

I need the action to be set to "Bookmark" and Action "On": 

Ardydardy_0-1740041221811.png


The name of the visual I beleive is "actionButton". But the code you sent unfortunately does not work for me. Not even if I put it in the "actionButton" code.

No specific bookmark is needed.

rajendraongole1
Super User
Super User

Hi @Anonymous  - This will not set a specific bookmark, only the Action Type to "Bookmark".
Power BI may require manually selecting a bookmark for each button since bookmarks are user-defined.

 

please find the attached snippet . Hope it helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.