Is system.perspective.sendMessage
incapable of sending messages from a main view on one page to a popup on another page? I want a user modifying a record on one page to refresh a binding on a popup open on another page.
Here's the system I tried implementing:
- User updates record on first page
system.perspective.sendMessage("refreshBindingInPopup", payload={}, scope="session")
is executed- Message handler
refreshBindingInPopup
on the popup's main view with listen scopes 'session', 'page', and 'view' receives the message, executingself.view.refreshBinding("custom.propertyWithBinding")