Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.25 KB

README.md

File metadata and controls

68 lines (42 loc) · 1.25 KB

List Items System Update options in Modern SPO Stack

The demo shows capabilities for SharePoint list items System Update using client-side APIs.

Follow-up blog post

Prerequisites

  • Node.js & PowerShell
  • SharePoint Online

Restore dependencies

npm install

Installs Node.js dependencies and PnP PowerShell (if not installed).

Connect to SharePoint

npm run config -- --force

Prompts for SharePoint site url and credentials.

SharePoint online and SAML user credentials should be provided.

Use only test site collection.

Provision demo artifacts

npm run provisioning

Provisions all the artifacts required for the demo.

Demos

JSOM (systemUpdate, updateOverwriteVersion)

npm run demo:1

JSOM (raw XML package, systemUpdate)

npm run demo:2

REST (validateUpdateListItem)

npm run demo:3

Reset test data

npm run reset

Recreates all existing items in a test list using random users from the site and ramdom dates.