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
@@WeTechCareOfYou excellent, thank you! Do you have any videos on the components / options to add and edit Navigation links? eg on a communication site
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 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!
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
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?
@@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.
@@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 :(
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
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.
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.
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
This is the best video I've found of creating and applying a custom template to modern SharePoint Sites. Thank you!
Hey thankyou for the great comment Zach! Happy it helped! :D
This is a great video to explain how to upload an organization site template. Thank you.
Hey thankyou for the great comment!
This video has been a great help to me. It helps me solve an important problem with several clients. Thanks.
Hey thanks for the great comment Pedro! Happy that it helped!
thank you! very easy and clear steps. straight to the point.
Is it possible to edit an existing site template or delete it?
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
@@WeTechCareOfYou excellent, thank you! Do you have any videos on the components / options to add and edit Navigation links? eg on a communication site
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!
@@WeTechCareOfYou Please create a video showing how to do this.
@@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!
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
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?
@@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.
@@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 :(
@@WeTechCareOfYou No worries. 😊 I appreciate your time on reply. Thanks again for this video of yours
@@fangas Thanks so much Sergio
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
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.
@@WeTechCareOfYou thank you!
Is there an easy process to go back and update this design once its published?
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.
Is it possible to apply template to a specific site page
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