Passing Data from Inline Frame to Perspective Page

Hi,

I'm building a two-way communication bridge between a Perspective view and an embedded HTML page (via the Iframe component), using the WebDev module :

Perspective View --> HTML Page : OK

HTML Page --> Perspective View : NOPE

WebDev Python resource (doPost) receives the POST, decodes the JSON body, and calls system.perspective.sendMessage() with an explicit sessionId passed from the client.
Message Handler is set up on the view, scope session, listening for the matching message type, and does self.view.custom.config = payload['data'].

Is there any solution for that ?

Webdev does not have access to the currently active perspective session's context.

You'll need to change your doPost to send a message targeting the specific project sessions using system.util.sendMessage. From there, have a Session message handler configured that filters off the included session id, and re-broadcasts the message and payload to the session at the session level via system.perspective.sendMessage