Google Calendar User Guide

[accordions]
[accordion title=”Google Apps Integration”]

  • In order for your calendar to sync – you have to check “CalendarSync” checkbox. It is checked by default.
  • Revoke – To remove your Google account from the sync module.
  • Update – To update your Google token.

[/accordion]
[accordion title=”Trigger Sync Manually”]

  • “Sync to Google” – all vTiger events will be sent/updated to the selected Google Calendars. Note, this is the same functionality as the cron job/scheduled task.
  • “Sync from Google” – all Google events will be sent/updated to vTiger Calendar. Note, this is the same functionality as the cron job/scheduled task.

[/accordion]

[accordion title=”Setup Cron Job”]

This cron job will trigger automatic sync from Google to vTiger and opposite

Enter the cron file
$ crontab -e
or
pico /etc/crontab

#5 * * * * php -f /<VT>/modules/CalendarSync/actions/syncCalendarFromVT.php
#5 * * * * php -f /<VT>/modules/CalendarSync/actions/syncCalendarFromGA.php

Windows:

  • Open “Task Scheduler”
  • Select “Create a Task”
  • Enter the name/description
  • Go to Triggers tab
    • Hit New and set it up to run every 30 minutes.
  • Go to Actions Tab, and hit “New”
    • Actions: “Start a program”
    • Program/Script: C:\Path\to\php.exe
      • Add arguments (optional): -f “C:/Path/to/YOURVTIGERCRMDIR/modules/CalendarSync/actions/syncCalendarFromGA.php”
      • Add arguments (optional): -f “C:/Path/to/YOURVTIGERCRMDIR/CalendarSync/actions/syncCalendarFromVT.php”
    • Hit “OK”

[/accordion]

[accordion title=”Google to vTiger Settings”]

  • Create vTiger event as – When synchronizing from Google, you have an option to select what kind of event it will be in vTiger. You can either sync them as Calls or Meetings.
  • Default Priority of vTiger event – When synchronizing from Google, you have an option to set the priority for the synchronized event.
  • If Start Time is in the past, make the event status – If Start Time in Google Event is in the past, then you can set a status which will show up in vTiger of the synchronized event.
  • If Start Time is in the future, make the event status – If Start Time of Google Event is in the future, you can set a status of which will show up in vTiger of the synchronized event.

[/accordion]
[accordion title=”Google Calendar”]

  • Google Calendar Sync now support multiple Google Calendars. On the left side we have listed all the Google Calendars and on the right side there are Google calendars which will synchronize with vTiger.
    • Use “Add >>” Button to add Google Calendar to the Sync
    • Use “<< Remove” Button to remove Google Calendar from the Sync
    • Use “Set Primary” Button to set the calendar as primary. When the calender is marked as Primary, all* the existing and new events will be sent to Primary calendar. The other calendar’s events(not primary) will be synchronized to vTiger both ways, but the events synchronized from other calendar’s(non primary) will not be sent to Primary calendar. See the example below.
  • “Work” calendar is set as Primary and “Other” is not primary calendar. When you create new event “A” in vTiger, the event “A” will be ONLY sent to Primary calendar(Work). When you create event “B” on Google Calendar “Work” – the event “B” will be sent to vTiger. Now, if you create an event “C” on Google Calendar “Other” – the event will be sent to vTiger, but will NOT be sent from vTiger to “Work”(Primary calendar), because the event “C” originally came from “Other” Calendar, so the event “C” will only sync with the “Other” Calendar.
  • You must mark at least one calendar as Primary
  • You can only have one Primary calendar.

[/accordion]
[accordion title=”Linked Accounts”]

  • Here you can see the accounts which are linked to the module. You might see multiple accounts here, which means you have synchronized your vTiger Calendar with multiple google accounts. When you click the “Reset Sync Data” – it remove the linkage between your vTiger calendar items and Google calendar items for selected/highlighted user above. Note, this will cause duplicates unless you purge your Google calendar in advance.

[/accordion]
[/accordions]

Interested in learning more? Let us send you an email.

Recent Blogs

Popular Blogs