Hi Everyone, Today I will be sharing some issues faced by design manager SharePoint 2013.
SharePoint 2013 has a new feature Design manager which allows us to move the master page, page layouts from one site collection to other site collection.
We are using PowerShell script with CSOM to create a content type, pages, and many more activities.
We had an issue while creating a content type with the script as it says duplicate content type or I can also say the 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 the content type. We are using code to add the content type to pages library and design package will take care of creating a 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.
Read some SharePoint Online Tutorials:
- Office 365 SharePoint Easy Migration Part 2
- Content Query web part Group by Column in Office 365
- Show SharePoint Survey Friendly message using jQuery
- Office 365 Easy Form Development FORM7
- Working with an Indexed column in SharePoint Online
Hope this will be useful.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)