Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
estruyf opened this issue Nov 6, 2020 · 0 comments
Closed

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

estruyf opened this issue Nov 6, 2020 · 0 comments

Comments

@estruyf
Copy link
Member

estruyf commented Nov 6, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants