Refresh Object from Popup Window

my question is: when pressing the 'change' button in the opened pupop window, what command should i use in the attached script to update the view elements behind it?

Thank you

Use a message handler.

  • Right-click on the button | Configure Events | onClick | + | Script.
  • Add system.perspective.sendMessage | Ignition User Manual, giving it a unique name in the messageType field. Be careful to set the scope properly. It will default to "page" which should work.
  • On the component in the view to be updated, right-click on the component | Configure Scripts | + Handler, set the Message Type to the same name you used in sendMessage and write the script to do what you want it to do.

Thank you !

You're welcome. Don't forget to click the "Solution" button to mark it solved. Thanks.

Done :wink:

If you can check my other issue :smiley: