PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglContactGroup variables
  • Functions that use the gglContactGroup variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglContactGroup (Type of variable)
In French: gglGroupeContact (Type de variable)
The gglContactGroup type is used to describe and modify a group of contacts used by the Google Contacts service.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
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 = "PasswordGmailAddress"
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:
NameType usedEffect
UpdateDateDateTimeDate of the last update. This information is read-only.
Note: The date is a UTC date (in universal time)
IdentifierCharacter stringIdentifier of the group. This information is read-only.
NameCharacter stringName of the group.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglContactGroup variables

Versions 14 and later
GglDelete
New in version 14
GglDelete
GglDelete
Deletes data from the Google server.
Versions 14 and later
GglListContactGroup
New in version 14
GglListContactGroup
GglListContactGroup
Retrieves the list of groups of contacts associated with the specified Google account.
Versions 14 and later
GglWrite
New in version 14
GglWrite
GglWrite
Creates and/or updates data on the Google server (addition or modification of data).
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment