Calendar
Represents a calendar. This can be a default user calendar, public calendar, resource calendar, or holiday calendar.
Newly created users are assigned a default calendar automatically. Similarly, holiday calendars are created automatically for each organization.
Introduced in API version 45.0.
describeSObjects(), query(), retrieve(), search()
- Users with “View Setup and Configuration” user permissions can create, edit, and delete public and resource calendars in the user interface. All users, even those without the “View Setup and Configuration” user permission, can view calendars via the API.
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: This field indicates whether a user can save events to the calendar.
- Default value: false
- Type: string
- Properties: Filter, Group, idLookup, Sort
- Description: A user provided name that identifies the calendar. It is text-indexed for searchability. Note that this is not an enumerated field; it can be any string to a maximum length of 80 characters.
- Type: picklist
- Properties: Filter, Group, Restricted picklist, Sort
- Description: The type of the calendar.
- Possible values:
- Holiday — Holiday
- Public — Public
- Resource — Resource
- User — User
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The ID of the user that owns that calendar record. If Type=User, there’s a UserID associated (foreign key reference to the user). Otherwise, the user field is null.
- Relationship name: User
- Relationship type: relationship
- Refers to: User