30,997
edits
| Line 83: | Line 83: | ||
Note: you can keep this field empty and fill instead the "ID Agenda" at the user card level (into tab "Google" on each user card). Each user can have its own calendard. In such a case, it is the owner of the event (visible on Dolbarr event card) that will be used by Dolibarr to know which Agenda ID to target for synchronization. It means each event into Dolibarr can be pushed only toward one and only one agenda (if there is several users assigned to event, it is the owner of event that will be targeted). Note also that in such a case, setp 5 must also be done for each Google account. | Note: you can keep this field empty and fill instead the "ID Agenda" at the user card level (into tab "Google" on each user card). Each user can have its own calendard. In such a case, it is the owner of the event (visible on Dolbarr event card) that will be used by Dolibarr to know which Agenda ID to target for synchronization. It means each event into Dolibarr can be pushed only toward one and only one agenda (if there is several users assigned to event, it is the owner of event that will be targeted). Note also that in such a case, setp 5 must also be done for each Google account. | ||
2) You must create a service account user/email from page https://code.google.com/apis/console/, menu "Credentials" . Click on "Create a client ID" and choose "Service Account" then choose "type of file P12" then "Create". You will get: | |||
* A new service account with a Service account client ID and a Service account EMail. You need here to enter the Service account EMail. | |||
* A .p12 file was also downloaded. | |||
3) Submit the information received and the downloaded file on Dolibarr setup page. | |||
3) | |||
4) You must also enable the API for your Google account. For this go on page https://code.google.com/apis/console/, menu "API & Authentication" -> "API". Click to enable API for "Calendar API". | 4) You must also enable the API for your Google account. For this go on page https://code.google.com/apis/console/, menu "API & Authentication" -> "API". Click to enable API for "Calendar API". | ||