Skip to content

New command: m365 spo page control set - to allow webpart updates #1934

@estruyf

Description

@estruyf

Usage

m365 spo page control set --webUrl <siteUrl> --name <name> --id <control id> --webPartData '{}'

m365 spo page control set --webUrl <siteUrl> --name <name> --id <control id> --webPartProperties '{}'

Description

Allows you to set or update control webpart data or properties on a modern page.

Options

Option Description
-i, --id <id> ID of the control to set new properties for
-n, --name <name> Name of the page where the control is located
-u, --webUrl <webUrl> URL of the site where the page to retrieve is located
--webPartData <webPartData> JSON string with web part data as retrieved from the web part maintenance mode. Specify webPartProperties or webPartData but not both
--webPartProperties <webPartProperties> JSON string with web part data as retrieved from the web part maintenance mode. Specify webPartProperties or webPartData but not both

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions