Forum Discussion
Custom Data Connector - Icons
- Anonymous6 years ago
I stumbled onto the same problem myself this morning when I was rebuilding a connector I was having troubles with.
The solution I found was ensuring the properties of each icon was set to a 'build action' of 'compile' instead of 'content'
Hope this works for you.
I could be wrong on this, but is it as the format you have should be in the Icon16 batch?
My icons object tends to look like this, which works for me.
My .....20.png slots into the Icon16 set and not the Icon32 set that you hve.
FacebookForBusiness.Icons = [
Icon16 = { Extension.Contents("FacebookForBusiness16.png"), Extension.Contents("FacebookForBusiness20.png"), Extension.Contents("FacebookForBusiness24.png"), Extension.Contents("FacebookForBusiness32.png") },
Icon32 = { Extension.Contents("FacebookForBusiness32.png"), Extension.Contents("FacebookForBusiness40.png"), Extension.Contents("FacebookForBusiness48.png"), Extension.Contents("FacebookForBusiness64.png") }
];I updated the list to this , but still not joy
PBI_Connector.Icons = [
Icon32 = { Extension.Contents("PBI_Connector40.png"), Extension.Contents("PBI_Connector64.png"), Extension.Contents("PBI_Connector80.png") },
Icon16 = { Extension.Contents("PBI_Connector16.png"), Extension.Contents("PBI_Connector20.png"), Extension.Contents("PBI_Connector24.png")}
];
- Anonymous6 years agoNot applicable
I stumbled onto the same problem myself this morning when I was rebuilding a connector I was having troubles with.
The solution I found was ensuring the properties of each icon was set to a 'build action' of 'compile' instead of 'content'
Hope this works for you.
- Anonymous6 years agoNot applicable
Thanks Anonymous . It worked, but I am still not sure on what basis the icons in the list are picked up and what type/size of custom icons I have to use if I choose not to use the default ones
- Anonymous6 years agoNot applicable
Brilliant - Glad it worked for you.
I too are completely confused on which icon size is used where, so I just populate against the defaults.
I guess you could test it by putting completely different icons into each size and test to see where they will show up if you can be bothered finding out the answer.