|
|
|
|
|
<gglConnection variable>.Write (Function) In french: <Variable gglConnexion>.Ecrit 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: 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.
Cnt is gglConnection
...
Calendar is gglCalendar = Cnt.GetCalendar("Work")
Calendar[1].Title = "Apt with boss"
Calendar[1].EndDate = "20081013153"
Delete(Calendar.Event, 2)
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 occurs. To get more details on the error, use ErrorInfo.
<Google connection>: gglConnection variable Name of the gglConnection variable to be used. 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|