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,...
Suggested Answer

SharePoint Online Content in Dynamics 365 CRM form using IFrame

(0) ShareShare
ReportReport
Posted on by 235

Hello Friends,

Requirement :
Show SharePoint content in Dynamics CRM form using IFrame.

Error response :
Cannot display this content in an iframe
.The content publisher protects the information you enter on
this site by not allowing the content
displayed in a frame.

Tried:
Cross-domain settings in Browser
Trusted sites

Does anyone have a solution to this error?

I have the same question (0)
  • Suggested answer
    Ayaka Iwai Profile Picture
    Microsoft Employee on at

    SharePoint Online or SharePoint Server 2013, when the page is called from the frame, if the URL of the parent window (caller) page is not in the same domain, it will block displaying the page in the frame.

    Please use the AllowFraming control when you create a page that you want to allow access from the frame of another domain page.

    Please use the AllowFraming control only on frames-only pages. Never use it on a master page.

    Title: AllowFraming class

    Address: msdn.microsoft.com/.../microsoft.sharepoint.webpartpages.allowframing(v=office.15).aspx

    Procedure

    1. Open the page in SharePoint Designer.

    2. Add the following if there is no reference to the Microsoft.SharePoint.WebPartPages namespace in the page header.

     <%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

    3. Add the AllowFraming control to your page.

     <WebPartPages:AllowFraming runat="server"/>

    4. Save it by overwritting.

    I recommend you to create a support ticket for further investigation if the issue is not resolved.

    reference

    URL:docs.microsoft.com/.../sharepoint-frameiframe

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 37

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans