Binding data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Binding data
I have created a thing and applied properties and services to the thing and now I want to bind this thing data to a grid widget then How I can bind data to grid widget in mashup in thing Worx?
please explain in detail and also show screen shots if possible.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Coding
- Tags:
- coding
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The tutorial may help you: Step 6 - Grid widget:
Basically
- Add a Grid to mashup
- Add Thing with service QueryPropertyValues
- In the tutorial they do call QueryImplementingThingsWithData on a ThingTemplate instead. You want to call a service on your thing which has the properties you want to display
- Bind result "All data" of QueryPropertyValues to the Grids data
Or this tutorial, where the do bind a single property of a thing to a Gauge widget using the GetPropertyValues service mentioned above: https://community.ptc.com/t5/IoT-Tips/Get-Started-with-ThingWorx-for-IoT-Guide-Part-4/ta-p/811701
Let me know if it helps. I would assume there are better tutorials but I did not find the ones which were available at https://developer.thingworx.com/en/resources/guides previously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The tutorial may help you: Step 6 - Grid widget:
Basically
- Add a Grid to mashup
- Add Thing with service QueryPropertyValues
- In the tutorial they do call QueryImplementingThingsWithData on a ThingTemplate instead. You want to call a service on your thing which has the properties you want to display
- Bind result "All data" of QueryPropertyValues to the Grids data
Or this tutorial, where the do bind a single property of a thing to a Gauge widget using the GetPropertyValues service mentioned above: https://community.ptc.com/t5/IoT-Tips/Get-Started-with-ThingWorx-for-IoT-Guide-Part-4/ta-p/811701
Let me know if it helps. I would assume there are better tutorials but I did not find the ones which were available at https://developer.thingworx.com/en/resources/guides previously.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @Rayon_11
Pls confirm if you have received your solution and mark the solution for the benefirt of other community users.
Regards
Bhawna
