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

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