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 PTC Community Badges. Engage with PTC and see how many you can earn! X

How change property in a modelitem using a button

acomastri
3-Newcomer

How change property in a modelitem using a button

hi everybody,

I need to change property of modelitem using botton and application parameters.

Someone could help me?

thanks

Alberto

2 REPLIES 2
supandey
19-Tanzanite
(To:acomastri)

Hi Alberto, could you elaborate a bit on your use case if i follow you right you are attempting to update e.g. a Thing's property via certain input from a Mashup?

Based on what sort of entity and its property you are trying to update you may be able to use one of the out of the box service from that entity and you can bind the input from button & other application parameters to this service as an input. Thus clicking on button will invoke that service taking required input and in return updating/creating required properties for the entity.

Hi Sushant,

I need to point out some object using model item from a bom. The property is color. From original to another one, may be red or yellow.

I've tried with app parameters but I've got some troubles.

  1. I'm starting right now to learn JS.
  2. I don't know any command key used inTHINGWORK STUDIO

Do you know if there is a list of command?

Thanks

Announcements


Top Tags