# Calendar

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FEFhVjUviwQXDdK7yKCGM%2Fimage%20(75).avif?alt=media&#x26;token=1090f0f1-7f9d-4475-9e0f-c0781025595c" alt="" width="375"><figcaption></figcaption></figure>

***

## Tutorials

### **Getting Started**

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Learn the basics</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FMvM0a6mpK88UcmCRoqZe%2Fimage%20(7).avif?alt=media&#x26;token=2ddd90cb-8290-4fdc-9aa8-d5616e6d0554">image (7).avif</a></td><td><a href="../tutorials/components/data-table/learn-the-basics">learn-the-basics</a></td></tr><tr><td><strong>101 - How to use the Calendar Component</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FKubE7tse1yBrfwySopT8%2Fimage%20(8).avif?alt=media&#x26;token=09c6c543-1bd1-44c6-94d4-28f7a6b64a3c">image (8).avif</a></td><td><a href="../tutorials/components/calendar/calendar-101-tutorial">calendar-101-tutorial</a></td></tr><tr><td><strong>Watch Tim's guided video tutorial on configuring the Calendar</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FFdxYLwNG1SVwZuQ6gUPd%2Fimage%20(9).avif?alt=media&#x26;token=0911f022-6d25-4ccd-b10e-17b3d16af383">image (9).avif</a></td><td><a href="https://www.linkedin.com/posts/tim-combridge_avonni-salesforce-salesforceflow-activity-7207245371687792640-N_BU">https://www.linkedin.com/posts/tim-combridge_avonni-salesforce-salesforceflow-activity-7207245371687792640-N_BU</a></td></tr></tbody></table>

### Working with Events

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>How to Schedule Events with Drag &#x26; Drop</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FUvP2v31UV2NcpCaaNY8K%2Fimage%20(7).gif?alt=media&#x26;token=9b0e9563-cfea-4684-9812-6593e9a4934d">image (7).gif</a></td><td><a href="../tutorials/components/calendar/how-to-create-events-by-dragging-in-the-avonni-calendar">how-to-create-events-by-dragging-in-the-avonni-calendar</a></td></tr><tr><td><strong>How to Reschedule Events with Drag &#x26; Drop</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F50oEiBPk1cEGJYbqSj1t%2Fimage%20(6).gif?alt=media&#x26;token=636f17b4-30f7-4dc9-bfbe-764d6eb18074">image (6).gif</a></td><td><a href="../tutorials/components/calendar/how-to-reschedule-events-with-drag-and-drop">how-to-reschedule-events-with-drag-and-drop</a></td></tr><tr><td><strong>How to Edit Events on Hover using Actions</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FDN5yJD5xTyUbtLX1QA0e%2Fimage%20(10).avif?alt=media&#x26;token=4f4d1a26-e11c-4f21-83e9-345243df0242">image (10).avif</a></td><td><a href="../tutorials/components/calendar/how-to-add-an-edit-action-to-events">how-to-add-an-edit-action-to-events</a></td></tr><tr><td><strong>How to Add a "New Event" Button</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FIn6tD61LZudb14Vi1fYX%2Fimage%20(11).avif?alt=media&#x26;token=7aeaad7a-b604-4ca1-88cd-48f326952547">image (11).avif</a></td><td><a href="../tutorials/components/calendar/how-to-add-a-new-event-button-to-the-avonni-calendar-header">how-to-add-a-new-event-button-to-the-avonni-calendar-header</a></td></tr><tr><td><strong>How to Color-Code Calendar Entries</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FSO4J24eeaWJcb2OA4DhQ%2Fimage%20(12).avif?alt=media&#x26;token=0d0008e4-9ef5-4427-ad57-7c0042477761">image (12).avif</a></td><td><a href="../tutorials/components/calendar/how-to-color-code-calendar-entries-in-the-avonni-calendar">how-to-color-code-calendar-entries-in-the-avonni-calendar</a></td></tr><tr><td><strong>Nagivate to the record page when clicking on an event</strong></td><td></td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fp4znFgvyGVfrmPIER1bO%2Fimage%20(10)%20(1).avif?alt=media&#x26;token=54bdf6e4-4f7e-4845-9725-c95aee0ecea1">image (10) (1).avif</a></td><td></td></tr></tbody></table>

### Advanced Configurations

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>How to connect multiple Data Sources</strong></td><td>This tutorial explains how to link multiple sources collection for events to the calendar.</td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FbS9NFpCKCEyflkzhkvy8%2Fimage%20(13).avif?alt=media&#x26;token=a84c32ee-868c-4575-b0e6-1c2569057975">image (13).avif</a></td><td><a href="../tutorials/components/calendar/how-to-connect-multiple-data-sources-to-the-avonni-calendar">how-to-connect-multiple-data-sources-to-the-avonni-calendar</a></td></tr></tbody></table>

