Showing posts with label SharePoint 2013. Show all posts
Showing posts with label SharePoint 2013. Show all posts

Tuesday, August 20, 2013

SharePoint 2013 IFrame: This HTML cannot be inserted because this type of content is not allowed.

Hi All,

We got below error when trying to embed a IFrame in SharePoint 2013 Page (Edit Page > Embed Code)

IFrame code:

<iframe src="http://www.w3schools.com" width="600" height="400"></iframe>

and the error:

















Resolution:

Go to Site Settings > Site Collection Administration > HTML Field Security



























In "Allow iframes from this domain" section, add http://www.w3schools.com  and click OK as shown below:













Once this is done, the site is displayed properly in IFrame as shown below:























Hope this helps someone out there :)

Sunday, February 10, 2013

Step by Step Procedure to Migrate sites from MOSS 2007 to SharePoint 2013

Hi,

To migrate sites from MOSS 2007 to SharePoint 2013, we need to first perform two tasks.

a. Migration from MOSS 2007 to SharePoint 2010
b. Migration from SharePoint 2010 to SharePoint 2013

Please follow the above links to perform migration and let me know in case of any issues.

Thanks !

Friday, January 25, 2013

Packaging SharePoint 2013 Solutions in Visual Studio 2012

Hi All,

To generate wsp file in Visual Studio 2012, follow the below steps.

1. Right click on SharePoint 2013 solution
2. Select Publish option





















3. Select Publish to File System and provide target location to store wsp location


















4. Once Publish is clicked, wsp file will be generated in specified location.

Hope this helps.

Friday, January 11, 2013

Making solutions for SharePoint 2010 in VS 2010 work in SharePoint 2013

Hi All,

We all know that in SharePoint 2013, the SharePoint Root was renamed to 15 hive. Microsoft has been doing this for every new SharePoint release. For instance, in MOSS 2007, it was called as 12 hive and in SharePoint 2010, its called as 14 hive.

Now, we have a Visual Studio project that was created for SharePoint 2010. When we try to deploy this solution on SharePoint 2013, all files targeted to sit in SharePoint Root was actually copied to 14 hive instead of copying in 15 hive.

The reason for this is in solution's manifest file, we have an attribute for <Solution> tag called as SharePointProductVersion which was set to 14.0. This is the reason for the files to be copied to 14 hive.









Now, to make the solution work for SharePoint 2013, we just need to change version from 14.0 to 15.0.

Hope this helps someone out there. Cheers!