Calendar.Item.GetAlarms
-----------------------

Queries the list of alarms for this item.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.5](newinversion35.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.Item.GetAlarms"; itemRef ) 

**MBS**( **"Calendar.Item.GetAlarms";** /\* Queries the list of alarms for this item. \*/  
**$itemRef**) /\* The reference to the calendar item. Can be reference to event or reminder.e.g. $eventRef \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| itemRef | The reference to the calendar item. Can be reference to event or reminder. | $eventRef |

### Result

Returns list of alarm IDs or error.

### Description

Queries the list of alarms for this item.  
Seems like there often is an alarm registered but with Action "NONE". You can ignore it.  
### See also

- [Calendar.Item.AddAlarm](CalendarItemAddAlarm.md)
- [Calendar.Item.GetAllDay](CalendarItemGetAllDay.md)
- [Calendar.Item.GetNotes](CalendarItemGetNotes.md)
- [Calendar.Item.GetTitle](CalendarItemGetTitle.md)
- [Calendar.Item.HasAlarm](CalendarItemHasAlarm.md)
- [Calendar.Item.NextAlarmDate](CalendarItemNextAlarmDate.md)
- [Calendar.Item.RemoveAlarm](CalendarItemRemoveAlarm.md)
- [Calendar.Item.SetAllDay](CalendarItemSetAllDay.md)
- [Calendar.Item.SetNotes](CalendarItemSetNotes.md)

### Example Databases

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

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Calendar.Item.Duplicate](CalendarItemDuplicate.md) - [Calendar.Item.GetAllDay](CalendarItemGetAllDay.md)

[HTML Version](CalendarItemGetAlarms.shtml)