ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
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
Exports an appointment or a list of appointments in iCalendar format.
Example
// Creates a file in iCalendar format
// containing the list of appointments displayed in a Scheduler control
arrAPT is array of Appointment
arrAPT = SchedulerListAppointment(MySchedule)
sString is string = AppointmentToiCalendar(arrAPT)
IF NOT ErrorOccurred THEN
fSaveText("organizer.ics", sString)
END
Syntax

Exporting a list of appointments in iCalendar format Hide the details

<Result> = AppointmentToiCalendar(<Array of appointments>)
<Result>: ANSI character string in UTF-8 format
  • List of appointments in iCalendar format,
  • Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<Array of appointments>: Array of Appointment variables
Name of the Array variable containing the Appointment variables to export in iCalendar format.

Exporting an appointment in iCalendar format Hide the details

<Result> = AppointmentToiCalendar(<Appointment>)
<Result>: ANSI character string in UTF-8 format
  • Appointment in iCalendar format,
  • Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the Appointment variable to export in iCalendar format.
Remarks
To retrieve a list of appointments from a string in iCalendar format, use iCalendarToAppointment.
Component: wd290mdl.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help