# Passing Data from Inline Frame to Perspective Page

**URL:** <https://forum.inductiveautomation.com/t/passing-data-from-inline-frame-to-perspective-page/117041>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [September 10, 2026, 9:49am UTC](https://forum.inductiveautomation.com/t/passing-data-from-inline-frame-to-perspective-page/117041 "2026-09-10T09:49:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavien](https://avatars.discourse-cdn.com/v4/letter/f/f475e1/32.png) [@flavien](https://forum.inductiveautomation.com/u/flavien)\
**Post date:** [September 10, 2026, 9:49am UTC](https://forum.inductiveautomation.com/t/passing-data-from-inline-frame-to-perspective-page/117041/1 "2026-09-10T09:49:34Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [September 10, 2026, 1:33pm UTC](https://forum.inductiveautomation.com/t/passing-data-from-inline-frame-to-perspective-page/117041/2 "2026-09-10T13:33:49Z")

</div>

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`
