Skip to main content
1-Visitor
June 28, 2019
Solved

Getting property names in a list

  • June 28, 2019
  • 3 replies
  • 3500 views

Hello guys,

 

I have the following scenario: A Thing Template with 10 properties, Things that use this Thing Template and a Mashup that I want to show first the list of Things that use this Thing Template (I used the service GetImplementingThings) and I want to show the Selected Row(s) 10 property names that I created in a list that the user can choose. Is there a service already for this or do I have to create one?

 

Thank you.

Best answer by tscur

Got it! Used categories to show only the ones I wanted.

 

Thank you!

3 replies

22-Sapphire I
June 28, 2019

You can use GetPropertyDefinitions, or GetPropertyValues

tscur1-VisitorAuthor
1-Visitor
July 1, 2019

Thanks for aswering @PaiChung !

 

Yes, that worked, but is there a way to "hide" some of the properties (such as description, isPersistent...)?

 

Regards,

Taciano

tscur1-VisitorAuthorAnswer
1-Visitor
July 1, 2019

Got it! Used categories to show only the ones I wanted.

 

Thank you!