Properties from Thing Shape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Properties from Thing Shape
Hi,
Is there a snippet or service to fetch the list of properties in a thing shape to display as infotable? I tried the GetPropertyDefinition from the ThingShape but it returns empty infotable. I wanted to fetch all the properties defined in the thing shape. How can we achieve this use case?
Thanks in advance,
Shalini V.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Coding
-
Examples
-
Solution Central
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There isn't an easy way to do what you want.
I think it will have to be something like a GetPropertyValues on the Thing and then some filtering or looping through to build your final infotable.
You can look into using Categories potentially.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There isn't an easy way to do what you want.
I think it will have to be something like a GetPropertyValues on the Thing and then some filtering or looping through to build your final infotable.
You can look into using Categories potentially.
