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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Master_T
Helper I
Helper I

Custom visuals: show/hide/change the visual's Title from code

Hello everyone

I'm developing a custom visual for power bi, and I have a specific requirement: I would like to change the visual's title settings from code. I'm talking about these settings here, that are common to all visuals:

Master_T_0-1647527593659.png

 

Is there a way to change these settings from the visual's code? I've tried manipulating the HTML directly, but unfortunately the title is outside the visual's sandbox, so I can't change it from my code.

Is there any other way to manipulate the title, other than manually changing the settings in the properties panel?

1 ACCEPTED SOLUTION

This is how I would approach - there are no visual APIs for any of properties that affect the visual "container" (iframe), as opposed to the "content".

For reference, the properties you cannot enumerate or access are anything you can see under the 'General' category of the new Visualization pane layout:

dmp_0-1647554793947.png

If you need any functionality for these property menus, you will need to make a request for the visuals team  to create an API method for what you want to do.

Regards,

Daniel





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

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

4 REPLIES 4
AlexisOlson
Super User
Super User

That's not what I asked...

This is how I would approach - there are no visual APIs for any of properties that affect the visual "container" (iframe), as opposed to the "content".

For reference, the properties you cannot enumerate or access are anything you can see under the 'General' category of the new Visualization pane layout:

dmp_0-1647554793947.png

If you need any functionality for these property menus, you will need to make a request for the visuals team  to create an API method for what you want to do.

Regards,

Daniel





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

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Ok, so apparently it can't be done. I suspected that but I needed confirmation, thank you for providing it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.