Calendar.Notification.GetInsertedRecords
----------------------------------------

Queries list of inserted records.

| 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.Notification.GetInsertedRecords" ) ### Parameters

none

### Result

Returns list of record IDs.

### Description

Queries list of inserted records.  
Only valid in a notification script.  
  
Valus in this list are IDs of calendars, events, or reminders, depending on the notification (See [Calendar.Notification.GetWhat](CalendarNotificationGetWhat.md)). If all three lists (updatedRecords, DeletedRecords, InsertedRecords) are empty, that indicates everything has changed, and the client should refresh the calendar, event, and reminder information currently being used. Since this tends to be an expensive and inconvenient operation, it will only occur under unusual circumstances, such as when restoring from backup.  
### See also

- [Addressbook.Notification.GetInsertedRecords](AddressbookNotificationGetInsertedRecords.md)
- [Calendar.Notification.GetDeletedRecords](CalendarNotificationGetDeletedRecords.md)
- [Calendar.Notification.GetUpdatedRecords](CalendarNotificationGetUpdatedRecords.md)
- [Calendar.Notification.GetWhat](CalendarNotificationGetWhat.md)

### Example Databases

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

This function checks for a license.

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

  
[Calendar.Notification.GetDeletedRecords](CalendarNotificationGetDeletedRecords.md) - [Calendar.Notification.GetProcessID](CalendarNotificationGetProcessID.md)

[HTML Version](CalendarNotificationGetInsertedRecords.shtml)