Тёмный
No video :(

⚙️How to create custom site templates in SharePoint 

Giuliano De Luca
Подписаться 10 тыс.
Просмотров 33 тыс.
50% 1

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@DeLucaGiulian
@DeLucaGiulian 2 года назад
What do you think about these tips? Here's a playlist with all my Microsoft SharePoint videos ru-vid.com/group/PLRKPRVekwUn-3UEGYv99TbO6IBE0F1gL5
@jshbrwn
@jshbrwn 2 года назад
Unbelievably awful user experience from Microsoft...this should not be this hard.
@karlstenator
@karlstenator 2 года назад
Yah, for what should really be an out of the box feature - Microsoft have absolutely left SharePoint Administrators high and dry with Site Template and View Template creation.
@tomg4592
@tomg4592 Год назад
I totally agree. I have been using the "save site as template" for years in older versions of SharePoint now that feature is basically gone. Totally ridiculous. Microsoft being Microsoft. I hate Microsoft. It makes me sad that I make my living using their software.
@pmd7530
@pmd7530 6 месяцев назад
@@tomg4592I agree. They keep pushing out new stuff without addressing the core issue. And who else can get away with using paying customers for UAT? 😔
@M365_Minion
@M365_Minion 2 года назад
This is an amazing overview of how to do this and the resources are so useful.
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Thanks Martin for your kind words 🙏
@twangt
@twangt 2 года назад
Finally someone who made a guide about this! Just one question: In the "Update Home Page" step in Power Automate, where does the code in the Body generates from? Keep up the good work! :)
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Thanks 🙏 Alexander
@pmd7530
@pmd7530 2 года назад
Awesome Giuliano! Another great video .
@brandonteeling3037
@brandonteeling3037 2 года назад
This video got me going in the right direction, however I’m struggling to figure out how to create a site template which sets up just the layout of the home page. I saw your site script does this and I’m wondering how you accomplished it or created the JSON for that layout. I saw at 1:25 you had a template which triggers a “record site creation event”. Does this accomplish this or does such a thing exist? Thanks for any additional help you can provide!
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi Brandon, what really create the page with the layout and the structure is the Power Automate flow, you can import my sample that you can find here: github.com/giuleon/CustomSiteTemplates
@KiranKumarTalikoti
@KiranKumarTalikoti Год назад
Awesome, thanks for sharing 👍 ❤
@DeLucaGiulian
@DeLucaGiulian Год назад
Thanks for watching 😉 🙏
@VindhyaRao-gd1bz
@VindhyaRao-gd1bz 2 месяца назад
the site script was got from the powershell command and wasnt coded by you ?
@esoliveira90
@esoliveira90 Год назад
Very good video! I just have a question. How to create a custom template site, with a different design from the standard Communication Site and Team Site. For example, how to best design a Communication (Custom Template) site that has a right side section, similar to the Human Resources template? It's possible? Or every time we create a custom template with WebTemplate = "68", SharePoint, for example, generates a Communication Site with that huge Hero web part?
@VindhyaRao-gd1bz
@VindhyaRao-gd1bz 2 месяца назад
Heyy Giuliano I wanted to know how you got the JSON Script of the customised site Can we get the same with the following command : Get-PnPSiteScriptFromWeb -Url -IncludeAll If not then how can I get it cause I do not have the permissions for the Sharepoint APIs so creating the power automate flow is not an option
@DeLucaGiulian
@DeLucaGiulian 2 месяца назад
Hi, You can try, important is that you get the JSON structure that you see in content in the link below: learn.microsoft.com/en-us/powershell/module/sharepoint-online/get-spositescript?view=sharepoint-ps
@VindhyaRao-gd1bz
@VindhyaRao-gd1bz 2 месяца назад
@@DeLucaGiulian Thank you so much, So the site script was got from the powershell command and wasnt coded by you ?
@younesveisi
@younesveisi 7 месяцев назад
Hello, can you give me some advice on how to create flow and how can I create and add the site I want?
@DeLucaGiulian
@DeLucaGiulian 7 месяцев назад
Hi, maybe this video can help you: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kQqb_i-Vgew.html
@edinaldooliveira1144
@edinaldooliveira1144 10 месяцев назад
How do I remove the added template from my organization?
@DeLucaGiulian
@DeLucaGiulian 10 месяцев назад
Hi, Thanks for your question. You must run the opposite PowerShell commands Remove-SPOSiteDesign, Remove-SPOSiteScript learn.microsoft.com/en-us/powershell/module/sharepoint-online/remove-spositedesign?view=sharepoint-ps
@PitsiNgoetjana
@PitsiNgoetjana Год назад
Great content
@DeLucaGiulian
@DeLucaGiulian Год назад
Thanks 😉
@abyal3kod201
@abyal3kod201 11 месяцев назад
Hi Giuliano, What if I want to create a List from a "Template from your oganization" option? How can I do that? How can I add the List template to be selected from that screen?
@DeLucaGiulian
@DeLucaGiulian 11 месяцев назад
Hi, Check this other video out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N0d1DEIMYGM.html
@VindhyaRao-gd1bz
@VindhyaRao-gd1bz 2 месяца назад
I do not know how to write the site script of the customised sharepoint site so how do I get the site script of the customised sharepoint site
@DeLucaGiulian
@DeLucaGiulian 2 месяца назад
Hi Using PowerShell you have to extract the Site Script content that you can then reuse for another site
@fangas
@fangas 2 года назад
Hello Giuliano. 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 as always
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi Sergio thank you for watching. Once you created with PowerShell the site template then you can use a Logic App that runs when a user select the site template and create all pages needed
@kevincassidy1658
@kevincassidy1658 Год назад
Who connection does the powerautomaet flow run under? Since "When a HTTP request is received" is a premium trigger, wouldnt everyone in the tenant need a premium license?
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi Kevin, As you mentioned the Http is a premium connector for this reason it would be better to use a Logic App and pay only for actual consumption
@pietrog6619
@pietrog6619 2 года назад
Hi, does is possibile to automate the process to apply a custom template to a new site? I would like to automatically create a new sub site and auto apply the custom template. Thanks
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi Pietro, Thank you for your question, I suggest you to use a modern approach working with communication sites connected to an Hub Site. Classic sun sites is the old way to have sites connected to the parent, in any case going to your question yes this approach works in your scenario.
@edinaldooliveira1144
@edinaldooliveira1144 10 месяцев назад
Hi! the solution worked, however, I can't do webpart optimizations (create a template with several webparts), like with Microsoft templates... is it possible?
@DeLucaGiulian
@DeLucaGiulian 9 месяцев назад
Hi, Yes this is possible, you can create your custom template with your web parts inside the page.
@edinaldooliveira1144
@edinaldooliveira1144 9 месяцев назад
@@DeLucaGiulian Hello! In this case, do I create my entire website (with webparts) and use it as a template? Generating script? Do you have a video demonstrating how to do it? Thanks!
@Ramjanaki1
@Ramjanaki1 2 года назад
Hello Giuliano, Thanks for the video. It is really super. Is it possible to make header and footer in site templates?
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi Kumar, Thanks for watching, check out here what you can do docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema
@user-eg2hl1bs4w
@user-eg2hl1bs4w 10 месяцев назад
Hi Giuliano, Thanks for an amazing video on custom site templates, I have a query here, how does the Power Automate Workflow know the Site URL (Web URL) of the site for which I am applying the template. I see from your Github code, you are just passing 2 parameters to the flow while invoking it (event, product), where do the rest of the inputs of that flow come from? (webUrl, webDescription, creatorName, Email, TimeUTC)? Could you please explain on a comment? Thanks in advance.
@DeLucaGiulian
@DeLucaGiulian 10 месяцев назад
Hi, Thanks for watching. If you want to get the URL of the SharePoint site that is invoking your Logic App you need to use webUrl which comes directly from the SharePoint call along with webDescription, creatorName, Email, TimeUTC. Hope this help.
@user-eg2hl1bs4w
@user-eg2hl1bs4w 10 месяцев назад
Hi @@DeLucaGiulian, Thank you for your response. I have not used logic apps, I have configured the WF as when an HTTP request is received trigger as shown in your video. In that case, how do I pass the web URL and other details from the JSON script which triggers the flow?
@DeLucaGiulian
@DeLucaGiulian 10 месяцев назад
Hi, Parameters are sent automatically from SharePoint, you have to parse those properties mentioned, here the JSON schema: { "properties": { "createdTimeUTC": { "type": "string" }, "creatorEmail": { "type": "string" }, "creatorName": { "type": "string" }, "parameters": { "properties": { "event": { "type": "string" }, "template": { "type": "string" } }, "type": "object" }, "webDescription": { "type": "string" }, "webUrl": { "type": "string" } }, "type": "object" }
@sridevi9077
@sridevi9077 2 года назад
Hi, Thanks for the video. It is really awesome and complete guide to create Site Template. I just have a question. Is that possible to create the Site template completely using JSON?
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi, Thanks for watching, yes you can define the template in your JSON
@sridevi9077
@sridevi9077 2 года назад
@@DeLucaGiulian That's great! I am trying to create a Custom site template using JSON alone. I have to add few web parts as a part of template like Quick link, Hero, People, Recent documents etc.. Do we have JSON for Web parts also. Could you please help me..
@Patrick-yh3oi
@Patrick-yh3oi 2 года назад
Great stuff. What was the fix you applied to the url? I can't get Add-SPOSiteScript to work. Error says triggeflow is invalid...url has invalid value. I noticed you truncated the url. How did you find the correct value?
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi, Thanks Patrick, please check if the verb is correct "triggerFlow" and you can copy the right URL going in the Logic App or Power Automate flow this one must be an http trigger, when you open it in the first block you can copy the URL and paste it in you PowerShell command Add-SPOSiteScript
@imprisonedthoughts
@imprisonedthoughts Год назад
I have created a department site and already associated it with the hub, do I need to disconnect them before following this video and do this process twice with each site separately to create two templates (one for departments and another for the home page).
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi, You can keep them as is and run the script twice.
@navasshereef2415
@navasshereef2415 2 года назад
Great content. Can you please tell how you generate the canvascontent1? It would help many users
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Thanks for watching and for your feedback, in order to read the field CanvasContent1 you can use in Power Automate the action "Send an HTTP request to SharePoint" add the site that you want to target and include in the URI something like this: _api/sitepages/pages/GetByUrl('SitePages/Home.aspx') The result will give you the content of the field CanvasContent1. Normally I edit the page manually and when I'm ready, I run the flow in Power Automate to check the content of CanvasContent1.
@navasshereef2415
@navasshereef2415 2 года назад
@@DeLucaGiulian thanks for the information. It is very useful
@bynumhoekstra
@bynumhoekstra Год назад
@@DeLucaGiulian This is super helpful, thank you! I'm curious how you go about "escaping" the json in CanvasContent1 so that it has all of the \ characters.
@JS-fd6ww
@JS-fd6ww Год назад
Is it possible to make changes to the custom site in share point, that are then saved in the custom site? So then I can use the modified version as a custom template in the next project?
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi, Yes, you can make changes to your site and then extract what you can. Finally build your custom site templates with all the changes that you made.
@nabilshaikh290
@nabilshaikh290 Год назад
Could you please let me know if we can do this without powerautomate do we have any link for htat ?
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi, Yes you can avoid power automate if you want but it is more limited, check this link out learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
@nabilshaikh290
@nabilshaikh290 Год назад
@@DeLucaGiulian Sure I have tried this already but it seems like only the color are getting copied not the whole template any idea ? :(
@DeLucaGiulian
@DeLucaGiulian Год назад
As I said without Power Automate is limited, these are the things that you can do: Creating a new list or library (or modifying the default one created with the site) Creating site columns, content types, and configuring other list settings Set site branding properties like navigation layout, header layout and header background Applying a theme** Setting a site logo Adding links to quick launch or hub navigation** Triggering a Power Automate flow Installing a deployed solution from the app catalog Setting regional settings for the site** Adding principals (users and groups) to SharePoint roles** Setting external sharing capability for the site**
@ak9324
@ak9324 2 года назад
Hi. Is it possible to create a template from a communication site on one tenant and apply it as a communication / home site on another tenant? For instance, I might want to create a set Home site on one tenant and replicate that on multiple tenants for multiple viva connection deployments?
@DeLucaGiulian
@DeLucaGiulian 2 года назад
Hi, Yes this is possible and it's also the purpose of site templates
@timg7317
@timg7317 Год назад
There should really have been an option to create a site which contains most of the things a department might need and than MAKE TEMPLATE. 😁
@kam5333
@kam5333 Год назад
Any thoughts on how we can add things such as Quicklinks web part that we want on all sites?
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi, Thanks for watching. First of all, you have to place all web parts that you want to provision on every site. In the video I showed using Power Automate how to get a property named "CanvasContent1", this property contains everything you see on the page. It's just a matter of creating new pages adding the property CanvasContent1.
@kam5333
@kam5333 Год назад
@@DeLucaGiulian Thanks for the reply. Would it be possible to dynamically fill in data to web parts such as "People" and add the user who requested the new site? Or add group calendar and pair it with the newly created Team?
@DeLucaGiulian
@DeLucaGiulian Год назад
Yes this is feasible adding all this info in the Canvascontent1 property
@kam5333
@kam5333 Год назад
@@DeLucaGiulian Got everything working perfectly. Question, I looked at the MS documentation, couldn't find a way to add a choice column though. Any thoughts? Perhaps I should do it using HTTP request in a different Action?
@DeLucaGiulian
@DeLucaGiulian Год назад
That's great! Choice fields are not supported with site tamplates as you mentioned you should use the SharePoint rest api to achieve this goal. There are many samples online, you can check this one: www.alanps1.io/power-platform/flow/flow-create-sharepoint-list-choice-fields-using-rest-api-with-power-automate/
@user-rx3lj8yy5u
@user-rx3lj8yy5u Год назад
answers to the following questions 1.)Can multiple document libraries be included in a site template 2.)Can multiple site pages be included in a site template 3.)Can custom folder structures in a documents library be incorporated into a site template 4.)Can custom permissions settings be incorporated as part of a site template 5.)Can custom site templates be applied to Team sites (SharePoint sites connected to Microsoft Teams)
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi, 1- yes 2- yes 3-4- your custom site template can call your Power Automate flow that will run in order to add the folders that you want, you can use this approach to add pages, lists, doc libraries and even change permission 5- Yes this is also possible
@darkspeed62
@darkspeed62 Год назад
This video is SO NOT helpful at all. All you did was show us a pre-made script and how to set it up and run it. What if we want to create a template from scratch? Is there a web builder with a GUI, or do you code it all out manually? That's what I wanted to know.
@DeLucaGiulian
@DeLucaGiulian Год назад
Hi Freddie, Thanks for watching there is no GUI that help you to build your custom template, however you can follow this documentation to understand how to build your JSON: learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview This link is also in the description of my video
Далее
🕶 How to create a custom modern Theme in SharePoint
10:22
Почему-то хочется плакать
00:17
Просмотров 500 тыс.
Moto Trial vs Moto acrobática 🏁
00:29
Просмотров 2,3 млн
How to Create a SharePoint Site for Projects (2024)
18:00
How To Save SharePoint Online Site As Template
10:27
Просмотров 18 тыс.
3 ways to create page templates in SharePoint Online
8:14
Почему-то хочется плакать
00:17
Просмотров 500 тыс.