ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Android calendar
  • Required permissions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Deletes:
  • WINDEVWEBDEV - Server code the current appointment from the calendar of a Lotus Notes or Outlook messaging.
    Reminder This function cannot be used to delete the current appointment from the Outlook Express calendar.
  • AndroidAndroid Widget an appointment from the calendar found on an Android device.
  • iPhone/iPad an appointment from the calendar found on an iOS device.
Example
WINDEVWEBDEV - Server code
// Ouverture d'une session Lotus Notes
IDSession is int
IDSession = EmailStartNotesSession("MotDePasse", "ServeurMars", ...
	"mail/julie.nsf", "C:\Lotus Notes\julie.id")
// Lecture du dernier rendez-vous
AppointmentLast(IDSession)
// Suppression du rendez-vous
AppointmentDelete(IDSession)
AndroidAndroid Widget iPhone/iPad
// Supprime le rendez-vous correspondant à l'identifiant <25>
tabRDV is array of Appointment
tabRDV = AppointmentList(MonCalendrier, aptIdentifier, 25)
IF tabRDV.Count > 0 THEN
	AppointmentDelete(tabRDV[1])
END
Syntax

Deleting the current appointment from the calendar of a Lotus Notes or Outlook messaging Hide the details

<Result> = AppointmentDelete(<Session identifier> [, <Appointment identifier>])
<Result>: Boolean
  • True if deleted successfully,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer
Session ID to be used. This ID is returned by one of the following functions: EmailStartNotesSession, EmailStartOutlookSession, NotesOpenDatabase or OutlookStartSession.
<Appointment identifier>: Optional character string
Identifier of the appointment to be deleted. This identifier is found in the mAppointment.ID variable.
AndroidAndroid Widget iPhone/iPad

Deleting an appointment from the calendar found on a mobile device (Android/iOS) Hide the details

<Result> = AppointmentDelete(<Appointment>)
<Result>: Boolean
  • True if deleted successfully,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment to be deleted from the calendar of the Android or iOS device.
Remarks
AndroidAndroid Widget

Android calendar

AppointmentDelete can be used in the emulator but not in the simulator.
AndroidAndroid Widget

Required permissions

This function changes the permissions required by the application.
Required permissions:
  • READ_CALENDAR: This permission allows the application to read the user's Calendar data.
  • WRITE_CALENDAR: This permission allows the application to write the user's Calendar data.
Business / UI classification: Business Logic
Component: wd300com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help