Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to export scheduler appointments in Google Calendar

$
0
0

This example demonstrates how you can use the Google Calendar API in your scheduling application. Google provides the corresponding guidelines regarding use of this API:
Google Calendar API 

Before using this API, make certain you have read and understand Google’s licensing terms. Next, you’ll need to generate a corresponding JSON file with credentials to enable the Google Calendar API.

We have a corresponding KB article which contains step-by-step description on how to generate this JSON file:
How to enable the Google Calendar API to use it in your application

After you generate this JSON file and put it in the Secret folder of this sample project, you can export appointments to a Google calendar.
1. Click the "Connect" button to generate a list of available calendars for your Google account and load Google events to the SchedulerControl from the selected calendar.
2. Add or change an appointment in the SchedulerControl. The modified appointment will be exported to the Google Calendar.



P.S. To run this example's solution, include the corresponding "Google Calendar API" assemblies into the project.
For this, open the "Package Manager Console" (Tools - NuGet Package Manager) and execute the following command:

Install-Package Google.Apis.Calendar.v3
Install-Package NodaTime -Version 1.3.1 

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>