Skip to content

New command: update list item #271

@waldekmastykarz

Description

@waldekmastykarz

Update the specified list item

  • command: spo listitem set -w|--webUrl <webUrl> -l|--listId [listId] --listTitle [listTitle] -i|--id <id> -c|--contentType [contentType] --systemUpdate ...
  • webUrl: The URL of the site where the list from which to retrieve items is located
  • listId: The ID of the list from which to retrieve items
  • listTitle: The title of the list from which to retrieve items
  • contentType: The name or the ID of the content type to associate with the new item
  • systemUpdate: Update the item without updating the modified and modified by fields
  • ...: this command should allow using unknown properties. Each property corresponds to the list item field that should be set when updating the item. Standard properties such as webUrl, listId, listTitle, option, verbose and debug should be excluded from the SharePoint request
  • either listId or listTitle must be specified to retrieve the list, but not both
  • requires connection to a SharePoint site

For more information see the Set-PnPListItem cmdlet

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions