Create, Deploy and Apply a Site Template/ Site Design to a Modern SharePoint site using PowerShell

Поділитися
Вставка

КОМЕНТАРІ • 25

  • @zachbarnes5214
    @zachbarnes5214 2 роки тому +1

    This is the best video I've found of creating and applying a custom template to modern SharePoint Sites. Thank you!

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      Hey thankyou for the great comment Zach! Happy it helped! :D

  • @jialixx
    @jialixx 2 роки тому +1

    This is a great video to explain how to upload an organization site template. Thank you.

  •  2 роки тому +1

    This video has been a great help to me. It helps me solve an important problem with several clients. Thanks.

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      Hey thanks for the great comment Pedro! Happy that it helped!

  • @stephenjohnmorley
    @stephenjohnmorley 2 роки тому +1

    thank you! very easy and clear steps. straight to the point.
    Is it possible to edit an existing site template or delete it?

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      thanks for the comment Stephen. Yes you can use the following scripts:
      edit an existing site template:
      docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps
      remove a site template:
      docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell

    • @stephenjohnmorley
      @stephenjohnmorley 2 роки тому +1

      @@WeTechCareOfYou excellent, thank you! Do you have any videos on the components / options to add and edit Navigation links? eg on a communication site

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      Sorry Stephen unfortunately I do not have a video for this. However if you wish to update the navlinks on your existing site design, you can use the edit link provided above here:
      docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps
      And when using your json file you can add new links to the site here:
      docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#add-a-navigation-link
      Or remove existing site links here:
      docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#remove-a-navigation-link
      I hope this helps!

    • @M365_Minion
      @M365_Minion 2 роки тому

      @@WeTechCareOfYou Please create a video showing how to do this.

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      @@M365_Minion Hey Martin, thankyou for the comment! Ok I have made a note to make a video on how to delete a site template and edit an existing site template. Unfortunately this will not be published for a couple of weeks!

  • @fangas
    @fangas 2 роки тому +3

    After seeing your video I am stuck on a question, and so I apologize about: If i have already a standard sharepoint site to be used as the default site template, how I can get/extract the script of customization, to upload to Org wide? Hope my question makes sense. Thank you and great video

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      You upload a site template for either a Team site or a Communication site. This should be available org wide when you try to create a new SharePoint site. Have you already uploaded the site template?

    • @fangas
      @fangas 2 роки тому +1

      @@WeTechCareOfYou Hello. My issue is I have a site with libraries to be THE site template. So is there anyway to make that site as the template one? Extract some configuration, or define it for to be the one? Apologies for my questions and thanks again.

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому +1

      @@fangas Hey sorry for the late reply. You can certainly have your site template create multiple new document libraries, however you cannot take an existing site and use as a template, you will have to write the json script to create the site to match what you want. Im sorry I cannot help :(

    • @fangas
      @fangas 2 роки тому +1

      @@WeTechCareOfYou No worries. 😊 I appreciate your time on reply. Thanks again for this video of yours

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      @@fangas Thanks so much Sergio

  • @stephenjohnmorley
    @stephenjohnmorley 2 роки тому +2

    Hi team, is there a way to add web parts / images etc via a powershell JSON script?
    example.. I want to create a template to be available in the 'from your organisation' similar to a default template type (project management template).
    How do I go about creating the webparts and layout etc and then customising them?
    Or is the sitescript only used for the default template types (eg 68) and navlinks / logos etc? and then still manually having to edit the webparts?
    thanks
    Stephen

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      Hey Stephen, thankyou for the comment. This was available with classic SharePoint pages, however unfortunately we cannot achieve this through the method used in my current video. The commands used in my video are just based around the navigation/ site settings and do not interact with the page and its web parts.
      A possible way to automate web parts being added is using PowerShell. You can see in this guide how to add web parts using PowerShell:
      www.sharepointdiary.com/2021/03/add-web-part-to-modern-page-in-sharepoint-online-using-powershell.html
      If you wanted to automate adding these web parts when a new site is created, you could use Azure Functions to execute scripts from the above link.

    • @stephenjohnmorley
      @stephenjohnmorley 2 роки тому

      @@WeTechCareOfYou thank you!

  • @zachwelding4996
    @zachwelding4996 2 роки тому +1

    Is there an easy process to go back and update this design once its published?

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому +1

      Hey Zach, thankyou for your comment. You can update existing site designs with the following scripts:
      docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteDesign?view=sharepoint-ps
      docs.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOSiteScript?view=sharepoint-ps
      Unfortunately we do not yet have a video of this sorry.

  • @nandhuse
    @nandhuse 2 роки тому +1

    Is it possible to apply template to a specific site page

    • @WeTechCareOfYou
      @WeTechCareOfYou  2 роки тому

      Hey Nanda, unfortunately you can only apply changes to site pages with classic SharePoint. This is not currently supported with Modern SharePoint:
      docs.microsoft.com/en-us/sharepoint/dev/general-development/master-pages-the-master-page-gallery-and-page-layouts-in-sharepoint