ifRame a sharepoint 2013 site into Other site CRM Dynamics 2011

This is a very common requirement to iFrame SharePoint sites into other sites like in my case it was CRM Dynamics 2011

SharePoint 2010 there are no issues embedding a SharePoint Site as iFrame setting the document location in for a specific record of an entity.

In SharePoint 2013 to avoid click jacking Microsoft has set the X-FRAME options to not to allow  SharePoint 2013 sites to be iFramed.

In order to allow all the pages of your site to be iFramed in any other site or application add below to the default master page of the site

<WebPartPages:AllowFraming runat="server" __WebPartId="{C4426B64-E01A-4CEE-BEFA-B30CA861AA53}"/>

See the image below to see where the tag goes:



A very good explanation of the concept is here






One Comment on “ifRame a sharepoint 2013 site into Other site CRM Dynamics 2011”

  1. Sam March 26, 2014 at 12:04 pm #


    Thanks for your post. I am looking to do the opposite i.e. embed Dynamics CRM 2011 into a SharePoint 2010 web part page. If I try using a page viewer web part or creating a custom page and inserting the iframe code it just gives me light grey blank space and nothing else.

    Is there anything that is preventing this from being possible?



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: