SOLVED
Home

Apply site script to existing site?

%3CLINGO-SUB%20id%3D%22lingo-sub-182540%22%20slang%3D%22en-US%22%3EApply%20site%20script%20to%20existing%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182540%22%20slang%3D%22en-US%22%3E%3CP%3EPerhaps%20I%20am%20just%20missing%20something%20obvious%20but%20how%20can%20site%20scripts%20(newly%20emerging%20SharePoint%20site-template%20system)%20be%20applied%20to%20an%20existing%20site%3F%26nbsp%3B%20None%20of%20the%20Microsoft%20help%20pages%2Fguides%20seem%20to%20demonstrate%20that%2C%20though%20at%20least%20one%20says%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%22%3CSPAN%3ESite%20designs%20are%20like%20a%20template.%20They%20can%20be%20used%20each%20time%20a%20new%20site%20is%20created%20to%20apply%20a%20consistent%20set%20of%20actions.%20They%20can%20also%20be%20applied%20to%20existing%20modern%20sites%20(Group-connected%20Team%20and%20Communication).%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFrom%3A%26nbsp%3B%3CA%20title%3D%22SharePoint%20site%20design%20and%20site%20script%20overview%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%23how-site-designs-work%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EHow%20site%20designs%20work%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-182540%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EModern%20Teamsites%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESite%20Scripts%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-182569%22%20slang%3D%22en-US%22%3ERe%3A%20Apply%20site%20script%20to%20existing%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182569%22%20slang%3D%22en-US%22%3E%3CP%3EThanks!%20Exactly%20what%20I%20needed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-182567%22%20slang%3D%22en-US%22%3ERe%3A%20Apply%20site%20script%20to%20existing%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-182567%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CSPAN%3EPlease%20refer%20blog%20post%20below%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CA%20href%3D%22http%3A%2F%2Fdevjhorst.blogspot.com%2F2018%2F03%2Fsharepoint-site-design-and-site-script.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fdevjhorst.blogspot.com%2F2018%2F03%2Fsharepoint-site-design-and-site-script.html%3C%2FA%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3ERunning%20a%20site%20design%20on%20an%20existing%20SharePoint%20site%20processes%20delta%20changes.%20This%20means%20that%20either%20changes%20apply%20to%20the%20site%20without%20corrupting%20existing%20data%20or%20that%20a%20full%20provision%20occurs.%20Of%20course%2C%20the%20full%20provision%20will%20occur%20if%20the%20provisioned%20data%20hasn't%20been%20available%20in%20the%20site%20before.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EThis%20can%20only%20be%20done%20programmatically%20since%20there%20is%20no%20UI%20support%20yet.%20The%20PowerShell%20script%20below%20demonstrates%20to%20you%20how%20to%20run%20the%20site%20design%20on%20an%20existing%20site.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2FJarbasHorst%2Fb053d14374eaadd5b21ad92b0c3cb21e%23file-applysitedesign-txt%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2FJarbasHorst%2Fb053d14374eaadd5b21ad92b0c3cb21e%23file-applysitedesign-txt%3C%2FA%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
Myles Gallagher
Contributor

Perhaps I am just missing something obvious but how can site scripts (newly emerging SharePoint site-template system) be applied to an existing site?  None of the Microsoft help pages/guides seem to demonstrate that, though at least one says:

"Site designs are like a template. They can be used each time a new site is created to apply a consistent set of actions. They can also be applied to existing modern sites (Group-connected Team and Communication)."

From: How site designs work

 

 

2 Replies
Solution
Please refer blog post below
 
Running a site design on an existing SharePoint site processes delta changes. This means that either changes apply to the site without corrupting existing data or that a full provision occurs. Of course, the full provision will occur if the provisioned data hasn't been available in the site before.
 
This can only be done programmatically since there is no UI support yet. The PowerShell script below demonstrates to you how to run the site design on an existing site.

Thanks! Exactly what I needed.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies