Forum Discussion

YKSiddal's avatar
YKSiddal
Copper Contributor
Jul 17, 2020
Solved

Create multiple site collection using site design and site scripts

Hello Team i have basic knowledge of site design and site scripts . first i want to create site design with below Pre configuration  1. Team site connected O365 group 2. document library with few...
  • jcgonzalezmartin's avatar
    Jul 17, 2020
    Firsts thing you have to check is what you can do / cannot do with Site Designs:
    - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
    - https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema (Here you have what you can do with Site Scripts and Site Designs)
    With the previous info in mind:
    1. The site is something you have to create out of the site design just manually from the Admin Center, the SPO Landing page or automatically by means of PowerShell
    2. You can include a document library in your site design, so when it gets applied to your site the document library is created. However, you cannot create a document library with a folders structure by using a Site Design unless something else do it for you, such as Flow that is triggered when the Site Design is applied
    3. You cannot set retention policies with Site Designs
    4. You can add owners and members with a Site Design

    Looking at your requirements, I would advise to take a look at PnP templates as an alternative to Site Designs

Resources