Usage
m365 spo list defaultvalue 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. |
--fieldName <fieldName> |
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 defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle Logos --fieldName Company
Remove a column default value from a specific folder
m365 spo list defaultvalue remove --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl '/Logos' --fieldName Company --folderUrl '/Logos/Branding'
Remove a column default value from a specific folder by server relative URL
m365 spo list defaultvalue 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
Usage
m365 spo list defaultvalue remove [options]
Description
Removes a specific default column value for a specific document library
Options
-u, --webUrl <webUrl>-i, --listId [listId]listTitle,listId, orlistUrl.-t, --listTitle [listTitle]listTitle,listId, orlistUrl.--listUrl [listUrl]listTitle,listId, orlistUrl.--fieldName <fieldName>--folderUrl [folderUrl]-f, --forceExamples
Remove a column default value from the root of the list
Remove a column default value from a specific folder
Remove a column default value from a specific folder by server relative URL
Default properties
No response
Additional Info
No response