Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can define what your calendars look like, by configuring Calendar records and linking them to Views using the Calendar Views related list. This article details the configuration options for these objects.

Info

Some settings are currently only supported on VisualForce calendars, as indicated below. For more information about differences between Lightning and VisualForce calendars, see: Calendar Differences

Some fields might not be visible in your org, because they have not been added to the page layout. If you’re not sure how to add fields to a page layout, check out this trailhead module.

Calendars

This object defines what information is shown on a reservation on the calendar.

Field

Description

Calendar Name

The name of the record in Salesforce.calendar record that allows you to recognise it

Dimension

The Dimension plotted on this calendar

Reservation Title Field

The API name of a reservation field to display in the search box on the calendar.

Default Background Color

The background color for reservation that have no Reservation Colors defined for them.

Default Text Color

The text color for reservation that have no Reservation Colors defined for them.

Default Border Color

The border color for reservation that have no Reservation Colors defined for them.

Prevent Horizontal Drag

Prevent users from dragging reservations to a new time on the same resource. You can still change the resource. Currently only supported on VF calendars.

Prevent Vertical Drag

Prevent users from dragging reservations to a resource. You can still change the reservation's time. Currently only supported on VF calendars.

Show Unlinked Reservation Types

When checked, reservations of types not linked to the Calendar will also be visible on the calendar. For linking Reservation Types to Calendars see: Reservation Types

Display In User Timezone

Enabling this setting will display reservations at the time they occur for the user viewing the calendar, instead of the local time. Currently only supported on VF calendars.

Group Overlapping Reservations

If more than this number of reservations overlap on the calendar, they will be grouped into a single block that can be expanded.

Calendar related lists

Calendars have the following related lists:

Related List

Description

Resource Titles

Resource Titles let you show information on each resource (or other dimension) on the calendar: Show fields on calendar resources

Calendar Views

Calendar Views link views to calendars, making them available to your users. See the Calendar Views section below.

Filterable Fields

Filterable Fields let you predefine which filters apply to the resources (or other dimensions) being shown on the VisualForce multi-calendar. More info can be found here: Configure Filterable Fields

Note that the new Lightning calendars have a different way to define filters, as described here: Calendar Filters

Reservation Colors

Reservation Colors let you define the appearance of reservations based on their status or type: Reservation Colors

Reservation Display Contexts

Reservation Display Contexts define which fields to show on reservations and their hover popups. More info here: Customise the Reservation fields shown on the calendar and hovers

Note that ‘Calendar’ is an optional lookup for Reservation Display Contexts. so it is normal for this related list to be empty.

Calendar Reservation Types

Calendar Reservation Types make reservations of specific types visible on a calendar. These records are created automatically when you create a new Calendar or Reservation Type. For more info: Reservation Types

Dynamic Grouping Fields

Dynamic Grouping Fields let you display a hierarchical structure for the resources (or other dimensions) being displayed on the calendar. For more info: Dynamic Dimension Grouping

Calendar Record Types

The Calendar object has the following record types:

Record Type

API Name

Corresponding Page Layout

Description

Multi Resource Calendar

Multi_Resource_Calendar

Multi Resource Calendar Layout

Configures a calendar showing multiple resources (or other dimensions).

Single Resource Calendar

Single_Resource_Calendar

Single Resource Calendar Layout

Configures a calendar showing one resource (or other dimension).

Schedule Calendar

Schedule_Calendar

Schedule Calendar Layout

Configures a schedule calendar. More info: Scheduler

Views

This object defines what a calendar looks like. For example: you can define the length of slots, the drag interval of reservations on the calendar and how long a view takes (a day, 2 days, a week, etc..)

Field

Description

View Name

The name of the record in Salesforce.

Label

The button text to display on the calendar.

Slot Duration

The time interval between each vertical line. Examples: 00:05 = 5 minutes, 24:00 = one day, 7.00:00 = one week.

Snap Duration

The time interval when dragging an existing reservation on the calendar. Examples: 00:05 = 5 minutes.

Slot Label Format

The text that is displayed in the label of each time column. You can use the following formats: Date & Time Format Tokens

Slot Width

The width of each time slot in pixels.

View Duration

The duration of the view. Examples: 24:00 = one day, 7.00:00 = one week, 30.00:00 = one month. Special values: Year, Month, Week, Workweek.

Weekend Highlight Color

Enter a hexadecimal or CSS color code to highlight weekends. Leave blank for no highlighting.

Unique Identifier

Used to uniquely identify this view, even if it has the same label as another view. May not contain special characters, and may not start with a number.

Hide Closed Times Without Reservations

This setting has been deprecated and replaced by the Column Hiding Behavior picklist.

Column Hiding Behavior

This picklist controls which columns to hide. See Column Hiding Behavior for all the options.

Expand Events To Fill Cell

If this is checked, events shorter than a cell will be expanded to fill the entire cell. These events will get a duration bar to indicate their actual times.

Enable Subcell Availability Rendering

When enabled, cells that are only partially available will have their unavailable parts grayed out. Consider disabling this feature for performance reasons if your calendar displays a lot of cells.

Enable Availability Aware Selection

When enabled, and the user selects a cell to create a new Reservation, only the available part of the cell will be selected.

Time Range Format

The format for the time range at the top of the calendar. It is possible to specify formats for the start and end date of the calendar. Using start{<formatting tokens>} and end{<formatting tokens>} for the formatting tokens use moment.js formatting tokens (http://momentjs.com/docs/#/displaying/format/). example: start{ddd MMM DD} - end{ddd MMM DD, YYYY} would result in Sat Sep 01 - Mon Oct 01, 2018

View related lists

Views have the following related lists:

Related List

Description

Calendar Views

Calendar Views link views to calendars, making them available to your users. See the Calendar Views section below.

Displays

Reservation Display Contexts define which fields to show on reservations and their hover popups. More info here: Customise the Reservation fields shown on the calendar and hovers

Note that ‘View’ is an optional lookup for Reservation Display Contexts. so it is normal for this related list to be empty.

Time Headers

Time Headers let you (optionally) customize what values are displayed in the header of each column on the calendar view. For more info: Time Headers

Calendar Views (junction between Calendars and Views)

This object allows you to link Calendars with Views. Basically, this defines the calendar view buttons (for example: Day / Week / Month) that you show on each calendar and their order.

Field

Description

Calendar View Name

The name of the record in Salesforce.

Calendar

The calendar on which this button appears.

View

The view it should show on the calendar.

Button Order

Defines where the button for this view is displayed on the calendar. Lower = to the left; Higher = to the right.

Default View

Makes this View the default for the calendar it is on.

Filter by label (Content by label)
calendar calendar-view view views calendars calendar-views
showLabelsfalse
max5
spacesBPD
showSpacefalse
sortmodified
typeshowSpacepagefalse
reversetruelabels
typepage
cqllabel in ( "calendar-view" , "view" , "calendar" , "calendars" , "calendar-views" , "views" ) and type = "page" and space = "BPD"
labelscalendar calendar-view view views calendars calendar-views
Page Properties
hiddentrue


Related issues




Panel
titleOn this page
Table of Contents