This repository provides a complete example of how to integrate the Syncfusion React Scheduler component into a SharePoint Framework (SPFx) web part using the modern Heft-based build toolchain introduced in SPFx v1.22+. SharePoint Framework enables fully client‑side solutions that run seamlessly within SharePoint Online pages.
- Use Node Version >= 22 (supported by SPFx 1.22)
- A valid Microsoft 365 tenant
-
Clone the repository to your local machine and navigate to the project folder.
git clone https://github.com/SyncfusionExamples/How-to-integrate-Syncfusion-React-Scheduler-with-Sharepoint.git cd How-to-integrate-Syncfusion-React-Scheduler-with-Sharepoint -
Install project dependencies:
npm install
-
Update Tenant Domain in
config/serve.json:"initialPage": "https://<your-tenant>.sharepoint.com/_layouts/15/workbench.aspx"
Note: Replace
<your-tenant>with your actual SharePoint Online tenant name. -
Trust the SPFx Dev Certificate:
heft trust-dev-cert
Or simply trust when prompted during first run.
-
Start the application:
heft start
-
Allow debug scripts?
From the browser opened in the step 5, Allow debug scripts by clickingLoad debug scripts. -
Viewing Syncfusion Schedule Component
- Click the + (Add a web part in column one) icon in the browser window (SharePoint).
- Select 'App' from the options shown.
- Finally, you can see the Syncfusion React Scheduler rendered in SharePoint.
npm run buildThe package will be created at: sharepoint/solution/<project-name>.sppkg
Syncfusion React Scheduler
Image illustrating the Syncfusion React Scheduler in SharePoint
