Design Manager Issue with Content Type SharePoint 2013 Office 365

InfoPath alternatives for form designing SharePoint

Hi Everyone, Today I will be sharing some issues faced with design manager SharePoint 2013.

SharePoint 2013 has new feature Design manager which allows us to move master page, page layouts from one site collection to other site collection.

You can also check out some posts on:
– Office 365 SharePoint Easy Migration Part 2

– Content Query web part Group by Column in Office 365

– Office 365 Easy Form Development FORM7

We are using power-shell script with CSOM to create content type, pages and many more activities.

We had issue while creating content type with script as it says duplicate content type or I can also say content type is already available.

This was fresh site and we just moved the master pages, page layouts using design package but we were surprised by getting this error.
But after spending sometime against the error, finally came to the reason behind the issue :).

So when we move the master page, page layouts, css etc using design package it also includes the content type attached to the page layouts. Due to which we were not able to create same content type again using our script.

Now we are not using any code to create content type. We are using code to add the content type to pages library and design package will take care of creating content type for respective page layout.

If you want to delete the Content type and its says “It’s being used in the site”, you can deactivate the design package wsp file from solution gallery. This will remove the content type from your site as well.

Hope this will be useful.


Similar SharePoint 2013 Tutorials

About Sambita Rath

I have 9 years of exprience into SharePoint implementation, architecture, Administrator, development and Training.Designing Information Architecture in SharePoint 2007, 2010,2013 and Office 365.

View all posts by Sambita Rath →

Leave a Reply