Skip to content

New command: update modern page properties #362

@waldekmastykarz

Description

@waldekmastykarz

Update modern page properties

  • command: spo page set -n|--name <name> -u|--webUrl <webUrl> -l|--layoutType [layoutType] -p|--promoteAs [promoteAs] --commentsEnabled --publish --publishMessage [publishMessage]
  • name: name of the page to update
  • webURL: URL of the site where the page to update is located
  • layoutType: layout of the page. Allowed values Article|Home. Default Article
  • promoteAs: set the page for the specific purpose. Allowed values HomePage|NewsPage
  • commentsEnabled: set to enable comments on the page
  • publish: set to publish the page
  • publishMessage: message to set when publishing the page.

For more information see the Set-PnPClientSidePage cmdlet.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions