SOLVED

Save list as template missing

%3CLINGO-SUB%20id%3D%22lingo-sub-1208964%22%20slang%3D%22en-US%22%3ESave%20list%20as%20template%20missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1208964%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20guys%20%2C%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20am%20using%20SPO%20%2C%3C%2FP%3E%3CUL%3E%3CLI%3Ecreated%20a%20Team%20site.%3C%2FLI%3E%3CLI%3Ecreated%20list%3C%2FLI%3E%3C%2FUL%3E%3CP%3Ethen%20i%20tried%20to%20go%20to%20list%20setting%20to%26nbsp%3B%3CSTRONG%3ESave%20List%20As%20Template%20%22%26nbsp%3B%3C%2FSTRONG%3E%20but%20i%20couldn't%20find%20the%20option%20so%20i%20googled%20and%20i%20found%20that%20i%20have%20to%20go%20to%20sharepoint%20admin%20center%20...%20settings%20...%20custom%20script%20section%20then%20choose%20allow%20users%20to%20run%20custom%20scripts%20on%20personal%20sites%20...%20but%20the%20problem%20is%20i%20found%20it%20already%20chosen%20...%20so%20i%20did%20it%20the%20powershell%20way%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22line%20number1%20index0%20alt2%22%3E%23Variables%20for%20Admin%20Center%20%26amp%3B%20Site%20Collection%20URL%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number2%20index1%20alt1%22%3E%24AdminCenterURL%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3D%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%22%3CA%20href%3D%22https%3A%2F%2Fcrescent-admin.sharepoint.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcrescent-admin.sharepoint.com%2F%3C%2FA%3E%22%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number3%20index2%20alt2%22%3E%24SiteURL%3D%22%3CA%20href%3D%22https%3A%2F%2Fcrescent.sharepoint.com%2FSites%2Fmarketing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcrescent.sharepoint.com%2FSites%2Fmarketing%3C%2FA%3E%22%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number4%20index3%20alt1%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number5%20index4%20alt2%22%3E%23Connect%20to%20SharePoint%20Online%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number6%20index5%20alt1%22%3EConnect-SPOService%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-url%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%24AdminCenterURL%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-Credential%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(Get-Credential)%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number7%20index6%20alt2%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number8%20index7%20alt1%22%3E%23Disable%20DenyAddAndCustomizePages%20Flag%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number9%20index8%20alt2%22%3ESet-SPOSite%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%24SiteURL%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E-DenyAddAndCustomizePages%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%24False%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number9%20index8%20alt2%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number9%20index8%20alt2%22%3E%26nbsp%3Bmy%20question%20now%20is%20how%20do%20i%20make%20it%20available%20to%20all%20my%20sharepoint%20sites%20%3F%20i%20don't%20want%20to%20do%20it%20manually%20every%20time%20...%20%3F%3F%3F%20does%20turning%20the%20custom%20scripts%20off%20then%20on%20solve%20it%20%3F%3C%2FDIV%3E%3CDIV%20class%3D%22line%20number9%20index8%20alt2%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1208964%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209012%22%20slang%3D%22en-US%22%3ERe%3A%20Save%20list%20as%20template%20missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209012%22%20slang%3D%22en-US%22%3EYou%20should%20avoid%20using%20the%20Save%20as%20templae%20list%20feature...as%20an%20alternative%2C%20take%20a%20look%20at%20Site%20Scripts%20and%20Site%20Designs%20and%20PnP%20Templates%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1209055%22%20slang%3D%22en-US%22%3ERe%3A%20Save%20list%20as%20template%20missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1209055%22%20slang%3D%22en-US%22%3Eokay%20so%20where%20do%20i%20find%20those%20options%20and%20why%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1210605%22%20slang%3D%22en-US%22%3ERe%3A%20Save%20list%20as%20template%20missing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1210605%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EIf%20you%20want%20to%20create%20a%20list%20when%20creating%20a%20new%20site%20or%20already%20created%20site%2C%20you%20can%20use%20Site%20Scripts%20%26amp%3B%20Site%20Designs.%20Please%20go%20through%20the%20below%20link%20for%20better%20understanding.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

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 ?
 
3 Replies
Highlighted
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
Highlighted
okay so where do i find those options and why ?
Highlighted
Best Response confirmed by robert_robert (Contributor)
Solution
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