Home | Sign in | English EN
  • Possible error cases:
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Creates and/or updates data on the Google server (addition or modification of data). The created or updated data is contained in a variable that corresponds to the service used:
  • gglCalendar variable to create/update the calendar.
  • gglContact variable to create/update the contacts (see the Examples).
  • gglContactGroup variable to create/update the groups of contacts (see the Examples).
  • In case of multiple additions, VariableReset is used to reinitialize these variables between the calls to GglWrite.
  • For a modification, the data must be retrieved before it can be modified.
// Connection
Cnt is gglConnection
// Retrieve the calendar named "Work"
Calendar is gglCalendar = GglGetCalendar(Cnt, "Work")
// Modify the first event of the calendar
Calendar[1].Title = "Apt with boss"
Calendar[1].EndDate = "20081013153"
// Delete the second event from the calendar
Delete(Calendar.Event, 2)
// Actually update the changes on the server
GglWrite(Cnt, Calendar)

Creating and/or updating a Google element Hide the details

<Result> = GglWrite(<Google connection> , <Google element>)
<Result>: Boolean
  • True if the update was performed,
  • False if an error occurred. To find out the error details, use ErrorInfo.
<Google connection>: gglConnection variable
Name of the variable of type gglConnection to be used. This connection was validated by GglConnect.
<Google element>: Variable corresponding to the type to update
Element to update. This parameter can correspond to:
  • Name of the gglCalendar variable corresponding to the calendar to create/modify.
  • Name of the gglContact variable corresponding to the contact to create/modify.
  • Name of the gglContactGroup variable corresponding to the group of contacts to create/modify.

Possible error cases:

  • The Internet connection is not valid.
  • The authentication was not performed properly.
  • The XML response of the server cannot be read.
Business / UI classification: Business Logic
Component: wd270ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Click [Add] to post a comment