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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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