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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Properties from Thing Shape

svisveswaraiya
17-Peridot

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?

 

svisveswaraiya_0-1641549250973.png

Thanks in advance,

Shalini V.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.

Top Tags