PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglCalendar variables
  • Functions that use the gglCalendar variables
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
gglCalendar (Type of variable)
In French: gglAgenda (Type de variable)
The gglCalendar type is used to describe and modify a calendar used by the Google Calendar service. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
Caution: the access to the Google Calendars changes from November 17, 2014
From November 17 2014, Google is only using the Google API version 3 (Google API version 2 is abandoned). This change of version has modified the exchange format of data used by the functions for accessing the Google Calendars.
An "OAuth 2.0" authentication is now required to access this service. This authentication mode requires:
  • the declaration of the application in the Google console. To use the Google Calendars, the application must use the "Calendar API" service.
  • the use of new properties in the gglConnection variable.
See the help about GglConnect for more details.
Caution: The gglCalendar, gglEvent and gglLocation variables are also modified. Some properties become obsolete with the Google API version 3: they must not be specified anymore.
Note: See Declaring a variable for more details.
Example
// Connection to Google
Cnt is gglConnection
...
// Retrieve the array of available calendars
arrCalendars is array of gglCalendar
arrCalendars = GglListCalendar(Cnt)
// Retrieve the events of the first calendar
GglFillCalendar(Cnt, arrCalendars[1])
Trace("Calendar description: " + arrCalendars[1]..Description)
Remarks

Properties specific to the description of gglCalendar variables

The following properties can be used to handle a gglCalendar variable:
NameType usedEffect
AuthorgglAuthorAuthor of the calendar.
Warning
From version 20, further to the implementation of Google API version 3, this property is not supported anymore.
UpdateDateDateTimeDate of the last update of the calendar. This property is available in read-only.
Note: The date is expressed in the time zone of the calendar.
Warning
From version 20, further to the implementation of Google API version 3, this property is not supported anymore.
PublicationDateDateTimeDate of the last access to the calendar. This property is available in read-only.
Note: The date is expressed in the time zone of the calendar.
Warning
From version 20, further to the implementation of Google API version 3, this property is not supported anymore.
DescriptionCharacter stringDescription of the calendar.
Event[n]Array of gglEventEvents of the calendar.
An event having several characteristics, we advise you to declare a gglEvent variable.
TimeZoneCharacter stringTime zone used by the calendar. This property returns a string such as "America/Los Angeles".
This property is available in read-only.
IdentifierCharacter stringIdentifier of the calendar. This property is available in read-only.
TitleCharacter stringTitle of the calendar.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the gglCalendar variables

Versions 14 and later
GglDelete
New in version 14
GglDelete
GglDelete
Deletes data from the Google server.
Versions 14 and later
GglFillCalendar
New in version 14
GglFillCalendar
GglFillCalendar
Fills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved (some criteria may be specified).
Versions 14 and later
GglFillCalendarByRequest
New in version 14
GglFillCalendarByRequest
GglFillCalendarByRequest
Fills a calendar that was retrieved beforehand: the events corresponding to the calendar are retrieved from a custom query.
Versions 14 and later
GglGetCalendar
New in version 14
GglGetCalendar
GglGetCalendar
Retrieves a Google calendar and its events according to its title or identifier.
Versions 14 and later
GglListCalendar
New in version 14
GglListCalendar
GglListCalendar
Retrieves the list of Google calendars associated with the specified Google account.
Versions 14 and later
GglWrite
New in version 14
GglWrite
GglWrite
Creates and/or updates data on the Google server (addition or modification of data).
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment