Skip to main content
Sep 26, 2022 3:59 PM UTC

So,

In the Service, I have written the following code:

result = "Thingworx/MediaEntities/ImageName"

And the output of the service should be ImageLink.

 

To display the image in the ValueDisplay, go to the ValueFormat widget property of ValueDisplay and press on the Renderer and State

Shashi_Preetham_0-1664207884620.png

and do the following configuration 

Shashi_Preetham_1-1664207913970.png

Thanks,

2 replies

Sep 26, 2022 1:35 PM UTC

@pshashipreetham ,

 

The media entities have a GetImage() service that returns the image for you.  Hope that helps.

 

Nick

pshashipreethamAuthorAnswer
Sep 26, 2022 3:59 PM UTC

So,

In the Service, I have written the following code:

result = "Thingworx/MediaEntities/ImageName"

And the output of the service should be ImageLink.

 

To display the image in the ValueDisplay, go to the ValueFormat widget property of ValueDisplay and press on the Renderer and State

Shashi_Preetham_0-1664207884620.png

and do the following configuration 

Shashi_Preetham_1-1664207913970.png

Thanks,