Calendar.Calendar.GetTitle
--------------------------

Queries the title of the calendar.

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

### Deprecated

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

MBS( "Calendar.Calendar.GetTitle"; calendarRef ) 

**MBS**( **"Calendar.Calendar.GetTitle";** /\* Queries the title of the calendar. \*/  
**$calendarRef**) /\* The id of the calendar to query. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| calendarRef | The id of the calendar to query. | $calendarRef |

### Result

Returns title or error.

### Description

Queries the title of the calendar.  
### Examples

Queries name of first calendar:

 Set Variable \[ $list ; Value: MBS ( "[Calendar.Calendars](CalendarCalendars.md)" ) \]  
Set Variable \[ $calendarRef ; Value: GetValue( $list ; 1 ) \]  
Set Variable \[ $title ; Value: MBS ( "Calendar.Calendar.GetTitle"; $calendarRef ) \]  
Get title for calendar by ID:

 MBS ( "Calendar.Calendar.GetTitle"; "B560017B-E414-4CD9-B3D1-3D6E7717D714" )  
Query all the names of all calendars:

 While(   
\[   
 names = "";   
 // query list of Calendar IDs  
 list = MBS ( "[Calendar.Calendars](CalendarCalendars.md)" );   
 count = ValueCount(list);   
 index = 1  
\] ;   
 index ≤ count ;   
\[   
 id = GetValue(list; index);   
 // query name for each ID  
 name = MBS ( "Calendar.Calendar.GetTitle"; id);   
 names = names &amp; name &amp; ¶;   
 index = index + 1   
\] ;   
// return all the names  
names )  
<small>  
Example result:   
Birthdays  
Work  
Family</small>### See also

- [Calendar.Calendar.GetColor](CalendarCalendarGetColor.md)
- [Calendar.Calendar.GetNotes](CalendarCalendarGetNotes.md)
- [Calendar.Calendar.GetType](CalendarCalendarGetType.md)
- [Calendar.Calendar.GetUID](CalendarCalendarGetUID.md)
- [Calendar.Calendar.IsEditable](CalendarCalendarIsEditable.md)
- [Calendar.Calendar.SetColor](CalendarCalendarSetColor.md)
- [Calendar.Calendar.SetNotes](CalendarCalendarSetNotes.md)
- [Calendar.Calendars](CalendarCalendars.md)
- [Events.Calendar.GetTitle](EventsCalendarGetTitle.md)
- [Events.Calendar.SetTitle](EventsCalendarSetTitle.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_)
- [Mac and iOS/Events/Calendar/Calendar Events](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Calendar/Calendar%20Events.shtml#1ScriptAnchor_)
- [Mac and iOS/Events/Calendar/Calendar Import](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Calendar/Calendar%20Import.shtml#1ScriptAnchor_)
- [Mac and iOS/Events/Calendar/Reminders](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Events/Calendar/Reminders.shtml#1ScriptAnchor_)

### FileMaker Magazin

- [Ausgabe 1/2014, Seite 32](https://filemaker-magazin.de/neuigkeit/3720-Appetithappen-FMM_201401)

This function checks for a license.

Created 18th August 2014 , last changed 25th February 2026

  
[Calendar.Calendar.GetNotes](CalendarCalendarGetNotes.md) - [Calendar.Calendar.GetType](CalendarCalendarGetType.md)

[HTML Version](CalendarCalendarGetTitle.shtml)