Skip to content

Sharepoint create modern page from template via url #10150

Open
@diabhoil

Description

@diabhoil

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

Issue description

Is there a parameter for "/_layouts/15/CreateSitePage.aspx" or "/_layouts/15/CreatePageFromTemplate.aspx" to create the page directly giving the source template?

I do not want the user to chose a template or create the blank page. I have found that we can use for example "/_layouts/15/CreateSitePage.aspx?promotedState=1" to directly create a news page. But can I have something like "Create a news page with this specific template"?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions