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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Ben-Dev
Helper II
Helper II

Custom Connector Icons

Hello,

 

When creating a custom connector, we have the option of providing icons. When icons are configured, the docs state that the icon configuration record should contain both fields "Icon16" and "Icon32", each of which should be set to a list of icons.

 

HelloWorld.Icons = [
    Icon16 = { Extension.Contents("HelloWorld16.png"), Extension.Contents("HelloWorld20.png"), Extension.Contents("HelloWorld24.png"), Extension.Contents("HelloWorld32.png") },
    Icon32 = { Extension.Contents("HelloWorld32.png"), Extension.Contents("HelloWorld40.png"), Extension.Contents("HelloWorld48.png"), Extension.Contents("HelloWorld64.png") }
];

 

 

Two questions on this:

  • What differentiates "Icon16" and "Icon32"? 
    My guess would have been that I should create both 16 bit and 32 bit versions of my icons and then list each under the appropriate field. However, all the starter icons the SDK's new project template provides are 32 bit, even the ones it puts in "Icon16"—so maybe this guess is incorrect.
  • The docs don't say anything about the number of icons to list for each category (for "Icon16" and "Icon32"). Is there any expectation on how many I should provide, or is it okay to just provide one if I'm okay with the UI auto-resizing it?

 

Thank you!

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Ben-Dev 

 

There is not much resource or documentation about icons. From the following thread, it seems the number of icons can be one. https://community.powerbi.com/t5/Developer/Custom-Data-Connector-Icons/m-p/829327 

 

Best Regards,
Community Support Team _ Jing

Thanks, @v-jingzhang!

Any chance you could get someone from the custom connectors team to fill us in on the details here?

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors