web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Parent-IFrame Communication

(0) ShareShare
ReportReport
Posted on by 8

I created a HTML web resource on a form. This HTML generates an iFrame dynamically. It also needs to listen to requests coming from the child iFrame and blink/stop blinking the browser's tab.

Our dynamics CRM is over HTTP and the iFrame is over HTTPS.

This is the HTML:

demo.txt:320:240

Inside the iFrame, which we do not have access to as it is in another domain, the postMessage API is used to send data to the parent HTML like so: 

window.parent.postMessage(JSON.stringify({active: 1}), "http://path/to/our/org"); // our CRM is over HTTP

but the debugger inside messageHandler will not be hit.

The checkbox restrict cross-frame scripting is unmarked.

We are using Dynamics CRM v8.1 on-premise if that matters.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 161 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans