I have one document library which has around 18000 documents(Total size of the all document is around 280 MB).
Now I want to make list template so I go to
Library Settings and then click on
Save document library as template and check
Now after clicking on
OK button, Request goes infinite, the page is never responding.
I have also tried this using PowerShell but it not helped. It throws following exception.
PS C:\Users\SP_Farm> $list.SaveAsTemplate("WFHistoryWithDocs","WFWithDocs","",$t rue) Exception calling "SaveAsTemplate" with "4" argument(s): "The list is too large to save as a template. The size of a template cannot exceed 52428800 bytes." At line:1 char:1 + $list.SaveAsTemplate("WFHistoryWithDocs","WFWithDocs","",$true) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) , MethodInvocationException + FullyQualifiedErrorId : SPException*
So is there any other way to achieve my requirement?