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: spo list defaultcolumnvalue remove #6504

Open
milanholemans opened this issue Nov 25, 2024 · 0 comments
Open

New command: spo list defaultcolumnvalue remove #6504

milanholemans opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
needs peer review Needs second pair of eyes to review the spec or PR new feature

Comments

@milanholemans
Copy link
Contributor

milanholemans commented Nov 25, 2024

Usage

m365 spo list defaultcolumnvalue remove [options]

Description

Removes a specific default column value for a specific document library

Options

Option Description
-u, --webUrl <webUrl> URL of the site where the list is located.
-i, --listId [listId] ID of the list. Specify either listTitle, listId, or listUrl.
-t, --listTitle [listTitle] Title of the list. Specify either listTitle, listId, or listUrl.
--listUrl [listUrl] Server- or site-relative URL of the list. Specify either listTitle, listId, or listUrl.
--field <field> Internal name of the field.
--folderUrl [folderUrl] Remove the value on a specific folder. By default, the root folder of the list is used.
-f, --force Don't prompt for confirmation.

Examples

Remove a column default value from the root of the list

m365 spo list defaultcolumnvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --field Company

Remove a column default value from a specific folder

m365 spo list defaultcolumnvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl '/Logos' --field Company --folderUrl '/Logos/Branding'

Remove a column default value from a specific folder by server relative URL

m365 spo list defaultcolumnvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl '/sites/Marketing/Logos' --field Company --folderUrl '/sites/Marketing/Logos/Branding'

Default properties

No response

Additional Info

No response

@milanholemans milanholemans added new feature needs peer review Needs second pair of eyes to review the spec or PR labels Nov 25, 2024
@milanholemans milanholemans self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs peer review Needs second pair of eyes to review the spec or PR new feature
Projects
None yet
Development

No branches or pull requests

1 participant