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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans