ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • Possible error cases:
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<gglConnection variable>.ListContactByRequest (Function)
In french: <Variable gglConnexion>.ListeContactParRequête
Retrieves a list of contacts from custom parameters.
Example
// Connection
Cnt is gglConnection
...
IF Cnt.Connect() =False THEN
Error(ErrorInfo())
END
...
// Retrieves all the contacts updated since 08/08/2008
arrContacts is array of 0 gglContact
arrContacts = Cnt.ListContactByRequest("updated-min=2008-08-08")
// Retrieves the first 10 contacts updated since July 14, 1789
// in descending order
arrContacts = Cnt.ListContactByRequest(...
"updated-min=1789-07-14&start-index=1&max-results=10")
// Retrieves the contacts of a group (specified by its identifier)
// in descending order of update date
Identifier is string
Identifier = "http://www.google.com/feeds/contacts/groups/jo%40gmail.com/base/1234a"
arrContacts = Cnt.ListContactByRequest("sortorder=descending&group=" + Identifier)
Syntax
<Result> = <Google connection>.ListContactByRequest(<Parameters>)
<Result>: Array of gglContact variables
Array of gglContact variables.
<Google connection>: gglConnection variable
Name of the gglConnection variable to be used. This connection was validated by <gglConnection variable>.Connect.
<Parameters>: Character string
Parameters that must be passed to the HTTP request. The parameters are separated by the & character. For more details, see the documentation about the Google Contacts service.
Remarks

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable.
Component: wd290ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help