PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of gglContactGroup variables
  • Functions that use gglContactGroup variables
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
gglContactGroup (Type of variable)
In french: gglGroupeContact
Warning
Since June 15, 2021, the Google Contacts API used by this feature is no longer available (https://developers.google.com/contacts/v3/announcement).
To use Google contacts, refer to the People API published by Google as a replacement : https://developers.google.com/people. RESTSend allows you to easily integrate a REST API in your development projects.
The gglContactGroup type is used to describe and modify a group of contacts used by the Google Contacts service.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection to Google
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
...
 
// Retrieves the groups of contacts
arrGroups is array of gglContactGroup
arrGroups = GglListContactGroup(Cnt)
 
// Browse the groups
Grp is dynamic gglContactGroup
FOR EACH Grp OF arrGroups
Trace(Grp.Name)
END
// Create a group of contacts
Cnt is gglConnection
Cnt.Email = "MyAddress@gmail.com"
Cnt.Password = "GmailAddressPassword"
Cnt.ApplicationName = ""
grpGoogle is gglContactGroup
 
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
ELSE
// Add the group
grpGoogle.Name = "My New Group"
IF NOT GglWrite(Cnt, grpGoogle) THEN
Error(ErrorInfo())
END
END
Remarks

Properties specific to the description of gglContactGroup variables

The following properties can be used to handle a gglContactGroup variable:
Name Type usedEffect
UpdateDateDateTimeDate of the last update. This information is read-only.
Remark: The date is a UTC date (in universal time).
IdentifierCharacter stringGroup identifier. This information is read-only.
Name Character stringName of the group.

Functions that use gglContactGroup variables

GglWriteCreates and/or updates data on the Google server (addition or modification of data).
GglListContactGroupRetrieves the list of groups of contacts associated with the specified Google account.
GglDeleteDeletes data from the Google server.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment