Online Training On SharePoint
                      

Monday, 23 June 2008

Error while saving list as list template

If we try to save a large list as a list template, we may see the following error due to the list being too large:

"The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes."

We can increase the maximum size of a list / site template by running the following command
stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 50000000

Some imp points about this command:

  • The propertyvalue parameter is in bytes, so the example above will increase the maximum size to approx 50MB.
  • There is a hard limit of 500MB so the value must be less than 524288000 or you will get an error when saving the list as a template.
  • The above increases the maximum size of both site and list templates
See Also: SharePoint Object Model Code to Create a SharePoint List using List Template: Code for Creating List using List Template

Attempt A Question On List Backup: Question on List Backup

Attempt A Question on Site Template: Question On Site Template

Post a Comment
Related Posts with Thumbnails