Events.Item.CalendarItemIdentifier
----------------------------------

Returns a unique identifier for a calendar item.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Events](component_Events.md) | [6.2](newinversion62.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Events.Item.CalendarItemIdentifier"; EKCalendarItem ) 

**MBS**( **"Events.Item.CalendarItemIdentifier";** /\* Returns a unique identifier for a calendar item. \*/  
**$EKCalendarItem**) /\* The reference to the calendar item: an event or reminder.e.g. $item \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| EKCalendarItem | The reference to the calendar item: an event or reminder. | $item |

### Result

Returns ID or error.

### Description

Returns a unique identifier for a calendar item.  
Item identifiers are not sync-proof in that a full sync will lose this identifier, so you should always have a back up plan for dealing with a reminder that is no longer fetchable by this property, e.g. by title, etc..  
You only need this function to match a reference number from our plugin to the UUID used by calendar identifier.  
  
See also [Events.Item.CalendarItemExternalIdentifier](EventsItemCalendarItemExternalIdentifier.md).  
### See also

- [Events.Item.CalendarItemExternalIdentifier](EventsItemCalendarItemExternalIdentifier.md)
- [Events.NewEvent](EventsNewEvent.md)
- [Events.SaveEvent](EventsSaveEvent.md)

### Example Databases

- [Mac and iOS/Events/Events Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Events%20Import.shtml#1ScriptAnchor_)
- [Mac and iOS/Events/Events Sync](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Events%20Sync.shtml#5ScriptAnchor_)

### Blog Entries

- [FileMaker and Calendar (iCal)](https://www.mbsplugins.de/archive/2016-04-23/FileMaker_and_Calendar_(iCal)/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 10th March 2016 , last changed 11st January 2019

  
[Events.Item.CalendarItemExternalIdentifier](EventsItemCalendarItemExternalIdentifier.md) - [Events.Item.Duplicate](EventsItemDuplicate.md)

[HTML Version](EventsItemCalendarItemIdentifier.shtml)