|
|
|
|
|
- Properties specific to the description of Reminder variables
- Note
Reminder (Type of variable) In french: Rappel
The Reminder type is used to describe and handle a reminder to inform the user of an appointment. This type of variable is used by the Appointment variables. The reminder characteristics can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Adds a new reminder by notification an hour before the beginning of the appointment reminderAPT is Reminder reminderAPT.Type = reminderNotification reminderAPT.Delay = 60 Add(apt.Reminder, reminderAPT) AppointmentModify(apt) Â // Adds a new reminder by email one week before the beginning of the appointment reminderAPT is Reminder reminderAPT.Type = reminderEmail reminderAPT.Delay = 7 * 24 * 60 Add(apt.Reminder, reminderAPT) AppointmentModify(apt)
Remarks Properties specific to the description of Reminder variables The following properties can be used to handle a reminder: | | | Property name | Type used | Effect |
---|
Delay | Integer ou Duration | Timeout in minutes before the beginning of the appointment for which the reminder must be performed. This property can correspond to: - an integer corresponding to the number of minutes,
- a Duration variable,
- the duration in a readable format (e.g., 1 min).
| Type | Integer constant | Method that will be used to perform the reminder: - reminderDefault: default method. This method depends on the setting of the device.
- reminderEmail: send an email. This type of reminder is available only if the account associated with the appointment calendar supports this type of reminder and if this account is configured.
- reminderNotification: send a notification.
- reminderSMS: send an SMS. This type of reminder is available only if the account associated with the appointment calendar supports this type of reminder and if this account is configured.
|
Note You can use VariableReset to reset the content of the Reminder variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|