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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Infotable to Collection Widget (Basic Only)

JY_11008628
5-Regular Member

Infotable to Collection Widget (Basic Only)

Im very new to Thingworx and Im trying to build my capability.

I am using collection widget with data source from a service in the Thing I created.

Inside the collection widget, a mashup is already defined but it doesnt seem to load when I view the mashup.

 

My service doesnt require a parameter and it will give the infotable when executed.

Infotable (headers are from the datashape I made)

KPIValueColorKPIName
A1blackA
B2greenB
C3redC

 

UID Field: KPI

Mashup Property Binding:

{
"KPI": "number",
"VALUE": "string"
}

Child Mashup: Test Collection Data

 

 

Pls see screenshots, I cannot troubleshoot it, its not giving anything when I load the mashup

3 REPLIES 3

Hi @JY_11008628 
Everything seems good but in Mashup property binding you have written "VALUE" instead of "Value" (which matches with infotable) .
Just Correct it. 
If you still face any difficulties then post here.

 

Abhishek Tirkey

This is true.

But even with wrong mapping it should show the 3 collection-mashups. With empty values but the childmashup does seem to have static content which should show up.

Therefore, also make sure that you are executing the "Test" service on MashupLoaded. I assume it is not called?

If you need more about collection widget you may refer to the below link

https://community.ptc.com/t5/ThingWorx-Developers/How-to-make-a-Collection-Widget/m-p/989890 

 

Abhishek Tirkey
Announcements


Top Tags