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
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
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.