PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglContact variables
  • Functions that use the gglContact type
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
gglContact (Type of variable)
In French: gglContact (Type de variable)
The gglContact type is used to describe and modify a contact 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
...
// Retrieve the array of contacts
arrContacts is array of gglContact
arrContacts = GglListContact(Cnt)
// Browse the contacts
AContact is gglContact
FOR EACH AContact OF arrContacts
Trace(AContact..Name)
END
// Add a contact into gmail
Cnt is gglConnection
Cnt..Email = "MyAddress@gmail.com"
Cnt..Password = "PasswordGmailAddress"
Cnt..ApplicationName = ""
ctcGoogle is gglContact

IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
ELSE
// Add the contact
ctcGoogle..Name = "My new contact"
ctcGoogle..Notes = "Notes of my contact"
IF NOT GglWrite(Cnt, ctcGoogle) THEN
Error(ErrorInfo())
END
END
Remarks

Properties specific to the description of gglContact variables

The following properties can be used to handle gglContact variable:
NameType usedEffect
PostalAddressArray of gglPostalAddressPostal addresses of the contact.
Versions 18 and later
ModificationDate
New in version 18
ModificationDate
ModificationDate
Character stringDate of last contact modification.
This property is available in read-only.
EmailArray of gglEmailEmail addresses of the contact.
GroupArrayArray of identifiers for the groups of contacts to which the contact belongs.
Versions 18 and later
Identifier
New in version 18
Identifier
Identifier
Character stringGoogle identifier of the contact.
This property is available in read-only.
InstantMessagingArray of gglInstantMessagingAddresses of the instant messaging of the contact.
NameCharacter stringName of contact.
NotesCharacter stringNotes associated with the contact.
CompanyArray of gglOrganizationCompanies/Organizations associated with the contact.
PhoneNumberArray of gglPhoneNumberPhone number of a contact


Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglContact type

Versions 14 and later
GglDelete
New in version 14
GglDelete
GglDelete
Deletes data from the Google server.
Versions 14 and later
GglListContact
New in version 14
GglListContact
GglListContact
Retrieves the list of contacts associated with the specified Google account.
Versions 14 and later
GglListContactByRequest
New in version 14
GglListContactByRequest
GglListContactByRequest
Retrieves a list of contacts from custom parameters.
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