Some of the document libraries and list, "Save library as template" link is hidden by default. If you go to "View All Site Content" and have a look at the description next to each library/list, the description that says "This system library was created by the Publishing feature.." will have the "Save library as template" link hidden.
This behaviour is by default, however we have a workaround for this. Go to the "Document Library Settings" page. You should see the URL address like this ".../listedit.aspx?List={GUID}", change the "listedit" to "savetmpl" and the URL look like this "../savetmpl.aspx?List={GUID}", now you will be able to save the library as a template.
This method is not recommended, but it works. If you have any workflow bound to the library then you may have some issues,but works fine if you just want to create a template for document settings, Columns and views.
This behaviour is by default, however we have a workaround for this. Go to the "Document Library Settings" page. You should see the URL address like this ".../listedit.aspx?List={GUID}", change the "listedit" to "savetmpl" and the URL look like this "../savetmpl.aspx?List={GUID}", now you will be able to save the library as a template.
This method is not recommended, but it works. If you have any workflow bound to the library then you may have some issues,but works fine if you just want to create a template for document settings, Columns and views.
that helped me, thanks
ReplyDeleteI was trying to copy page libary across and this helped me.
ReplyDeleteHmm ... tried this, but got an "access denied" message. Apparently, even as site owner, I don't have write access to the location in which such a template would be stored?
ReplyDeleteUser should have design rights to save the template in template gallery
Deletetks I used it.
ReplyDeleteThanks!!!
ReplyDeleteIt helped me :)
There are scenarios where you may see a library in a site with the publishing feature enabled.
ReplyDeleteHere you may find that the link to delete the library is missing.
The reason for this is that on creation the library has been set as False for the property AllowDeletion.
It is obviously possible to delete the library completely using PowerShell.
The approach of updating the AllowDeletion property to True and then deleting the library through the browser.
$web = Get-SPWeb http://sp2010/sites/publishing
$list = $web.Lists["Documents"]
$list.AllowDeletion = $True
$list.Update()
And now it’s possible to delete the library through the browser!
By doing the above we also enable the ability to save the library as a template.
How to do by Code(Javascript or pnpjs)?
Deletehelped me.
ReplyDeleteThanks so much !
ReplyDeleteThanks a lot simple and effective, good work done !
ReplyDeleteI am an Admin on that site and using that URL option resulted in my getting the "Access denied; tell us why you need access" page. So I requested access... I received my own access request, granted access to myself, and... nothing changed. All the settings are correctly configured in terms of allowing scripting etc. Publishing is NOT enabled. So why is this option still missing?? So very frustrating.
ReplyDeleteIs it possible to do by code(Javascript or pnpjs)?
ReplyDelete