Changes

Jump to navigation Jump to search

Module Google

616 bytes added, 5 months ago
m
|prerequisites=
|minversion=3.9+
- Your instance must be on a secured URL (it must start with https:// and not with http://)
 
- Having module openssl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "openssl". If you don't find, openssl module is not installed.
- Having module curl extension enabled into your PHP. To check this, go into module Home - Setup - PHP infos and make a search into page of "curl". If you don't find, curl module is not installed.
 
- To use the Maps and geocoding service, you must enable the billing on your Google account. Price is 0.005 € per address.
|note=
}}
With Google Apps for work (not required for standard gmail account), permissions may be forced to "Ready only" instead of "Edit". To solve this, go onto
{{GoogleURLToSetupCalendarAppSharing}}
and check that sharing option of Agenda application allows sharing with external service account. [[File:Warning.png]] A 24h delay may be required to be able to return and finish step 5.
==Setup of GMaps features==
1) You must first enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & AuthenticationService" -> "Enable API& Services". Click to enable API for "Google Maps Geocoding API" and "Google Maps JavaScript API". 2) Create an API key of type "Server". You must check that the value for '''Restrictions relative to applications''' is on '''None''' '''Restrictions relative to API''' is on '''No restriction''' or, for a more secured usage, set to Restricted to the 2 APIs '''GeoCoding API''' and '''Maps Javascript API'''. Then save the API key on the setup page of module Google in Dolibarr, tab GMaps.
23) Create an API key of type You must enable the "Serverbilling" and enter it of APIs on the setup page of module your Google in Dolibarr, tab GMapsaccount (price is 0.005 € per geo-encoded address)
===Link to localize a specific address===

Navigation menu