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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Getting property names in a list

tscur
13-Aquamarine

Getting property names in a list

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.

1 ACCEPTED SOLUTION

Accepted Solutions
tscur
13-Aquamarine
(To:tscur)

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

 

Thank you!

View solution in original post

3 REPLIES 3
PaiChung
22-Sapphire I
(To:tscur)

You can use GetPropertyDefinitions, or GetPropertyValues

tscur
13-Aquamarine
(To:PaiChung)

Thanks for aswering @PaiChung !

 

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

 

Regards,

Taciano

tscur
13-Aquamarine
(To:tscur)

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

 

Thank you!

Top Tags