This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:contacts [2017/05/16 11:59] joebordes |
en:contacts [2017/05/16 13:06] (current) joebordes |
||
---|---|---|---|
Line 6: | Line 6: | ||
==== Google Contacts Synchronization ==== | ==== Google Contacts Synchronization ==== | ||
- | * You must have the [[:contacts#google_contacts_synchronization1|Google OAuth project configured with Google Contacts API enabled]]. | + | * You must have the [[en:contacts#google_contacts_synchronization1|Google OAuth project configured with Google Contacts API enabled]]. |
* Go to the Contacts list view | * Go to the Contacts list view | ||
* Click on the "Google Contacts" button | * Click on the "Google Contacts" button | ||
Line 42: | 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 48: | 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 |}} | ||
+ | |||
+ | ==== Batch Synchronizations ==== | ||
+ | |||
+ | The contacts information is sent to Google in batches of 200 records. This can be changed using the **GContacts_Max_Results** global variable |