Forum Discussion
robert_robert
Mar 04, 2020Brass Contributor
Save list as template missing
Hello guys ,
i am using SPO ,
- created a Team site.
- created list
then i tried to go to list setting to Save List As Template " but i couldn't find the option so i googled and i found that i have to go to sharepoint admin center ... settings ... custom script section then choose allow users to run custom scripts on personal sites ... but the problem is i found it already chosen ... so i did it the powershell way
#Variables for Admin Center & Site Collection URL
#Connect to SharePoint Online
Connect-SPOService -url $AdminCenterURL -Credential (Get-Credential)
#Disable DenyAddAndCustomizePages Flag
Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False
my question now is how do i make it available to all my sharepoint sites ? i don't want to do it manually every time ... ??? does turning the custom scripts off then on solve it ?
- Hi,
If you want to create a list when creating a new site or already created site, you can use Site Scripts & Site Designs. Please go through the below link for better understanding.
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
- You should avoid using the Save as templae list feature...as an alternative, take a look at Site Scripts and Site Designs and PnP Templates
- robert_robertBrass Contributorokay so where do i find those options and why ?
- joun2030Copper Contributor
You can do that through one of the below options:
- Create list from existing list
- Use PnP
- Enable Custom script
Check the details Workarounds to Save list as template in SharePoint Online