Versions Compared

Key

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

This article only applies to VisualForce calendars.

  • For filter configuration on Lightning calendars, see Calendar Filters.

  • For more information on the difference between VisualForce and Lightning calendars, see Calendar Differences.

On VisualForce calendars, you can customize how the calendar dimensions (i.e. staff or resources) are filtered. You can create visible filters which can be adjusted by users on the calendar. You can also create hidden filters which are not visible to your users and therefore always apply.

Defining a filter for a checkbox (formula)

You can define a filter that checks for the value of a checkbox (or checkbox formula). Optionally, checkbox filters can be hidden from the calendar so that they always apply, and users won’t see any records that don’t meet the filter criterium.

Create the checkbox filter record (as an Admin)

  1. Go to the appropriate Calendar config record.

  2. On the Related subtab, create a new Filterable Field.

  3. For ‘Filterable Name’, fill in the API name of a checkbox that exists on the Resource (or other dimension) sObject.
    This can also be the API name of a checkbox formula, which allows you to create your own conditions.

  4. Leave all other fields to their default values.

  5. Save the record.

Change the lookup

Additional configuration options (as an Admin)

  • Choose a ‘Default Checkbox Value’ to set a default. This value can still be changed by the users on the calendar, unless you choose hide this filter.

  • Check ‘Hide from Calendar’ to make this filter invisible from the users on the calendar. This means the filter will always apply and can’t be changed by your calendar users.

Change the checkbox filter (as a User)

  1. Click on the filter icon in the top left of the calendar.

  2. In the section ‘Custom Filter Fields’, the checkbox filter will now be visible.appear as a dropdown.

    Image Added
  3. Select a value, and click ‘Apply and Close’ in the bottom right of the filter panel.
    Select ‘N/A’ if you want to disable the filter.

  4. The calendar is now filtered.

Defining a filter for a lookup

You can define a filter that checks for a value in a lookup field on the displayed dimensions. Say you have an organization with multiple buildings, and you only want to show one building at a time. You can do this by creating a lookup filter on the resource ‘Parent’ field.

Unfiltered calendar:

Create the lookup filter record (as an Admin)

  1. Go to the appropriate Calendar config record.

  2. On the Related subtab, create a new Filterable Field.

  3. For ‘Filterable Name’, fill in the API name of a lookup that exists on the Resource (or other dimension) sObject.

  4. Leave all other fields to their default values.

  5. Save the record.

Change the lookup filter (as a User)

  1. Click on the filter icon in the top left of the calendar.

  2. In the section ‘Custom Filter Fields’, the lookup filter will now be visible.

  3. Start typing in the lookup field, and a list of suggestions appears.

  4. After selecting a value, click ‘Apply and Close’ in the bottom right of the filter panel.

  5. The calendar is now filtered.

Note

If the lookup filter does not show a list of suggestions, this could be due to a known issue which can be solved by creating a tab for the object that the lookup refers to.

Content by Label
showLabelsfalse
max5
spacesBPD
showSpacefalse
sortmodified
typepage
reversetrue
labelsfilter filterable field resource group staff calendar
cqllabel in ( "filter" , "resource" , "group" , "staff" , "field" , "calendar" , "filterable" ) and type = "page" and space = "BPD"


Page Properties
hiddentrue


Related issues





Panel
titleOn this page:
Table of Contents