### Real-World Examples

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Building a Unified Marketing Campaign Timeline</strong></td><td>Explore how a marketing agency overcomes complex campaign challenges.</td><td></td><td><a href="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F9Dokok0ALOOKHkQP5R8a%2Fimage%20(14).avif?alt=media&#x26;token=e9874988-45b9-47b0-8ae8-cc358aa6da35">image (14).avif</a></td><td><a href="../tutorials/projects/building-a-marketing-campaign-calendar">building-a-marketing-campaign-calendar</a></td></tr></tbody></table>

***

## Configuring the Calendar

### **Data Source**

The [Data Source](https://docs.avonnicomponents.com/flow/component-builder/data-sources/understanding-data-sources) is where you define and input the necessary information for the calendar to function effectively. It comprises two main elements: **Resources and Events**.

* **Resources**: Resources refer to the entities or assets involved in your events. These could be meeting rooms, equipment, personnel, or other key elements relevant to your events. Resources are fundamental in providing a structured view of what is available and when.

{% hint style="info" %}
Only a resource collection can be associated with the Avonni Calendar.
{% endhint %}

* **Events**: Events are the scheduled activities or appointments that must be tracked on the calendar. They are the primary elements that users interact with and can range from meetings, appointments, project deadlines, etc. Each event is typically linked to one or more resources, providing a comprehensive overview of how resources are utilized over time.

{% hint style="info" %}
If needed, events can come from multiple collections. [View this tutorial](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/how-to-connect-multiple-data-sources-to-the-avonni-calendar) to learn more.
{% endhint %}

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F2AhlyzwIgjryPfX4Qqur%2F2023-11-26_11-27-57.png?alt=media&#x26;token=bd3968d7-fcb1-4697-a178-80f1012f5f7c" alt=""><figcaption></figcaption></figure>

#### Adding Data

The Avonni Calendar offers flexibility in how you provide data:

<table><thead><tr><th width="152">Data Source</th><th>Description</th><th>Best Use Cases</th></tr></thead><tbody><tr><td><a href="../component-builder/data-sources/manual"><strong>Manual</strong></a></td><td>Add events and resources directly within the component</td><td>Testing, simple scenarios, data not in Salesforce.</td></tr><tr><td><a href="../tutorials/components/calendar/using-a-variable-data-source"><strong>Variable</strong></a></td><td>Connect to collections created in Salesforce Flows (via 'Get Records')</td><td>Dynamic display based on Salesforce records.</td></tr><tr><td><a href="../component-builder/data-sources/query"><strong>Query</strong></a></td><td>Write queries to pull data, apply filters, and handle large datasets</td><td>Complex data retrieval, multiple Salesforce objects, large volumes.</td></tr></tbody></table>

{% content-ref url="../tutorials/components/calendar/using-a-variable-data-source" %}
[using-a-variable-data-source](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/using-a-variable-data-source)
{% endcontent-ref %}

### **Data Mappings**

**Importance of Data Mapping**

Completing the data mappings is crucial when using a variable data source. Data mapping involves aligning Salesforce fields from the 'Get Records' collections with the corresponding attributes in the Avonni Calendar Component. This process ensures that the data fetched from Salesforce is accurately represented and organized within the calendar.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F2d1GDd1v75pPZOR2QKjc%2F2023-11-26_11-27-57-3.png?alt=media&#x26;token=3ff9c507-cd35-4416-9a02-7947e29b8b3d" alt=""><figcaption></figcaption></figure>

#### **How Data Mapping Works**

Data mapping is a translation process where you specify which Salesforce field corresponds to each attribute in the Avonni Calendar. For example:

* If your 'Get Records' collection includes a field for event start dates in Salesforce, you need to map this field to the start date attribute of the Avonni Calendar event.
* Similarly, a resource name in Salesforce should be mapped to the resource identifier in the calendar.

{% hint style="warning" %}
Particular attention should be given to the **resource name attribute** in the events section. This attribute is crucial because it links each event to its corresponding resource in the calendar.

**Examples**:

* **With Resource Name Mapping**: Suppose you have two meeting rooms, 'Room A' and 'Room B'. If an event titled 'Team Meeting' is mapped to 'Room A', it will appear under 'Room A' in the calendar. Similarly, an event 'Client Presentation' mapped to 'Room B' will be displayed under 'Room B'.
* **Without Resource Name Mapping**: If the resource name isn’t mapped, both 'Team Meeting' and 'Client Presentation' will appear under a single, undefined resource, making it difficult to identify which event is happening in which room.

<img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FEsnHW3WMgQ39SFRl0qtq%2F2023-11-26_11-37-37.png?alt=media&#x26;token=74b016a4-c0ea-4515-9fa8-2a79e9f36333" alt="" data-size="original">
{% endhint %}

This mapping process is vital because it dictates how data from your Salesforce environment is displayed and interacted with in the calendar. Correct mapping ensures that events and resources are shown correctly, making the calendar a reliable and effective tool for managing schedules and resources.

#### **Finalizing the Setup**

After completing the data mappings, the Avonni Calendar will be ready to visually represent your Salesforce data in the chosen display – calendar, timeline, or agenda.

## Changing the Properties

### Selected Display

The Avonni Calendar offers three distinct display formats to cater to different scheduling and organizational preferences. Each format provides a unique way of viewing and interacting with your events and resources.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FsNNzYiQMI1YEAUgYW7ZT%2F2024-02-18_20-59-11.png?alt=media&#x26;token=92af99a2-b166-4ce5-850c-e052a584b27e" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="178.33333333333331">Selected Display</th><th width="267">Description</th><th>Image</th></tr></thead><tbody><tr><td><strong>Timeline</strong></td><td>Gives users a linear visual representation of their schedule over a selectable period.</td><td><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fmx9uHVTUIIQjBNGyr5KR%2F2023-06-21_14-05-33.png?alt=media&#x26;token=24649905-a630-44bf-bc0d-4d2457a09910" alt=""></td></tr><tr><td><strong>Calendar</strong></td><td>This is the traditional grid-based view that most people associate with calendars.</td><td><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FXZUwZSX7yIAzMIGPjVym%2F2023-06-21_14-06-37.png?alt=media&#x26;token=b194ae1b-1a2a-4d33-b1a3-25abbac7abeb" alt=""></td></tr><tr><td><strong>Agenda</strong></td><td>Each entry in the list includes details about the event and is arranged in chronological order.</td><td><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FPTyhKXkJiX3XV0q9NOya%2F2023-06-21_14-07-11.png?alt=media&#x26;token=62d9f7bf-c963-476a-8462-ff543fb6acdb" alt=""></td></tr></tbody></table>

### Advanced Options

Here's a concise description of the advanced options available for the Avonni Calendar component

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FNlNTHvGcvAbC0vAolp7a%2F2024-02-18_21-00-04.png?alt=media&#x26;token=d802288b-1e40-42bc-98ff-c2367acf053f" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="217">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Hidden Displays</strong></td><td>This option lets you hide certain display types from the toolbar. The toolbar button will be hidden if only one or no display type is visible.</td></tr><tr><td><strong>Timeline Variant</strong></td><td>Determines the orientation of the schedule when the selected display is a timeline.</td></tr><tr><td><strong>Pull to Boundary</strong></td><td>Pull to Boundary enables the calendar component to expand to the left and right edges, eliminating any margin between the calendar and the main component.</td></tr><tr><td><strong>Zoom to Fit</strong></td><td>Zoom to fit prevents horizontal scrolling in the timeline display, ensuring all events fit within the viewable area for easy access and clear visualization.</td></tr><tr><td><a href="../tutorials/components/calendar/how-to-customize-time-spans"><strong>Time Spans</strong></a></td><td>Avonni Calendar allows customizable day, week, or month views, enhancing planning with adjustable, multi-day spans. <a href="../tutorials/components/calendar/how-to-customize-time-spans">Learn more</a>.</td></tr></tbody></table>

These options offer greater customization to fit your needs and enhance the user experience in calendar management and navigation.

### Header

The Header section provides various customization options for the top header.&#x20;

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FJr3UqfqWqmb66IaYwYEI%2F2023-11-26_13-23-39.png?alt=media&#x26;token=0d9195c4-767f-43b5-945f-5fd7d5684027" alt=""><figcaption></figcaption></figure>

Here's a quick run-down of the options available:

<table><thead><tr><th width="217">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Hide Header</strong></td><td>This property allows you to hide the top toolbar if necessary. If selected, the entire toolbar will not be displayed.</td></tr><tr><td><strong>Title</strong></td><td>This property lets you set a custom title for the toolbar. The title you input will prominently display on the toolbar, clearly identifying your calendar.</td></tr><tr><td><strong>Avatar</strong></td><td>This option lets you add an avatar to the toolbar. This can be useful for personalization or to provide visual cues about the calendar's owner or context.</td></tr><tr><td><strong>Actions</strong></td><td>This property enables you to add button actions on the toolbar. These actions are triggered based on the interactions created from the <a href="../component-builder/interactions-panel">Interaction Panel</a>. </td></tr></tbody></table>

### Available Times

The Available Times section provides multiple options to customize the time frames that appear on your calendar. This feature is handy for focusing on specific periods of interest.&#x20;

Here are the available options:

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F1a7555gp3de6rZyjSCT6%2F2024-02-18_21-01-35.png?alt=media&#x26;token=283e8292-8af2-40ed-8ef1-0c5fc53e766b" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="172">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Days</strong></td><td>This option allows you to specify which days of the week should be visible on the calendar. If selected, the calendar will only display the chosen days, effectively hiding the rest.</td></tr><tr><td><strong>Month</strong></td><td>Similar to the Days option, you can choose which months should be visible on your calendar. Once a selection is made, the calendar will only show the selected months.</td></tr><tr><td><strong>Time Frame</strong></td><td>This feature allows you to define a custom time frame for the calendar. Using this, you can precisely control the hours visible on your calendar, effectively focusing on the time slots most.</td></tr></tbody></table>

{% hint style="warning" %}
You need to use a specific syntax pattern to define an available time frame in the component. Each time frame should be expressed as a string in the format "start-end". The 'start' and 'end' times must be formatted according to the ISO8601 time standard, essentially a 24-hour clock format.

**Example:**

If you want to set the available time from 8 AM to 6 PM, you should write it as `08:00-18:00`. In this example:

* **`08:00`** represents the start time (8 AM).
* **`18:00`** represents the end time (6 PM).

This format ensures a clear and standardized way to specify time frames, making it easier to configure and understand the available time slots.\
![](https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FXKQtCyXh5RM8RTRY1Xqc%2F2023-11-26_13-26-01.png?alt=media\&token=1cb279c8-2bc1-4c83-8af8-5f456cf64163)
{% endhint %}

***

### Context Menu Actions

The Context Menu Action section provides options to add specific actions to the context menu of your calendar. This enhances the interactivity and functionality of your calendar events. Here are the available options:

<table><thead><tr><th width="172">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Event Actions</strong></td><td>These are button actions that appear in the context menu and detail popover of an event. By setting these, you can define custom actions that users can perform directly from an event, <a href="../tutorials/components/calendar/how-to-add-an-edit-action-to-events">such as editing</a> or deleting the event.<br><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FLsNZ8erchB3sjssCfARz%2F2023-10-30_16-46-29.png?alt=media&#x26;token=f6bfb2c1-9542-4b50-9835-9c4cf5bc5c76" alt=""></td></tr><tr><td><strong>Empty Spot Actions</strong></td><td>These are button actions that appear in the context menu when clicking on an empty spot in the calendar. This allows you to provide users with options to perform actions when no specific event is selected, such as creating a new event. <a href="../tutorials/components/calendar/how-to-customize-the-right-click-menu">Learn more</a>.<br><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2F8SzXBoMoCfNKXJLde1IZ%2FMenu%20clic%20droit%20personnalise%CC%8122.png?alt=media&#x26;token=d5fba2ae-4a30-4bab-bd23-fb86107c274b" alt=""></td></tr></tbody></table>

### Event Display

The Event Display section of the Avonni Calendar component properties panel offers various options for customizing the visual aesthetics of your calendar events.&#x20;

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FBGd5HEwdb999Yv75yuHI%2F2024-04-03_12-29-59.png?alt=media&#x26;token=b17ae20d-fede-4110-b0b0-854e7bae5327" alt=""><figcaption></figcaption></figure>

Here are the available options:

#### **Theme**:&#x20;

This option lets you choose a visual theme for your events. You can select from several preset themes, such as **default**, **transparent**, **line**, **hollow**, or **rounded**, each offering a unique visual style to suit your personal preference or brand identity.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FwXhNLxhIPOisAMuAOBrL%2F2023-06-21_16-30-35.png?alt=media&#x26;token=c93dd0a0-1bc6-403d-ab04-5fa2cfa8a652" alt=""><figcaption><p>Theme variations</p></figcaption></figure>

#### **Palette**:&#x20;

This feature lets you assign different colors from a chosen palette to each resource. A color palette is a collection of colors that provide consistent color usage across different resources. This helps visually differentiate and quickly identify different types of resources on your calendar.

#### **Popover Fields**:&#x20;

When a user hovers over an event, these fields will be displayed in a small popup box (or a 'popover'). This allows users to view essential event details without clicking on them. You can add any field information on the Popover.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FkHx6u810ruWDuowq2HP9%2F2024-04-03_12-37-00%20(1).gif?alt=media&#x26;token=64233cea-7636-43d6-a0c6-b8cade9935a4" alt=""><figcaption></figcaption></figure>

### Filter

The Filter section offers multiple customization options for your calendar's side panel.&#x20;

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FTCu7OyRCqaEcR4uOHqih%2F2024-04-10_21-13-13.png?alt=media&#x26;token=9d966236-5bdf-4231-b78a-dd261feb8a53" alt=""><figcaption></figcaption></figure>

Here are the options available:

<table><thead><tr><th width="217">Attribute</th><th>Description</th></tr></thead><tbody><tr><td><strong>Hide Resources Filter</strong></td><td>You can hide the resources filter. This filter is located in the toolbar in the timeline display, but in other displays, it is found in the side panel.</td></tr><tr><td><strong>Resources Filter Label</strong></td><td>The 'Resources' filter label can be renamed if no resources were hidden in the previous setting.</td></tr><tr><td><strong>Hide Date Picker</strong></td><td>Selecting this option prevents you from choosing a specific date from the header of the calendar.</td></tr><tr><td><strong>Type</strong></td><td><p>This option controls the position of the filter menu. Choose from:</p><ul><li><strong>Horizontal:</strong> Displays the filter menu in a horizontal bar across the component.</li><li><strong>Popover:</strong> Shows the filter menu in a compact window that appears when a button is clicked.</li><li><strong>Panel:</strong> Presents the filter menu in a side panel that slides out from the edge of the component</li></ul></td></tr></tbody></table>

***

### Search

This option lets you add a search bar where users can find events by title. If enabled, you can also customize the following:

* **Placeholder Text:** This sets the text displayed in the search bar before the user starts typing (e.g., "Search Events").
* **Search Box Position:** Choose where the search bar appears: left, right, centered, filling the width, or as a separate panel.

***

### Side Panel

### Calendar Appearance

Tailor the Avonni Calendar's visual presentation to create a seamless, native-like experience within Salesforce. These customizable settings allow you to refine the calendar's appearance, ensuring it integrates smoothly and enhances your Salesforce environment.

#### Pull to boundary

With this, you can expand your calendar to full screen, pushing out those unnecessary margins. This gives your users a more integrated view of the calendar.&#x20;

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FgvCEdLegrKgUNEcj9uI5%2F2024-02-18_21-02-39.png?alt=media&#x26;token=3c1e05b5-2d1d-4380-985d-da797b6d4f91" alt=""><figcaption></figcaption></figure>

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FUCvLTqnzcLQYCeXnFdYI%2F2024-02-04_07-36-00.png?alt=media&#x26;token=26b92f49-a466-47ca-a36f-4e267f6aa694" alt=""><figcaption></figcaption></figure>

#### Full height

Optimize your calendar's integration within the user interface by utilizing the full height setting. This ensures the calendar fits perfectly within the user's current screen size, eliminating the need to scroll and allowing complete calendar visibility at a glance.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FmpMVXS9KcNwf7dfd3fIy%2F2024-02-18_21-03-49.png?alt=media&#x26;token=678efbd6-30a6-4fba-a816-5110479d26b6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FwzFy75FoHRHUtktLMxdp%2F2024-02-04_07-42-42%20(1).gif?alt=media&#x26;token=2ebe8d87-5b64-487d-8cdd-129f57db75b6" alt=""><figcaption></figcaption></figure>

## Interactions

Interactions connect Calendar events to flow actions. Open the **Interactions** tab in the Component Builder to configure them.

Each interaction fires when a specific thing happens on the Calendar — a user drags to create an event, clicks an existing event, clicks a toolbar button, etc. You then choose what the Calendar should do in response: open a flow dialog, navigate to a record, show a toast, update records, and more.

### Prevent Past Event Creation

Toggle on **Prevent Past Event Creation** at the top of the Interactions tab to stop users from creating new events or dragging existing events into the past. When enabled, empty spots in the past are not clickable, and existing events cannot be dropped on past dates.

### Interaction Events

The Calendar exposes eight interaction events. Each event provides access to different contextual data that you can pass to your actions.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FOdlJs6TILxvwkkf3BqJe%2F2024-02-03_15-16-02.png?alt=media&#x26;token=d6d038cd-ec88-4492-97bb-de10c3ac1b29" alt=""><figcaption></figcaption></figure>

| Interaction                  | Fires when...                                                                                                                                                                                                   | Context data available                                                         |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **New Event Drag**           | <p>A user clicks or drags on an empty area to create a new event.<br><a href="../tutorials/components/calendar/how-to-create-events-by-dragging-in-the-avonni-calendar">View tutorial</a><strong>.</strong></p> | Start Date Time, End Date Time of the dragged range                            |
| **Existing Event Drag**      | <p>A user drags an existing event to a new time slot.<br><a href="../tutorials/components/calendar/how-to-reschedule-events-with-drag-and-drop">View Tutorial</a>.</p>                                          | The event's name (key), plus its new Start Date Time and End Date Time         |
| **Event Select**             | A user clicks on an event                                                                                                                                                                                       | The full event SObject record with all mapped fields                           |
| **Event Action Click**       | A user clicks a context menu action on an event (e.g., Edit, Delete)                                                                                                                                            | The full event SObject record, plus the action name that was clicked           |
| **Empty Spot Action Click**  | A user clicks a context menu action on an empty time slot                                                                                                                                                       | The action name, plus the Start Date Time and End Date Time of that empty spot |
| **Toolbar Action Click**     | A user clicks a custom action button in the toolbar                                                                                                                                                             | The toolbar action name                                                        |
| **Toolbar Display Select**   | A user picks a display mode from the toolbar (Timeline, Calendar, Agenda)                                                                                                                                       | The selected display name                                                      |
| **Toolbar Time Span Select** | A user picks a time span from the toolbar (Day, Week, Month, etc.)                                                                                                                                              | The selected time span name                                                    |

### Available Action Types Per Event

Not every action type is available on every event. Here is what you can configure:

| Action type                 | New Event Drag | Existing Event Drag | Event Select | Event Action Click | Empty Spot Action Click | Toolbar Action Click | Display Select | Time Span Select |
| --------------------------- | -------------- | ------------------- | ------------ | ------------------ | ----------------------- | -------------------- | -------------- | ---------------- |
| **Navigate**                | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Open Alert Modal**        | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Open Confirm Dialog**     | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Show Toast Notification** | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Flow Navigation**         | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Open Flow Dialog**        | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Open Flow Panel**         | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Open Quick Action**       | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Download**                | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | —              | —                |
| **Update Records**          | —              | Yes                 | —            | —                  | —                       | —                    | —              | —                |
| **Refresh All Queries**     | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Fire Confetti**           | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |
| **Control Console Tab**     | Yes            | Yes                 | Yes          | Yes                | Yes                     | Yes                  | Yes            | Yes              |

> <mark style="background-color:$success;">**Tip**</mark>**:** **Update Records** is only available on **Existing Event Drag** because dragging an event to a new position is the most common scenario where you want to save the updated start/end times directly to the record.

### Context Data and Input Variables

When you configure an action (such as [Open Flow Dialog](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/open-flow-dialog)), you can pass context data from the interaction event to your action as input variables. The available context data depends on which event you're configuring.

#### New Event Drag and Empty Spot Action Click

These events provide the start and end datetimes for the area the user interacted with. When you add an input variable to an Open Flow Dialog or Open Flow Panel, the **Value** dropdown shows:

| Value option        | What it passes                                                               |
| ------------------- | ---------------------------------------------------------------------------- |
| **Start Date Time** | The start datetime of the area the user dragged or clicked (ISO 8601 format) |
| **End Date Time**   | The end datetime of the area the user dragged or clicked (ISO 8601 format)   |
| **Custom**          | Lets you enter a custom value, flow variable, or expression                  |

> **Example:** You have a "Schedule Appointment" flow that expects two input variables: `varInputStartDateTime` and `varInputEndDateTime`. On the **New Event Drag** interaction, add an **Open Flow Dialog** action, select your flow, then add two input variables. Set the first variable's name to `varInputStartDateTime` and its value to **Start Date Time**. Set the second to `varInputEndDateTime` with the value **End Date Time**. When a user drags across the Calendar, your scheduling flow opens with the correct time range pre-filled.

#### Event Select and Event Action Click

These events give you access to the full SObject record of the event the user clicked. In the **Value** dropdown, you can select item variables that correspond to any field from your event data mapping.

> **Example:** Your events are mapped from the `Event` object. You set up an **Open Flow Dialog** on Event Select that opens an "Edit Event" flow. You add an input variable named `recordId` with the value set to the event's `Id` field from the item variables. Your target flow receives the exact record ID of the event the user clicked.

#### Existing Event Drag

This event gives you the event's key (name) and its new start/end times after the drag. This is typically used with [**Update Records**](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/update-records) to save the new position directly, or with [**Open Flow Dialog**](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/open-flow-dialog) to confirm the change.

#### Toolbar Action Click, Display Select, and Time Span Select

These events provide only the name of the action, display, or time span that was selected. They do not expose item-level context data.

### Chaining Actions

You can add multiple actions to the same interaction event. They run in the order you define them.

For [**Open Flow Dialog**](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/open-flow-dialog) and [**Open Flow Panel**](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/open-flow-panel), you also get three chaining hooks:

| Hook          | Fires when...                                      | Common use                                                   |
| ------------- | -------------------------------------------------- | ------------------------------------------------------------ |
| **On Finish** | The launched flow finishes successfully            | Show a toast confirmation, refresh query data, fire confetti |
| **On Close**  | The user closes the dialog/panel without finishing | Show a warning toast, navigate somewhere                     |
| **On Error**  | The launched flow throws an error                  | Show an error toast                                          |

Each hook supports its own set of chained actions: [Show Toast](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/show-toast), [Flow Navigation](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/flow-navigation), [Refresh All Queries](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/refresh-all-queries), and [Fire Confetti](https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/fire-confetti).

> **Example:** You have an Open Flow Dialog that launches a "Create Event" flow. On **On Finish**, you add a **Show Toast** ("Event created!") followed by a **Refresh All Queries** so the Calendar immediately shows the new event. On **On Error**, you add a **Show Toast** with the Error variant so the user knows something went wrong.

### Tutorials

| Name                                                                                                                                                                                             | Description                                                                                | Illustration                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [**Create an edit action on an event**](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/how-to-add-an-edit-action-to-events)                                                | Learn to enable hover-triggered event editing in Avonni Calendar.                          | ![](https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FZGET8vUjrNOuUHwCBKul%2F2023-08-31_11-41-50.png?alt=media\&token=5a8a26bc-b9f1-4037-b836-6ad7ea337f84)         |
| [**Create a new event button on the Header**](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/how-to-add-a-new-event-button-to-the-avonni-calendar-header)                  | Add "New" button to Avonni Calendar for creating Salesforce events.                        | ![](https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fd0tFXL5D4tnpkLTyArOQ%2F2023-08-31_11-42-26.png?alt=media\&token=169b6962-aaff-42fc-b3e9-471817e6d3a0)         |
| [**Create events easily by dragging from start time to end time**](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/how-to-create-events-by-dragging-in-the-avonni-calendar) | The Avonni Calendar allows users to create events easily by dragging them on the calendar. | ![](https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FXC4WlbWpc4KsXt77E3MR%2F2024-01-24_21-42-02%20\(1\).gif?alt=media\&token=dba4729b-d99b-43dc-bd3b-ed2685b05dd3) |
| [**Drag and drop to reschedule events**](https://docs.avonnicomponents.com/flow/tutorials/components/calendar/how-to-reschedule-events-with-drag-and-drop)                                       | How to reschedule events on  with simple drag-and-drop functionality.                      | ![](https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2FV8uxAVWScnNvpro7OE4k%2F2024-04-03_21-24-34%20\(1\).gif?alt=media\&token=890545a0-5f40-4a95-8349-14d58e10b3cc) |

***

## Output Variables

The Scheduler exposes several output variables you can reference in your flow after the screen. To use them, select the screen element in Flow Builder, then the Scheduler component, and pick the output variable you need.

### Event Selection

When users click on an event in the Scheduler, these variables update automatically.

{% hint style="warning" %}

#### Important

All datetime output variables (New Event Start, New Event End, Dragged Event Start, etc.) return values in **ISO 8601 format** as Text. If your target flow expects a DateTime variable, use an Assignment element to convert the text value, or set your flow variable type to Text and parse it downstream.
{% endhint %}

| Output variable         | Type             | What it returns                                                                                                                      |
| ----------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Selected Event**      | Record (SObject) | The full Salesforce record of the event the user clicked. Use this to display event details on the next screen or update the record. |
| **Selected Event Name** | Text (String)    | The name of the selected event.                                                                                                      |

> **Example:** A receptionist clicks on an appointment in the Scheduler. Use **Selected Event** to display the appointment details and offer a "Reschedule" or "Cancel" action on the next screen.

### Event Action Clicks

When users click an action from an event's context menu, these variables identify which action was triggered and on which event.

| Output variable                     | Type             | What it returns                                                                                                                                      |
| ----------------------------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Clicked Event Action Event**      | Record (SObject) | The full Salesforce record of the event where the user clicked an action.                                                                            |
| **Clicked Event Action Name**       | Text (String)    | The name of the action the user clicked (e.g., "Edit", "Delete"). Use in a **Decision** element to route the flow based on which action was pressed. |
| **Clicked Event Action Event Name** | Text (String)    | The name of the event where the action was clicked.                                                                                                  |

> **Example:** A user clicks "Edit" on an appointment. Use a **Decision** element to check if **Clicked Event Action Name** equals "Edit", then navigate to an edit form pre-filled with data from **Clicked Event Action Event**.

### Empty Spot Actions

When users click an action on an empty time slot, these variables capture the time range and action.

| Output variable               | Type          | What it returns                                                                |
| ----------------------------- | ------------- | ------------------------------------------------------------------------------ |
| **Clicked Cell Action Name**  | Text (String) | The name of the action the user clicked on the empty spot (e.g., "New Event"). |
| **Clicked Cell Action Start** | Text (String) | The start date/time of the empty cell where the user clicked.                  |
| **Clicked Cell Action End**   | Text (String) | The end date/time of the empty cell where the user clicked.                    |

> **Example:** A user clicks "New Appointment" on an empty 2:00–3:00 PM slot. Use **Clicked Cell Action Start** and **Clicked Cell Action End** to pre-fill the start and end times on a new event creation screen.

### New Event Drag

When users drag across the Scheduler to create a new event, these variables capture the time range.

| Output variable     | Type          | What it returns                                    |
| ------------------- | ------------- | -------------------------------------------------- |
| **New Event Start** | Text (String) | The start date/time of the range the user dragged. |
| **New Event End**   | Text (String) | The end date/time of the range the user dragged.   |

> **Example:** A user drags from 9:00 AM to 10:30 AM on a resource row. Use **New Event Start** and **New Event End** to create a new Event record with those exact times.

### Event Drag (Reschedule)

When users drag an existing event to a new time slot, these variables capture the updated position.

| Output variable         | Type          | What it returns                                       |
| ----------------------- | ------------- | ----------------------------------------------------- |
| **Dragged Event Name**  | Text (String) | The name of the event that was dragged to a new time. |
| **Dragged Event Start** | Text (String) | The new start date/time after dragging.               |
| **Dragged Event End**   | Text (String) | The new end date/time after dragging.                 |

> **Example:** A dispatcher drags a technician's appointment from 10:00 AM to 2:00 PM. Use **Dragged Event Name** to identify the record and **Dragged Event Start** / **Dragged Event End** to update the Event's DateTime fields.

### Toolbar Actions

| Output variable                 | Type          | What it returns                                                                                                                                    |
| ------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Clicked Toolbar Action Name** | Text (String) | The name of the toolbar action button the user clicked. Use in a **Decision** element to route the flow based on which toolbar button was pressed. |

### Display and Time Span Selection

When users switch between calendar views or select a time span from the toolbar, these variables capture the choice.

| Output variable        | Type          | What it returns                                                                                                                                                     |
| ---------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Selected Display**   | Text (String) | The display mode the user selected (e.g., "Timeline", "Calendar", "Agenda"). Use this to conditionally show different components or adjust logic based on the view. |
| **Selected Time Span** | Text (String) | The time span the user selected from the toolbar (e.g., "Day", "Week", "Month").                                                                                    |

### Component Metadata

| Output variable     | Type    | What it returns                                                                                                                             |
| ------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **Number of Items** | Integer | The total number of events currently loaded in the Scheduler. Useful for displaying a count or making decisions when the schedule is empty. |

***

## Style

Use the Style panel to adjust the visual aspects of your Avonni Calendar:

* **occupiesSize:** Choose how much space the calendar component occupies on your screen. You can set a specific height and width.
* **Toolbar:** Modify the toolbar's background color to match your application's overall design or branding
* **Margin**: Control the amount of space between the calendar component and surrounding elements on your page

## Specifications

{% tabs %}
{% tab title="Attributes" %}

<table><thead><tr><th width="202">Name</th><th width="199.75836972343524">Type</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>Start Date</code></strong></td><td>String</td><td>Define the start date of the calendar. If empty, current date will be displayed.</td></tr><tr><td><strong><code>Selected Display</code></strong></td><td>String</td><td>Define how the calendar should be display. Available values: <strong><code>Timeline</code></strong>, <strong><code>Calendar</code></strong>, <strong><code>Agenda</code></strong>.</td></tr><tr><td><strong><code>Selected Time Span</code></strong></td><td>String</td><td>Designed to provide users with the ability to define and navigate through custom time periods</td></tr><tr><td><strong><code>Hidden Displays</code></strong></td><td>String</td><td>Display(s) that should not appear in the toolbar options. The toolbar button will be hidden if one or zero display is visible.</td></tr><tr><td><strong><code>Timeline Variant</code></strong></td><td>String</td><td>Orientation of the schedule, when the selected display is timeline.</td></tr><tr><td><strong><code>Pull to Boundary</code></strong></td><td>Boolean</td><td>Pull the elements on either side of the container to the boundary.</td></tr><tr><td><strong><code>Zoom to Fit</code></strong></td><td>Boolean</td><td>If present, horizontal scrolling will be prevented in the timeline display.</td></tr><tr><td><strong><code>Hide Toolbar</code></strong></td><td>Boolean</td><td>If present the top toolbar is hidden.</td></tr><tr><td><strong><code>Title</code></strong></td><td>String</td><td>Define a title for the top toolbar</td></tr><tr><td><strong><code>Avatar</code></strong></td><td>String</td><td>To add an avatar on the top toolbar section</td></tr><tr><td><strong><code>Actions</code></strong></td><td>String</td><td>To create actions for the top toolbar section</td></tr><tr><td><strong><code>Hide Side Panel</code></strong></td><td>Boolean</td><td>If present, the side panel will be hidden. This attribute only affects the agenda and calendar displays.</td></tr><tr><td><strong><code>Hide Resources Filter</code></strong></td><td>Boolean</td><td>If present, the resources filter will be hidden. In the timeline display, the filter is in the toolbar. Otherwise, it is in the side panel.</td></tr><tr><td><strong><code>Side Panel Position</code></strong></td><td>String</td><td>To set a position for the side panel</td></tr><tr><td><strong><code>Available Times / Days</code></strong></td><td>String</td><td>If present, the scheduler will only show the selected days.</td></tr><tr><td><strong><code>Available Times / Months</code></strong></td><td>String</td><td>If present, the scheduler will only show the selected months.</td></tr><tr><td><strong><code>Available Times / Time Frames</code></strong></td><td>String</td><td></td></tr><tr><td><strong><code>Event</code></strong></td><td>String</td><td>Actions that will be displayed in the event context menu.</td></tr><tr><td><strong><code>Empty Spot</code></strong></td><td>String</td><td>Actions that will be displayed in the event context menu when clicking on an empty spot.</td></tr><tr><td><strong><code>Theme</code></strong></td><td>String</td><td>Define a theme for the events.</td></tr><tr><td><strong><code>Palette</code></strong></td><td>String</td><td>Define one color palette per resource</td></tr><tr><td><strong><code>Popover Fields</code></strong></td><td>String</td><td>Fields displayed on the popover visible on hover on an event</td></tr></tbody></table>
{% endtab %}

{% tab title="Events" %}

| Name             | Description                                                         |
| ---------------- | ------------------------------------------------------------------- |
| Event            | The item data clicked                                               |
| Empty Spot       |                                                                     |
| Toolbar          | Actions defined on the toolbar section                              |
| Event Select     | Actions defined when an event is selected                           |
| Display Select   | Actions defined when the user selects a display from the toolbar.   |
| Time Span Select | Actions defined when the user selects a time span from the toolbar. |
| {% endtab %}     |                                                                     |

{% tab title="Styling" %}

#### Size

| Name   | Description                             |
| ------ | --------------------------------------- |
| Width  | Set a specific width for the component  |
| Height | Set a specific height for the component |

#### Toolbar

| Name             | Description                                  |
| ---------------- | -------------------------------------------- |
| Background color | Customize a background color for the toolbar |
| {% endtab %}     |                                              |
| {% endtabs %}    |                                              |
