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
easybaker
Regular Visitor

Custom Visual ShapeMapSelector

So i'm making a custom visual kind of similar to Microsoft's Shape map visual and want to allow json file input in the visual formatting settings. With Microsoft's Shape map visual they allow you to add a custom map type (topojson file) that you upload.

 

I figured out that this corresponds to the ShapeMapSelector formattingmodel but cannot figure out how I should correlate this to the capabilities.json type so that it will allow json input. If i try to make it type: "text" or something of that sort it will just result in the formatting setting being "[object Object]" when you input a json file. Is there some type i'm missing or some way to convert the json input to text before it turns into "[object Object]"?

 

It would be nice to see the source code for Microsoft's Shape map visual, but all the visuals that come with powerBI aren't open source.

 

Thank you for any help!

0 REPLIES 0

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.