“This content cannot be displayed in a frame” error while hosting SharePoint 2013 pages in CRM

Hi,

I was getting the above error while trying to hosting the SharePoint 2013 online web part page inside an iframe within CRM’s Form.

The following post came to the rescue

http://blogs.msdn.com/b/officeapps/archive/2012/12/12/iframing-sharepoint-hosted-pages-in-apps.aspx

specifically the following tag

<WebPartPages:AllowFraming runat=”server” />

Hope it helps.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on ““This content cannot be displayed in a frame” error while hosting SharePoint 2013 pages in CRM”

  1. uncheck the option “Restrict cross-frame scripting where supported” in the Iframe where you added the HTML page/any web resource

    Like

Share your thoughts

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s