Implemented Shapes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Implemented Shapes
Hello,
I am trying to follow the full example in this link: https://developer.thingworx.com/en/resources/guides/thingworx-foundation-quickstart
It is very useful but I have a question:
Why during creating the THING TEMPLATE we selected the MeterShape to be used in the implemented Shapes, while during creating the THING we selected the ThermostatShape to be used in the implemented shapes? Can we use all for both? or can we switch? what is the reason to sleect one or more?
Also, why not all the shapes are visuallized under the Thing Shapes on the left under the "Unassigned"?
Thanks,
Ahmed
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Ghandour
You can implement ThingShape at Thing or Thing Template level, I suppose this is what the guide wanted to show.
Where you apply them depends on the business case.
For example if all the houses have a meter and a thermostat, then it would make sense to apply both thin shapes to the thing template, so that any house Thing created inherit them.
On the other hand if all the houses have a meter but only some have a thermostat, then you will apply the meterShape only to the Thing Template, and apply the ThermostatShape only to the Thing that do need it.
To see all the Thing Shape on the system you need to select Browse icon > Thing Shape.
What you see under Unassigned (or project name) is only entities that have been opened.
Hope this helps
Christophe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Ghandour
You can implement ThingShape at Thing or Thing Template level, I suppose this is what the guide wanted to show.
Where you apply them depends on the business case.
For example if all the houses have a meter and a thermostat, then it would make sense to apply both thin shapes to the thing template, so that any house Thing created inherit them.
On the other hand if all the houses have a meter but only some have a thermostat, then you will apply the meterShape only to the Thing Template, and apply the ThermostatShape only to the Thing that do need it.
To see all the Thing Shape on the system you need to select Browse icon > Thing Shape.
What you see under Unassigned (or project name) is only entities that have been opened.
Hope this helps
Christophe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @cmorfin
Thnak you so much. This makes sense and very helpful.
I appreciate your fast and detailed reponse.
Best,
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Ghandour
I am pleased that it was helpful.
It would be good if you could mark the reply as correct answer so others will find it more easily if they need it.
Thank you
Christophe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sure Thing. Will do that now.
Thanks again.
Ahmed
