Share via


“Include Content” is disabled when saving a list as list template

Question

Sunday, March 4, 2012 7:00 PM

On one of the site collections, when saving a list as list template the "Include Content" checkbox is disabled (greyout). This issue occurs for all lists under all sites. Is this a security feature or is there specific templates that can't include content when saving a list as a list template. I did very that there was no orphan references on the list.

Please help.

Thanks,

Make sure you mark my reply as the answer if it had solved your request. Brandon M. Hunter MCTS - SharePoint 2010 Configuration

All replies (3)

Sunday, March 4, 2012 10:10 PM ✅Answered | 1 vote

This post might answer your question: http://social.msdn.microsoft.com/forums/en-US/sharepointcustomization/thread/02fedbb2-3eb0-4e3e-80dc-42dd6392ce84

Sid Kothari | MCITP, SharePoint 2010


Wednesday, March 7, 2012 7:11 AM ✅Answered | 2 votes

Hi Brandon,

Agree with Sid. The issue may be caused by “'DontSaveInTemplate'” property for your list template.
http://finarne.wordpress.com/2010/10/22/save-list-as-template-include-content-disabled-a-solution/
you can use the code below the check all the list  templates’ schema xml, and then you can know which template is use the “'DontSaveInTemplate'” property.
SPListTemplateCollection. SchemaXml
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splisttemplatecollection.schemaxml.aspx

Also, is there many files or items in the current list? try to create a new list, then add one item to the list, and check the result. For SharePoint 2007: The default size limit for the ‘Save as Template’ function in SharePoint is limited to 10MB
http://sharepointyankee.com/2008/12/18/increase-the-%E2%80%98save-as-template%E2%80%99-size-limit-for-lists-and-sites/

Wayne Fan

TechNet Community Support


Sunday, March 4, 2012 10:20 PM

Thank you for the link, but it doesn't. I know of the attribute 'DontSaveInTemplate', but I'm not sure where

attribute is used in the current lists I have provisioned already. I know of the basic meeting workspace site template has list templates that include the DontSaveInTemplate attribute where the value is true. It would be nice to identify which lists has this DontSaveInTemplate attribute where the value is true in so I can avoid creating them.