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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

How to raise an event on SDK based on a property change on SDK side?

rkandasamy
1-Newbie

How to raise an event on SDK based on a property change on SDK side?

We know that when ever a property value changes on thingworx server, there is a data change event and we can subscribe to it and perform some action based on the event triggered. we want to know whether the same can be done on SDK as well like a value is changed on SDK property and we want an event to be triggered on SDK and some actions to be performed on it's subscription.

1 REPLY 1

Hello,

You can create a service on in the edge SDK and call this from your data change event subscription. So when the property is updated on the edge, that change will push to ThingWorx Composer, and this will fire the datachange event, which then can proceed to call another edge service to let it know the property was updated successfully.

Hope this helps,

Tori

Top Tags