ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Appointment functions (Lotus Notes/Android/iOS)
  • Outlook: Mode for managing the contacts and participants
  • Android calendar: Remarks
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
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 cannot be used to modify the current appointment in the calendar of an Outlook Express messaging.
  • AndroidAndroid Widget in a calendar on an Android device.
  • iPhone/iPad in a calendar on an iOS device.
Example
// Start a Lotus Notes session
SessionID is int
SessionID = EmailStartNotesSession("Password", "MarsServer", ...
"email/julia.nsf", "C:\Lotus Notes\julia.id")
// Read the last appointment
AppointmentLast(SessionID)
// Modify the location
mAppointment.Location = "Room 5H"
AppointmentModify(SessionID)
AndroidAndroid Widget iPhone/iPad
// Appointment to be modified
gAPT is Appointment
// ...
 
// Modify the appointment
gAPT.Title = EDT_Title
gAPT.StartDate = EDT_StartDate + EDT_StartTime
gAPT.EndDate = EDT_EndDate + EDT_EndTime
gAPT.Location = EDT_Location
gAPT.Content = EDT_Desc
IF EDT_TimeZone <> "" THEN
gAPT.TimeZone = EDT_TimeZone
END
gAPT.Author = EDT_Author
gAPT.Guest = EDT_Guests
gAPT.WholeDay = CBOX_WholeDay[1]
 
IF AppointmentModify(gAPT) THEN
ToastDisplay("APT modified")
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 identifier 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: Mode for managing the contacts and participants

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

Android calendar: Remarks

AppointmentModify can be used in the emulator but not in the simulator.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help