question

ChanHongYi98 avatar image
0 Votes"
ChanHongYi98 asked ChanHongYi98 edited

Property Tile to show image in IoT Central

Hi everyone. I am researching on using IoT Central through the In Store Analytics example app. When editing the dashboard, I came across the Property Tile where you can show property or cloud property as Image as shown in the attached image.

I tried to place Base64 string of a converted image in the property with string schema but it's still shown in string. May I inquire how do I set it up the string property to be shown as an image? Thank you in advance.
98370-capture.png


azure-iot-central
capture.png (44.0 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @ChanHongYi98

We can use the right Tile Type called Image, please give it a try. Tile types

98718-image.png


Please comment in the below section for further questions.

0 Votes 0 ·
image.png (96.6 KiB)

Thank you for your reply, @SatishBoddu-MSFT. I know that I can display an image with an Image tile by uploading one. My focus is on the option where we can apparently show String property as image inside the Property tile as highlighted in the image attached for this question.

Is it a WIP feature introduced to IoT Central, or is it actually workable?

0 Votes 0 ·

1 Answer

ChanHongYi98 avatar image
0 Votes"
ChanHongYi98 answered ChanHongYi98 edited

Update:

Got the answer from IoT Central's documentation in this topic: https://docs.microsoft.com/en-us/azure/iot-central/core/howto-add-tiles-to-your-dashboard

For tiles that show string properties or telemetry values, you can choose how to display the text. For example, if the device stores a URL in a string property, you can display it as a clickable link. If the URL references an image, you can render the image in a last known value or property tile. To change how a string displays, in the tile configuration select the gear icon next to the telemetry type or property

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.