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

Events.Object.IsNew

Returns 1 if this object has never been saved, else 0.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.Object.IsNew"; EKObject )   More

Parameters

Parameter Description Example
EKObject The reference to the object.
This can be an alarm, source, participiant, structured locacation, recurrence rule, calendar or calendar item.
$item

Result

Returns 1, 0 or error.

Description

Returns 1 if this object has never been saved, else 0.

Examples

Check if an alarm is new:

MBS( "Events.Object.IsNew"; "56001" )

See also

This function is free to use.

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


Events.Object.HasChanges - Events.Object.Refresh