i2group / analyze-connect-node-sdk

Develop connectors that bring data from external sources into i2 Analyze by using the i2 Connect Node SDK. The SDK is comprised of documentation, tools, and sample code.
https://i2group.github.io/analyze-connect-node-sdk/
MIT License
3 stars 3 forks source link

Loading an image to use as an icon #22

Closed bohdanszymanik closed 6 months ago

bohdanszymanik commented 6 months ago

It looks to me as though it's not possible to load in an image from a connector and use it to replace an entity icon? Just checking my assumption on that.

Anthony-Johnson-i2 commented 6 months ago

Hi @bohdanszymanik

You could get your connector to provide/save the image in an accessible location and add a URL to that as an ImageUrl in a SourceReference it then adds to your entity result which can be used in place of the icon.

ISourceReference interface

However, currently if you use images of type .png it will display well in the record inspector but not very well in the chart . This is a known issue that has been fixed internally but is not yet in released product.

Cheers

bohdanszymanik commented 6 months ago

Great - that will work for us. Thanks.