PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Deleting calendars
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
Deletes data from the Google server. The created or updated data is contained in a variable that corresponds to the service used:
Example
// Connection
Cnt is gglConnection
...
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END
 
// Retrieve the "Work" calendar
arrCalendar is array of 0 gglCalendar
arrCalendar = GglListCalendar(Cnt, gglUser)
// Display the title of each calendar
Calendar is gglCalendar
FOR EACH Calendar OF arrCalendar
IF Calendar.Title = "Work" THEN
  // Delete the calendar
  GglDelete(Cnt, Calendar)
END
END
Syntax
<Result> = GglDelete(<Google connection> , <Google element>)
<Result>: Boolean
  • True if the deletion was performed,
  • False if an error occurred. To get the details of the error, use ErrorInfo.
<Google connection>: gglConnection variable
Name of the gglConnection variable to use. This connection was validated by GglConnect.
<Google element>: Variable that corresponds to the type to delete
Element to delete. This parameter can correspond to:
  • Name of gglCalendar variable that corresponds to the calendar to delete.
  • Name of gglContact variable that corresponds to the contact to delete.
  • Name of gglContactGroup variable that corresponds to the group of contacts to delete.
Remarks

Deleting calendars

To delete a calendar, this calendar must have been retrieved by GglListCalendar associated with the gglUser constant. Otherwise, an "InternalServerError" is returned by the server.
Component : wd260ggl.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment