0

Background: I have a SharePoint Site Template which previously we use in SharePoint 2010 but now upgraded and being used in SharePoint 2013. There is a Task list in that template where we have modified its columns (deleted few of them) and display only desired ones.

Problem: The problem is, when we create a new site using that template in a new Site Collection (in SharePoint 2013) it works fine and displays only that columns which are required. However, when we create a site using that template in any of the upgraded site (from SharePoint 2010 environment) it displays all of the fields in the Task list and do not keep only the desired ones that we did not delete. We have tried multiple scenarios and ended up that it could be the issue with the upgraded sites only.

Even if we create a new Task list in a Site Template of SharePoint 2013 and delete few of its column and again create a site in upgraded sites (from SharePoint 2010), it shows the same behavior that it creates the deleted columns automatically.

Questions:

Is there any difference in SharePoint 2010 and SharePoint 2013 OOTB Task list that could create this issue?

Any thoughts how we have fix this issue? We do not need the deleted columns to be recreated on site creation using that Site Template.

1 Answer 1

0

Finally i found the fix for issue.

This could happen when your list start inheriting its content type from the root Site Collection than its own site. You can try below steps to fix this issue.

  1. Go to your Site > List (which is creating problem) > List Settings and click on the content type. In your case the content type is Task and Summery Task.

  2. After clicking content type, check the URL and copy the ctype which is actually the content type ID. See below screenshot.

enter image description here

  1. Save site as template and open the template in Visual Studio.

  2. Now navigate and find the same list in your Visual Studio template.

  3. Find tag

enter image description here

  1. The ID mentioned there could be the ID of its parent Content Type, paste the Content Type ID you have copied from the URL in step 2 above.

  2. Save the template again and then try to create a site using this template in your migrated sites. It should work now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.