Save SharePoint List as Template (with Content) maxes out at 10MB – But I want more…

I’m often shuttling around content that a client wanted in a new location and sometimes, Saving a SharePoint list as a template (with content) fits the bill nicely. But with a (default) 10MB limit, this can be quite obtrusive. Thankfully, this can be modified (up to a maximum of 500MB) with the following syntax (note that this applies to List AND Site Template saves.

 

Note: when you try to save a list as a template with content that exceeds the default of 10MB, you’ll get this…

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

 

How to increase the List (and Site) save as Template limit

 

To increase the maximum size, simply run the following stsadm command (from the C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BIN directory) replacing the propertyvalue to the new maximum size (in bytes). Note, in this example, we are changing it from 10MB to roughly 100MB:

 

stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 100000000