User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:contacts [2017/05/16 11:57]
joebordes
en:contacts [2017/05/16 13:06] (current)
joebordes
Line 2: Line 2:
  
 ===== Google Contacts Synchronization ===== ===== Google Contacts Synchronization =====
 +
 +
 +==== Google Contacts Synchronization ====
 +
 +  * You must have the [[en:​contacts#​google_contacts_synchronization1|Google OAuth project configured with Google Contacts API enabled]].
 +  * Go to the Contacts list view
 +  * Click on the "​Google Contacts"​ button
 +  * If this is the first time you access click on the "Sign in with Google"​ button and authorize access to your contacts information on Google
 +  * Click on the button again and select the "Sync Settings"​ button
 +  * Select a group to sync with, the fields and the direction of the synchronization
 +  * It is interesting to sync a group instead of all your contacts in order to keep things organized
 +  * From this point forward any changes that you make in either of the applications will get synchronized when you click on the "Sync Now" button
 +
 +Watch this video for more information.
 +
  
 ==== Configure Google OAuth Access ==== ==== Configure Google OAuth Access ====
Line 27: Line 42:
       * http://​localhost:​8080       * http://​localhost:​8080
       * https://​myproductionurl.example.com       * https://​myproductionurl.example.com
 +  * In the "​Authorized redirect URIs" put this URL: <​code>​http://​your_host/​your_coreBOS/​index.php?​module=Contacts&​action=ContactsAjax&​file=List&​operation=sync&​sourcemodule=Contacts&​service=GoogleContacts</​code>​
   * Click the Create Client ID button.   * Click the Create Client ID button.
   * In the resulting Client ID for web application section, copy the Client ID that your app will need to use to access the APIs.   * In the resulting Client ID for web application section, copy the Client ID that your app will need to use to access the APIs.
Line 33: Line 49:
   * Under **"​Google Apps API"** click "​Contacts API" link   * Under **"​Google Apps API"** click "​Contacts API" link
   * Click the ENABLE button   * Click the ENABLE button
 +  * Now we have to activate the integration and set the project values in coreBOS
 +  * Go to this URL in your coreBOS install: <​code>​http://​your_host/​your_coreBOS/​index.php?​module=Utilities&​action=integration&​_op=getconfiggcontact</​code>​
 +  * Introduce the API key and OAuth credentials.
 +  * Activate the integration and save the settings
  
-{{ :​en:​corebos:​contacts:​google-api-list.png |}} 
  
-{{ :​en:​corebos:​contacts:​google-api-contacts-enable.png |}} 
  
-==== Google Contacts Synchronization ==== 
  
-  * Go to the Contacts list view +==== Batch Synchronizations ====
-  * Click on the "​Google Contacts"​ button +
-  * If this is the first time you access click on the "Sign in with Google"​ button and authorize access to your contacts information on Google +
-  * Click on the button again and select the "Sync Settings"​ button +
-  * Select a group to sync with, the fields and the direction of the synchronization +
-  * It is interesting to sync a group instead of all your contacts in order to keep things organized +
-  * From this point forward any changes that you make in either of the applications will get synchronized when you click on the "Sync Now" button+
  
-Watch this video for more information.+The contacts ​information ​is sent to Google in batches of 200 recordsThis can be changed using the **GContacts_Max_Results** global variable