Forum Discussion
OneHundredthProfile
Aug 07, 2023Copper Contributor
SharePoint site templates including webpart layout
Is there a way to include webparts and layouts, the whole home.aspx page as a part of the site template?
I didn't see anything like this in
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema
- Yeah Make use of triggering Power Automate and have a flow that uses the Graph Pages API to apply 🙂
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial
https://learn.microsoft.com/en-us/graph/api/sitepage-create?view=graph-rest-beta&tabs=http
4 Replies
- Yeah Make use of triggering Power Automate and have a flow that uses the Graph Pages API to apply 🙂
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-trigger-flow-tutorial
https://learn.microsoft.com/en-us/graph/api/sitepage-create?view=graph-rest-beta&tabs=http- OneHundredthProfileCopper ContributorThanks NicolasKheirallah. And I can use GraphAPI directly in the flow, right? I don't need to wrap it up in Azure Function or Logic App?
Yeah there's several depending on the API call 🙂
This one should work for your need: