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

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

Highlighted
Level 1

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.

Tags (2)
1 REPLY 1

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

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