Google Calendar Integration (Meeting Room Demo)

This article will step through a sample integration with Google Docs. We will take the Meeting Room sample template found in the Template Gallery and use the provided script to pull in your own calendar data in real time.

First we need a template to work with so login to your RevelDigital account and select the Meeting Room template from the Template Gallery. This template already contains the script necessary to retrieve the Google calendar data.

682645.jpg

Assign your template to any of your players and verify that it's running.

Next you'll need to setup your own Google Calendar for use with this template. Browse to https://www.google.com/calendar and create a new calendar. Each calendar has it's own link which the template script uses to retrieve the data. Find the My calendars sections and click the down arrow next to your new calendar. Then select the Calendar settings.

Untitled-3.jpg

Next, locate the ICAL button at the bottom of the settings page. You'll need to use the Private Address link as indicated by the arrow below.

Untitled-4.jpg

Clicking the button will popup a window with the calendar link. Copy this link!

Now login to your RevelDigital account and design your Meeting Room template. Once in the designer click the Save icon on the menu bar and select RevelScript Editor.

Untitled-5.jpg

Replace the link highlighted in red with the link copied from the previous step.
Delete the # symbol on this same line.

Untitled-6.jpg

Save the template and update your player. Your template is now using your own Google Calendar! The template will update every 5 minutes, but this can always be adjusted in the script. It's currently scripted to display the current or next upcoming event for the day. Just add an event to your calendar and watch it update automatically!