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 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")}
];
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.