PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Possible error cases:
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
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).
Remarks:
  • In case of multiple additions, VariableReset is used to reinitialize these variables between the calls to <gglConnection variable>.Write.
  • For a modification, the data must be retrieved before it can be modified.
Example
// Connection
Cnt is gglConnection
...
 
// Retrieve the calendar named "Work"
Calendar is gglCalendar = Cnt.GetCalendar("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
Cnt.Write(Calendar)
Syntax

Creating and/or updating a Google element Hide the details

<Result> = <Google connection>.Write(<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 gglConnection variable to use. This connection was validated by <gglConnection variable>.Connect.
<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.
Remarks
]

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 : wd260ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment