Skip To Content
Get In Touch

Search...

Dynamic Lists – Setup and Use

If your business has requirements that go beyond our out-of-the-box features, reach out - we offer custom development services for CalendarAnything to meet your unique needs.

A Dynamic List establishes a connection between two otherwise unconnected data objects. The connection makes it possible to use filter criteria that would otherwise be unavailable. The filter criteria can be of two types:

  • Specified in calendar setup and considered dynamic because users can change the filter criteria in calendar setup as needed.
  • Built into the Dynamic List itself and consider non-dynamic because they can only be changed by an admin.

In this article:

Example Use Case

A calendar user wants to see events assigned to members of specific public groups and wants the option to change the groups prior to loading the calendar.

This diagram below shows the challenge in meeting the use case requirements given the existing data object relationships.

Notice the object relations. User relates to both Event and Public Group. However, no relationship exists between Event and Public Group. So how does the application determine whether a user on an Event record is a member of a specific public group? This issue can be resolved by a Dynamic List.

How to Create a Dynamic List (Admin)

Only admins can create Dynamic Lists.

These instructions are based on the assumption that a Dynamic List is being created for the example use case. Actual field selections will vary based upon your use case.

  1. In CalendarAnything, click the CalendarAnything Settings Gear.
  2. Select Admin Settings > Dynamic List.
  3. Click + Add. A new row becomes visible.
  4. Enter a Name for the Dynamic List, for this example, enter Public Group Member DL. The Edit pencil icon becomes enabled.
  5. Click Edit. A popup to add the Dynamic List details appears.
  6. Enter the field values shown below:
    • Object Name: Group Member (second occurrence, as the dropdown has two options with this name).  The Key Field becomes visible.
    • Key Field: User/Group ID. The Reference Grouping Object field becomes visible.
    • Reference Grouping Object: User
  7. Click +Add on the popup. The Search Criteria section becomes visible on the popup.
  8. Enter the field values shown below.
    • Field Name: Group ID. The Operator field defaults to equals.
    • Operator: equals
  9. Click the Dynamic icon (three right-facing arrows). The Search Criteria fields become grayed out.
    • If the list were being configuring with non-dynamic (built-in) search criteria, the admin would select each search value from the field to the right of the Operator.

  10. Click Save on the popup. The popup closes. The Admin Settings > Dynamic Lists page should now include the one you just created.
  11. Click Save.

How to Configure a Calendar to Use a Dynamic List Filter

These instructions assume the use of the Dynamic List created for the use case example.

  1. Right click your calendar name on the CalendarAnything sidebar.
  2. Select Edit to bring up the Create Custom Calendar wizard (calendar setup).
  3. Select the Filter Criteria step.
  4. Click + Add.
  5. Enter the three fields below:
    • Field Name: Assigned to
    • Operator: equals
    • Assigned To: Name of newly created Dynamic List — in example, this is Public Group Member DL.
  6. Select the gear icon next to the selected Dynamic List name.
  7. A popup to select search criteria values is displayed. Select the criteria value or values and click Save.

    Note: In cases where a Dynamic List is configured with non-dynamic (built-in) search criteria, a pop-up displays a read-only list of the criteria.
  8. Click Save to close the popup.
  9. Click Save to save the changes to your calendar setup.

 

Ready to see results?

Request a demo