How to generate a datachange event for a remotely bound property
- April 6, 2020
- 2 replies
- 3638 views
Hi,
as part of my testing I am trying to generate a property change on a property that has a remote binding to a property on a remote thing. Because the property is remotely bound I am unable to set it via the composer.
I have a test utility thing and was hoping to create a service that would generate a server side property change event (I have successfully done this for remote thing events previously). I see that there is the option, but I'm unsure how to use it. I have selected a remote thing and inserted the DataChange event into my service, but there doesn't seem to be any way to set the property name.

I have selected a remote thing (KH061) and inserted the DataChange event into my service, but there doesn't seem to be any way to set the property name.
var params = {
newValue: undefined /* INFOTABLE */,
oldValue: undefined /* INFOTABLE */
};
Things["KH061"].DataChange(params);
Presumably the 2 infotables (attached file) match the ones you see when subscribing to a property change? If so is there a defined datashape for that? Also not sure what value toset the Quality parameter to.
How would you set the property name?
Thanks
K

