Skip To Content
Back to Help Center

Creating and Embedding Dynamic Calendars – LWCCategorized in LWCCategorized in LWC Admin Guide

In CalendarAnything LWC, calendars can be created to render dynamically based on one or more dynamic filters passed from a selected record. These calendars are referred to as “dynamic” calendars. As web components, dynamic calendars can be embedded into your application detail pages.

In this article, you will learn about:

How to create a dynamic calendar:

Note!If unfamiliar with the CalendarAnything LWC Create and Edit Calendars wizard, refer to Create, Edit, and Share Calendars for help with using the wizard.

These instructions show how to create a dynamic calendar based on an account associated with a selected record.

Follow these steps to create a dynamic calendar:

  1. Access the Create and Edit Calendars wizard.
  2. Complete the Name and Color step. For this example, name the calendar Dynamic Account.
  3. Complete the Calendar Criteria step.
  4. Select the Filter Criteria step.
  5. Click AddA row to add a filter appears.
  6. Select the Field Name and Operator.
  7. Click the dynamic filter icon. The field to add a value becomes read only.
  8. To add another dynamic filter, repeat steps 5 – 7.
  9. When finished creating the calendar, click Save.

How to embed a dynamic calendar in a record detail page

Dynamic calendars need to be placed in a page that displays a detail record. Following our example, these instructions show you how to embed the newly created Dynamic Account calendar into the Account page.

Follow these steps:

  1. Navigate to the detail page in which you want to embed the calendar.  For this example, we’ll select an account from the Accounts page.
  2. Select an Account Name. The account detail page shows details of the selected account.
  3. Click the Salesforce gear icon and then select Edit Page to bring up the Lightning App Builder. Note: If you do not see the Edit Page option, contact your system administrator.
  4. In the Lightning App Builder, in the left sidebar, find the CalendarAnything LWC Performance component and drag it onto the section of the page in which you want the component to appear. The component properties panel appears on the right side of the page.

  5. On the component properties panel, enter id into the Record Dynamic Filter Field property.
  6. Click the Save button.

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.