Forum Discussion

RamBhajan's avatar
RamBhajan
Copper Contributor
May 26, 2023
Solved

few queries regarding Site Script and Site template

Hello All,   I have visited few relevant forums to check the latest updates on few queries (mentioned below) but all were old posts.   I have requirements to provide site template to end users so...
  • ganeshsanap's avatar
    May 26, 2023

    RamBhajan 

    1. You can create SP lists with site script but cannot move data with it.
    2. Configuring web parts on sites page still not possible using site scripts
    3. If you are creating a new site using PnP PowerShell or CLI for Microsoft 365, you can apply site design/template while creating a new site itself. If you want to apply site template via SharePoint UI, you will have to first create a site and then apply custom site template.

    Check JSON schema for currently available actions and verbs using site scripts: Site template JSON schema 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources