Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Add SharePoint URL in iFrame (HTML/Dynamics CRM)

Posted on by 700

We want to use SharePoint URL as iFrame in a custom HTML page or iFrame in Dynamics CRM. But when we add URL in iFrame we get an error "Refused to display 'mklearning.sharepoint.com/.../AllItems.aspx' in a frame because it set 'X-Frame-Options' to 'sameorigin'." 


Is it possible to add SharePoint URL as iFrame in HTML page / Dynamics CRM? someone know about this error?

*This post is locked for comments

  • Stephen Dear Profile Picture
    Stephen Dear 10 on at
    RE: Add SharePoint URL in iFrame (HTML/Dynamics CRM)

    It looks like you need to allow cross site scripting by removing the check from the restrict cross site scripting option in the iFrame definition in Dynamics. 

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Add SharePoint URL in iFrame (HTML/Dynamics CRM)

    Hello,

    Check following article and allow your document collections (that I believe you want to embed) into IFrame - support.office.com/.../Allow-or-disallow-iframes-for-a-site-collection-C0A622C3-5E1B-4EE5-9764-BC8BC63AE8E0

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans