Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Events.Reminder.SetPriority

Sets the priority of the reminder.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Reminder.SetPriority"; EKReminder; Priority )   More

Parameters

Parameter Description Example
EKReminder The reference to the reminder. $Reminder
Priority The new priority.
Number from 0 to 9.
Or texts high, medium, low or none.
"medium"

Result

Returns OK or error.

Description

Sets the priority of the reminder.
Priorities run from 1 (highest) to 9 (lowest). A priority of 0 means no priority.
Saving a reminder with any other priority will fail.
Per RFC 5545, priorities of 1-4 are considered "high," a priority of 5 is "medium," and priorities of 6-9 are "low."

Examples

Set priority:

Set Variable [$r; Value:MBS( "Events.Reminder.SetPriority"; $reminder; Events Create Reminder::Priority )]

Set high priority:

MBS( "Events.Reminder.SetPriority"; $Reminder; "high" )

See also

Example Databases

This function checks for a license.

Created 10th March 2016, last changed 13th March 2016


Events.Reminder.SetDueDateComponents - Events.Reminder.SetStartDate