Replies: 2 comments 3 replies
-
@erwinvanhunen, please do needful here or contact me to someone who can help me here. |
Beta Was this translation helpful? Give feedback.
-
You're using the wrong cmdlet to achieve that goal. You first should create a JSON schema. Documentation on this here: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema . You could use Get-PnPSiteScriptFromWeb or Get-PnPSiteScriptFromList to generate the JSON from an existing site or web. Then you need to use Add-PnPSiteScript to register this script followed by Add-PnPSiteDesign to create a site design out of the script. I've added a new cmdlet Add-PnPSiteDesignFromWeb through PR #1201 which will do all these steps in one cmdlet. |
Beta Was this translation helpful? Give feedback.
-
I want to execute Add-PnPSiteTemplate command but am not sure with property 'SiteTemplate' and 'TenantTemplate'. Which values are to be passed as parameters.
Please assist how to execute this command successfully.
My requirement is : add Site Template to template 'from your Organization' section of SharePoint site.
Appreciate for help and guidance in advance. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions