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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How can i write a property value by mashup,and show it with grid?

wfan1
1-Newbie

How can i write a property value by mashup,and show it with grid?

I want use my mashup to write a property value ,and i can show it with grid and some other property.How an i do it

1 ACCEPTED SOLUTION

Accepted Solutions
AnnaAn
13-Aquamarine
(To:wfan1)

Hi wenjie fan​,

Please refer to my example.

Thanks,

Br,

Anna

View solution in original post

6 REPLIES 6
dmoon
5-Regular Member
(To:wfan1)

Hi Wenjie,

I guess you want to set a value for a property and display a result in a Grid widget with other properties, right?

If so, you can use the "SetProperties" service for the thing to set values and the "GetPropertiesValues" service to get values and display in a grid.

wfan1
1-Newbie
(To:dmoon)

yes,i want do this,but i cant find the set button

dmoon
5-Regular Member
(To:wfan1)

The "Set" button is just a button widget, but I set the label for it.

wfan1
1-Newbie
(To:wfan1)

but what is your button associate with service.I do a test like you ,but l cant write

dmoon
5-Regular Member
(To:wfan1)

When you click the button, the "clicked' of that button needs  to call the "SetProperties" service. Once the service invoke completed, call the "GetPropertyValues" service to refresh values in a Grid.

If you haven't got trained for Thingworx yet, please go to "IOTU" and take a class from there.

AnnaAn
13-Aquamarine
(To:wfan1)

Hi wenjie fan​,

Please refer to my example.

Thanks,

Br,

Anna

Top Tags