How is it possible to change perspective component value from tag event
For example: I want to change 'text' of 'Label_0' when the value of tag 'TAG1' changes.
thanks for the suggestion, I am aware about binding… but I need to have it exactly as I described… from tag to label…because of the nature of the task. And this is a simplified example.
There is no correct syntax. Tags are global. By themselves, they have no knowledge of what clients/pages/views are open, and no access to the components within them. So, within the tag, your only option is to send a broadcast message to all Perspective sessions, expecting a session message handler to re-broadcast it where you need.
Conversely, your session/page/view can bind the tag to a property (not necessarily directly to the label text), and a propertyChange action can then dispatch it within the context/scope where it is bound.
Was just trying to do this. If you need the tag to dictate the component changing, you can bind a custom property on the component to the tag then use a change script on the custom property to make your changes.