Skip to main content
1-Visitor
August 31, 2021
Solved

Any idea how i can subscribe or make kind of listener on a property?

  • August 31, 2021
  • 1 reply
  • 1307 views

Hello, 

 

I have a field that is receiving string values, i want to show the current value in the pre said text field (i already done it) but when come a new value, the current value get inserted into an infotable and new get displayed in the text field!!.

 

Regards, 

Yous

Best answer by PaiChung

You can add a subscription to your property DataChange event.

1 reply

22-Sapphire I
August 31, 2021

You want to have the string historically saved and display the most current?

I would log the property, that means you'll have all values over time and you can retrieve that from the value stream.

For the updated value to display, I usually use GetProperties with the option to push updated values. But you can also use an AutoRefresh

1-Visitor
August 31, 2021

Hello, 

 

Thanks for reply,  it should work that way but what if need something like listner (event & subscription).

 

Regards, 

Yous

PaiChung22-Sapphire IAnswer
22-Sapphire I
September 2, 2021

You can add a subscription to your property DataChange event.