I have SharePoint 2013 list with 13897 items in it, I saved it as a template with include contents.
Now I am trying to create a new list but it doesn't load all items.
and if I open this newly created list, there is an error something like this:
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityBecause there are lots of files and probably the template file is really large, the creation from this template probably timed out and won't be created properly.
I recommend to use Export-SPWeb and ImportSPWeb, where you can simply export and import whole library
https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/export-spweb?view=sharepoint-ps https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/import-spweb?view=sharepoint-ps
or http://prabathf.blogspot.com/2012/02/export-and-import-sharepoint-list.html
Export-SPWeb -Identity <SiteURL> -Path <FileName.cmp> -ItemUrl <URLList> -IncludeUserSecurity -IncludeVersions
Import-SPweb -Identity <SiteUrl> -Path <FileName.cmp>