Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koltyakov/sp-sig-20180705-demo
PnP and SharePoint SIG / July 5th, 2018 / Demo Examples (List Items System Update options in Modern SPO Stack)
https://github.com/koltyakov/sp-sig-20180705-demo
api demo jsom rest sharepoint sig typescript
Last synced: about 2 months ago
JSON representation
PnP and SharePoint SIG / July 5th, 2018 / Demo Examples (List Items System Update options in Modern SPO Stack)
- Host: GitHub
- URL: https://github.com/koltyakov/sp-sig-20180705-demo
- Owner: koltyakov
- Created: 2018-07-05T15:04:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T20:40:32.000Z (about 2 years ago)
- Last Synced: 2024-04-14T23:12:09.856Z (9 months ago)
- Topics: api, demo, jsom, rest, sharepoint, sig, typescript
- Language: TypeScript
- Homepage:
- Size: 181 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.linkedin.com/pulse/list-items-system-update-options-sharepoint-online-andrew-koltyakov/)
## Prerequisites
- Node.js & PowerShell
- SharePoint Online## Restore dependencies
```bash
npm install
```Installs Node.js dependencies and PnP PowerShell (if not installed).
## Connect to SharePoint
```bash
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
```bash
npm run provisioning
```Provisions all the artifacts required for the demo.
## Demos
### JSOM (systemUpdate, updateOverwriteVersion)
```bash
npm run demo:1
```### JSOM (raw XML package, systemUpdate)
```bash
npm run demo:2
```### REST (validateUpdateListItem)
```bash
npm run demo:3
```#### [Field data types fingerprints](./src/03-pnp/FieldTypes.md)
## Reset test data
```bash
npm run reset
```Recreates all existing items in a test list using random users from the site and ramdom dates.