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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
WZorn
Helper II
Helper II

Custom Visual Development with Format Option similar to "Shape -> Custom Map" in Shape map Visual

I'm still rather new to custom visual development.  I'm still stumbling around, but making progress.

 

I'm looking for some guidance  in how to create something similar to what is happening in the Shape Map visualization.  

 

In the format options, under Shape, there is a listbox, a link and what appears to be a button.  Clicking the "button" launches a file dialog box.  My guess is the button is just a drawn shape.  After the file has been selected, text indicating the file loaded replaces the button and an "X" appears (which clears out the file selected when clicked).  See screen captures below.

 

In any case, I don't see how I can add this through the capabilities.json file alone.  Any thoughts or direction would be greatly appreciated!

 

 

WZorn_0-1625062699448.png      

WZorn_1-1625063126166.png

 

 

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @WZorn,

The shape map is a core visual, and as such has access to the properties pane that custom visuals do not. This type is currently not supported via the visual capabilities and suitable APIs would need to be provided by MS before it could be used by custom visual developers.

I'd suggest you raise a feature request via the Github repository so the team are aware that it's a requirement and can see if they can add to an upcoming update.

Regards,

Daniel





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

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


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




View solution in original post

2 REPLIES 2
dm-p
Super User
Super User

Hi @WZorn,

The shape map is a core visual, and as such has access to the properties pane that custom visuals do not. This type is currently not supported via the visual capabilities and suitable APIs would need to be provided by MS before it could be used by custom visual developers.

I'd suggest you raise a feature request via the Github repository so the team are aware that it's a requirement and can see if they can add to an upcoming update.

Regards,

Daniel





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

Proud to be a Super User!


My course: Introduction to Developing Power BI Visuals


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




Thanks @dm-p .  

 

I figured that would likely be the case.  I really like the idea of using a file dialog box to select files.  I was hoping there might be a work around.

 

William

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.