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.
Re: How to raise an event on SDK based on a property change on SDK side?
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,
Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!