- Home
- Forum
- Angular - EJ 2
- How to bind Microsoft Graph Events to Scheduler?
How to bind Microsoft Graph Events to Scheduler?
|
public onDataBound(): void {
if (this.flag) {
let events = [];
for (let i = 0; i < this.data.length; i++) {
let data = {
Subject: this.data[i].subject,
StartTime: this.data[i].start.dateTime,
EndTime: this.data[i].end.dateTime,
RecurrenceRule: undefined
};
if (!isNullOrUndefined(this.data[i].recurrence)) {
data.RecurrenceRule =
"FREQ=" +
this.data[i].recurrence.pattern.type +
";BYDAY=" +
this.data[i].recurrence.pattern.daysOfWeek[0] +
";INTERVAL=" +
this.data[i].recurrence.pattern.interval;
}
events.push(data);
}
this.scheduleObj.eventSettings.dataSource = events;
this.flag = false;
}
} |
The present and future of software development is based on cloud computing.Microsoft Graph is a platform for integrating different applications and services with Microsoft’s cloud services, such as Azure Active Directory (AD), by providing access to the data in them. For example, we can easily create, read, update, and delete (CRUD) an Office 365 Calendar event through its APIs.
This explains the steps to access calendar events in Office 365 Outlook, display them in Syncfusion Blazor Scheduler using Microsoft Graph APIs and Azure AD programmatically, and then perform CRUD operations in the Scheduler.
Before getting started, make sure you have an Azure AD tenant account. If not, create an Azure AD tenant by joining the Microsoft 365 Developer Program or creating a free Azure trial account.
Follow this steps-
- Configure your Blazor application
- Configure Azure AD services
- Communicate with Azure AD resources
- Get and list events from Office 365 Outlook
- Integrate Syncfusion Blazor Scheduler with your application
- Perform CRUD operations in Office 365 Outlook calendar events
Hi Rachel,
Thanks for the detailed information.
Regards,
Vengatesh