Skip to content

SharePoint Online - Provisioning Pages using Site Templates and Site Scripts #9040

@akshataggrwal

Description

@akshataggrwal

Discussed in #9032

Originally posted by akshataggrwal June 22, 2023
I want to create pages in the "Site Pages" library within a SharePoint Online site using site templates. After reviewing the official documentation available at (https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema), I have been unable to locate any documented actions specifically related to creating pages in a "Site Pages" library.


However, I have observed that when applying the out-of-the-box site templates provided by Microsoft(reference image below), certain pages are automatically provisioned in the "Site Pages" library, and one of these pages is set as the site's home page.


I would like to understand potential approaches to achieve this and/or would like to understand how it is handled in OOB templates by Microsoft.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions