cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills 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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors