SharePoint Hosting News: How to Save a Large List Template

How to Save a Large List Template in SharePoint

Microsoft SharePoint is a browser-based collaboration and document management platform from Microsoft – Wikipedia. Microsoft’s content management system. It allows groups to set up a centralized, password protected space for document sharing. In SharePoint 2010 and in SharePoint 2013, list template size limit has been raised to 50MB by default.

If you try to save the list as a template that is larger than this you will get the following error: The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes. To increase the maximum size, simply run the following stsadm command (from the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN directory) replacing the propertyvalue to the new maximum size (in bytes):

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

Points to note:

  • The propertyvalue parameter is in bytes, so the example above will increase the maximum size to approx 50MB.
  • If you have a document library or list or site with content more than 50MB and when you try to save list as a template including content, by going to list settings >>”Save document library as template”, you get this error message: “The list is too large to save as a template. The size of a template cannot exceed 524288000 bytes.”
  • The above increases the maximum size of both site and list templates.

Using PowerShell to Get/Set SharePoint list template maximum size:

Its also possible to use PowerShell. Here is an example of setting SharePoint 2010 list / site template maximum size:

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
#For MOSS 2007, Uncomment below two lines
#[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
#[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Administration")
$webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
#Get the current Maximum Size
$webservice.MaxTemplateDocumentSize
#Set New Limit and update
$webservice.MaxTemplateDocumentSize = 524288000 #500 MB
$webservice.Update()

Best SharePoint Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers SharePoint hosting starts from $9.99. ASPHostPortal.com also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SharePoint Hosting, ASPHostPortal should be your best choice.