Module Google: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 53: Line 53:


==Setup of Google Calendar/agenda features==
==Setup of Google Calendar/agenda features==
This module provide 2 different features:


===Showing Google calendar tab into Agenda view===
'''Synchronize events from Dolibarr to Google Agenda'''
First feature is to show the Google calendar view into a tab into Agenda view. This feature does not provide any synchronization (see next feature for this) but only a visibility of Google native calendar into a Dolibarr tab. This list of agenda will be the same for every users so this feature is not usefull if you have different agenda that need different visibility according to users (The next feature may be more interesting if you are in this case).


To define list of Google calendar to see into your Dolibarr, go onto Google module setup page, tab "View Google calendar" and:
Choose "Activate this tool" to Yes.
Then for each Google agenda you want to show in menus, you must enter:
*A label for this Agenda.
*A color for this Agenda.
*Google ID of Agenda. It can be found on the Google parameters pages for the agendas like this:
#Log to http://calendar.google.com
#Click on the "Parameters" link in the wheels
#Click on the name of Agenda to show the Details of agenda.
#Search line "URL Address", you will see a text "Calendar ID: theagendaid@gmail.com" like into the following screenshot (click twice on image to have it enlarged)
[[File:Find your Google Calendar or Agenda ID.png|400px]]
The Agenda ID is value that looks like an email. If you have only one Agenda, it might simply
be your Google login.
The last section of configuration (Google Client ID and Google Client secret) is only needed if you want the authentication request to Google is integrated into Dolibarr screens.
===Synchronize events from Dolibarr to Google Agenda===
The other feature is to write/update an event into Google Calendar, each time an event is added/updated into Dolibarr.
The other feature is to write/update an event into Google Calendar, each time an event is added/updated into Dolibarr.
The event is pushed to a unique Agenda, or if you choose to use one agenda per user, to the agenda of the owner of the event.
The event is pushed to a unique Agenda, or if you choose to use one agenda per user, to the agenda of the owner of the event.

Navigation menu