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.

Add your custom checkbox, checkbox formula or lookup fields to each specific calendar's filter

  • Navigate to the Calendars tab

  • Select the calendar to which you want to add a filter

    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:

    Image Added

    Create the lookup filter record (as an Admin)

    1. Go to the appropriate Calendar config record.

    2. On the Related subtab, find the Filterable Fields related list and click NewIn the Filterable Name fieldcreate a new Filterable Field.

    3. For ‘Filterable Name’, fill in the API name of the field on the Resource object that you want to filter on

    4. Click Save 

    The field will now have been added under filter popup on the corresponding calendar
    1. the lookup.

      Image Added
    2. Leave all other fields to their default values.

    3. Save the record.

    Change the lookup filter (as a User)

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

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

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

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

    5. The calendar is now filtered.

      Image Added
    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.

    Filter by label (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