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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors