PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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
<gglConnection variable>.FillCalendarByRequest (Function)
In french: <Variable gglConnexion>.RemplitAgendaParRequête
Fills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved from a custom request. This function must be used after the call to <gglConnection variable>.ListCalendar.
Note: This function is an advanced function. We recommend that you use <gglConnection variable>.FillCalendar.
Example
// Connection
Cnt is gglConnection
...
IF Cnt.Connect() =False THEN
Error(ErrorInfo())
RETURN
END
// Retrieve a calendar
arrCalendars is array of 0 gglCalendar
arrCalendars = Cnt.ListCalendar()
Calendar = arrCalendars[1]
// Request:
// Retrieve the future events and organize them in chronological order
Cnt.FillCalendarByRequest(Calendar, "futureevents&orderby=starttime")
Syntax
<Result> = <Google connection>.FillCalendarByRequest(<Calendar> , <Parameters>)
<Result>: Boolean
  • True if the events have been retrieved,
  • False otherwise. 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.
Versions 20 and later
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
New in version 20
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
Caution: the properties of the gglConnection variable must be revised for the OAuth 2.0 authentication.
<Calendar>: gglCalendar variable
Name of gglCalendar variable to fill.
<Parameters>: Character string
Parameters that must be passed to the HTTP request. The parameters are separated by the & character. See the documentation about the Google Calendar service for more details.
Caution: When going from Google API version 2 to Google API version 3, the parameters to pass to the request have been modified by Google. See the documentation about the Google Calendar service for more details (https://developers.google.com/google-apps/calendar/v3/reference/).
Remarks
The dates sent to the Google server must be in UTC format. If necessary, use DateTimeLocalToUTC and DateTimeUTCToLocal to perform the conversions.
Component : wd240ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment