Skip to content

Latest commit

 

History

History
executable file
·
41 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

executable file
·
41 lines (36 loc) · 1.12 KB

How to run this project:

  1. Transpile the source package sdk-pnptimeline
cd sdk-pnptimeline
npm install
npm build
  1. Create a new AAD App Registration, note the ID of the application.
  2. Replace the clientId in auth.ts file.
export const msalParams: Configuration = {
   auth: {
       authority: "https://login.microsoftonline.com/common",
       clientId: "<Your Client Id>",
       redirectUri: window.location.origin
   },
   cache: { cacheLocation: BrowserCacheLocation.LocalStorage }
}
  1. Install the required dependencies
npm install --save
  1. Run the application
npm run start
  1. Building this project. Change script.start field in package.json as required.
npm run build

👉 Live Demo

Personal Onedrive picker: img_2

Sharepoint Onedrive picker: img_1