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 |
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
-i, --id <id>-n, --name <name>-u, --webUrl <webUrl>--webPartData <webPartData>--webPartProperties <webPartProperties>