ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • Properties specific to gglOrganization variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
gglOrganization (Variable type)
In french: gglSociété
The gglOrganization type is used to describe the companies and organizations to which a contact belongs.
This type of variable is used by the gglContact type.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Google
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-01"
IF GglConnect(Cnx) = False THEN
	Error(ErrorInfo())
END
...
// Récupération du tableau des contacts
tabContacts is array of gglContact
tabContacts = GglListContact(Cnx)
// Affichage des sociétés du premier contact
MonContact is gglContact = tabContacts[1]
Org is gglOrganization dynamic
FOR EACH Org OF MonContact.Company
	Trace(Org.Name + " : " + Org.Caption)
END
Properties

Properties specific to gglOrganization variables

The following properties can be used to handle gglOrganization variables:
NameType usedEffect
CaptionCharacter stringDescription of the company.
NameCharacter stringName of the company.
PrimaryBoolean
  • True if the company corresponds to the main company of the contact,
  • False otherwise.
TitleCharacter stringTitle of the contact in the company.
TypeInteger constantType of the company corresponding to one of the following variables:
  • gglOther: Company to which the contact is linked in a non-professional way.
  • gglBureau: Company to which the contact is professionally linked.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help