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/decl...
- Aug 07, 2023Yeah 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
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
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
OneHundredthProfile
Aug 08, 2023Copper Contributor
Thanks 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?
- Aug 08, 2023
Yeah there's several depending on the API call 🙂
This one should work for your need:
- OneHundredthProfileAug 11, 2023Copper ContributorThank you