Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
How can I load an Image from MediaEntities in the Service?
Thanks,
Solved! Go to Solution.
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
and do the following configuration
Thanks,
The media entities have a GetImage() service that returns the image for you. Hope that helps.
Nick
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
and do the following configuration
Thanks,