Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. 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,