Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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,