PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
GglFillCalendarByRequest (Function)
In french: GglRemplitAgendaParRequê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 GglListCalendar.
Remark: This function is an advanced function. It is recommended to use GglFillCalendar.
Example
// Connection
Cnt is gglConnection
...
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
RETURN
END
// Retrieve a calendar
arrCalendars is array of 0 gglCalendar
arrCalendars = GglListCalendar(Cnt)
Calendar = arrCalendars[1]
// Request:
// Retrieve the future events and organize them in chronological order
GglFillCalendarByRequest(Cnt, Calendar, "futureevents&orderby=starttime")
Syntax
<Result> = GglFillCalendarByRequest(<Google connection> , <Calendar> , <Parameters>)
<Result>: Boolean
  • True if the events have been retrieved,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Google connection>: gglConnection variable
Name of the variable of type gglConnection to be used. This connection was validated by GglConnect.
<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. For more details, see the documentation about the Google Calendar service.
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: wd270ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment