Quantcast
Viewing all articles
Browse latest Browse all 7205

Synchronizing with Google Calendar

This example illustrates how to use Google Calendar API to synchronize ASPxScheduler with Google Calendar. Google provides the corresponding guidelines regarding the use of this API:

Google Calendar API 

Before using this API, make certain you have read and are in compliance with 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 a step-by-step description of 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, start the "oauth2callback.aspx" page for authorization. 

1. Enter the email address you used to generate the JSON file.
2. Select the JSON file on the client machine by clicking the "Browse" button.
3. Click the "Get 'Client ID' and 'Client secret' from file" button to upload the selected file and enable the Google Calendar API.
4. The application should be navigated to the "Default.aspx" page.
5. Select a corresponding calendar to synchronize with the scheduler storage.

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



The synchronization procedure implemented in this example has the following limitations: 

-     Recurring appointments are excluded
-     Statuses, labels, reminders, and resource associations are not synchronized.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



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