3

Is there a way to save the list as template that exceeds 500MB size in SharePoint 2010?

2

You cant increase more than 500MB as there is limitation of MaxTemplateDocumentSize "A 32-bit integer between 0 and 500 MB."

Below script increase it to 500 MB.

 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 = 1048576000 #1000 MB
$webservice.Update()

Read more: http://www.sharepointdiary.com/2014/02/increase-list-template-maximum-size-in-sharepoint.html#ixzz4TG9z6eWL

Now only option is use the Export-SPweb and Import-SPweb Commands to achieve it.

  • Thank you, Waqas for quick reply. I will try this script and let you know. – Aks Dec 19 '16 at 5:43
  • It does not work. It looks like SharePoint doesn't let you go beyond 500MB. This is the error message that I get "The specified value for maximum template document size is not valid. Specify a positive number less than 524288000." – Aks Dec 19 '16 at 5:56
  • You are correct, A 32-bit integer between 0 and 500 MB. this is limitation of the site. – Waqas Sarwar MVP Dec 19 '16 at 6:00
  • So, like I said, is there a way to achieve this? A workaround perhaps? – Aks Dec 19 '16 at 6:01
  • only workaround in this case is use export and imprt=spweb – Waqas Sarwar MVP Dec 19 '16 at 6:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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