cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Grid Advance display & img? HTML

EK_10370207
5-Regular Member

Grid Advance display & img? HTML

I'm trying to display an image in a cell with the grid advance widget in ThingWorx 9.1.8.  I have a data table returning an HTML string for the image and the column set to HTML, but nothing is displayed.  I've verified the image name/source is correct.  I tried following this code...

https://community.ptc.com/t5/ThingWorx-Developers/Add-mashup-or-clickable-image-in-advanced-grid/td-p/681125

 

But no luck. Do you have any ideas?

 

EK_10370207_0-1700324606635.pngEK_10370207_1-1700324616051.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

@EK_10370207 , check whether appropriate runtime permissions are assigned to this media entity. Also, Column format should be 'With Formatting, Unsanitized (Not Secured)'

 

ShirishMorkhade_1-1700750902294.png

 

 

View solution in original post

3 REPLIES 3

Hi @EK_10370207 ,

 

I am also using this feature at many places in our applications.

In the screen capture you shared, I noticed your forming url starting with in "/Thingworx/.......". However you will need to form the absolute URL like "http://Host:port/Thingworx/.......".

 

Hope this will solve your issue.

 

Regards,

Shirish

@ShirishMorkhade ,  thank you for the suggestion, but it still does not work for me.  Below is a screenshot of the infotable results.  It returns the full url, and resolves to a valid destination, but I don't see anything in the grid.

 

EK_10370207_0-1700661277756.png

 

@EK_10370207 , check whether appropriate runtime permissions are assigned to this media entity. Also, Column format should be 'With Formatting, Unsanitized (Not Secured)'

 

ShirishMorkhade_1-1700750902294.png

 

 

Top Tags