Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1.6 KB

README.md

File metadata and controls

22 lines (17 loc) · 1.6 KB

UPDATE FIELDS IN SHAREPOINT USING MICROSOFT GRAPH

This is a repo for democode of how to update different field valies in SharePoint using Microsoft Graph.

How to run the example

  1. Clone the repository to your computer
  2. In your CLI navigate inside the update-fields-app folder
  3. Run 'npm install'
  4. Update the msal config with your appId and tenantID.
  5. Update the graph url in the uploadingDocWithGraph.js file.
  6. Run 'npm run dev'

For more information about the code take a look at my blogposts:

Upload files to SharePoint with JavaScript using Microsoft Graph and Microsoft Authentication Library This blogpost describes the code related to authentication and uploading the file. It also shows you how to register your app and obtain your site-id - which you need to run the code.

How to update field values in SharePoint using Microsoft Graph. This blogpost describes how to update different field values in SharePoint using JavaScript and Microsoft Graph

Related repositories: Upload file to SharePoint using Microsoft Graph and Microsoft Authentication Library