Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hii,
I stored all images in thingworx repository. I used services in thing to get the image. But, I can't able to bind that services in image widget.. I attached my screenshot below, please help me to do that.What i expected is whenever i click the data in tree widget, the image should change dynamically,
Services:
var result = "http:///Thingworx/FileRepositories/RepoImage" +FileName;
Make sure that the result output basetype matches with what the Image widget expects (I think it might work as String)
Then based on your selectedrow you can drag and drop that on the image widget.
Hello,I tried, then also it doesn't work. I read one article, they mentioned to create datatable, so i created datashape, and datatable, in mashup i called value display widget, i used getdatatableentries services, but i can't able to view the image dynamically, if i click any data in tree, it always shows first image. please help me to do this task.
Thank you in advance,
Hello @DMu3,
There are two issues with your code:
Regards,
Constantine