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)
  • Outlook: Contact/participant management mode
  • Android Calendar: Notes
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Modifies the current appointment:
  • WINDEVWEBDEV - Server code in a Lotus Notes or Outlook calendar.
    When an appointment is read, the appointment data is updated in the Appointment structure. To modify the current appointment, simply modify the values of the Appointment structure and validate the modifications with AppointmentModify.
    Reminder: This function does not allow you to modify the current appointment in the Outlook Express calendar.
  • AndroidAndroid Widget in a calendar on an Android device.
  • iPhone/iPad in a calendar on an iOS device.
Example
// 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)
// Modification du lieu
mAppointment.Location = "Salle 5H"
AppointmentModify(IDSession)
AndroidAndroid Widget iPhone/iPad
// Rendez-vous à modifier
gRDV is Appointment
// ...

// Modification du rendez-vous
gRDV.Title = SAI_Titre
gRDV.StartDate = SAI_DateDeb + SAI_HeureDeb
gRDV.EndDate = SAI_DateFin + SAI_HeureFin
gRDV.Location = SAI_Lieu
gRDV.Content = SAI_Desc
IF SAI_Fuseau <> "" THEN
	gRDV.TimeZone = SAI_Fuseau
END
gRDV.Author = SAI_Auteur
gRDV.Guest = SAI_Invités
gRDV.WholeDay = INT_Jentière[1]

IF AppointmentModify(gRDV) THEN
	ToastDisplay("RDV modifié")
ELSE
	Error(ErrorInfo())
END
Syntax

Modifying the appointment in the calendar of a Lotus Notes or Outlook messaging Hide the details

<Result> = AppointmentModify(<Session identifier> [, <Appointment identifier>])
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<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
ID of the appointment to be modified. This identifier is found in the mAppointment.ID variable.
AndroidAndroid Widget iPhone/iPad

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

<Result> = AppointmentModify(<Appointment>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Appointment>: Appointment variable
Name of the Appointment variable corresponding to the appointment to modify in the calendar of the Android/iOS device.
Remarks
WINDEVWEBDEV - Server code

Outlook: Contact/participant management mode

In Outlook, the management mode of contacts/participants can be specified when starting the session (EmailStartOutlookSession or OutlookStartSession).
AndroidAndroid Widget

Android Calendar: Notes

AppointmentModify can be used in the emulator but not in the simulator.
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: 09/21/2024

Send a report | Local help