> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar.md).

# Calendar

Use the Avonni Calendar to see bookings, find gaps, and give users a place to act on Salesforce events. These guides use a training schedule with Salesforce Event records grouped by account.

{% hint style="info" %}
Start with [Build a resource timeline](https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/build-a-resource-timeline.md) to create the schedule used in the other guides.
{% endhint %}

## Set up a schedule

Connect Salesforce Event records to the Calendar. Add an ICS file when another team shares a schedule outside Salesforce.

<table data-view="cards"><thead><tr><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>Build a Resource Timeline from Salesforce Records</strong></td><td>Build an Avonni Calendar timeline that groups Salesforce training bookings by customer account so coordinators can see each customer's schedule.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FdfVVv9Bug4sEGjdfWMNy%2Fcalendar-cover-build-a-resource-timeline.png?alt=media">calendar-cover-build-a-resource-timeline.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/build-a-resource-timeline.md">Build a Resource Timeline from Salesforce Records</a></td></tr><tr><td><strong>Overlay an ICS Calendar</strong></td><td>Display a facilities calendar from an ICS file alongside Salesforce Events so training coordinators can see maintenance blocks before booking.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FX1Uvi6rsZdW0ywKxmmYf%2Fcalendar-cover-overlay-an-ics-calendar.png?alt=media">calendar-cover-overlay-an-ics-calendar.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/overlay-an-ics-calendar.md">Overlay an ICS Calendar</a></td></tr></tbody></table>

## Find and inspect bookings

Give coordinators ways to narrow the schedule and check the room for a booking.

<table data-view="cards"><thead><tr><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>Filter and Search Bookings</strong></td><td>Add a room filter and a subject search to a query-backed Avonni Calendar so coordinators can find a training booking in a busy schedule.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FbpBDrU9qXl19n0sNkO9H%2Fcalendar-cover-filter-and-search-bookings.png?alt=media">calendar-cover-filter-and-search-bookings.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/filter-and-search-bookings.md">Filter and Search Bookings</a></td></tr><tr><td><strong>Show Booking Details on Hover</strong></td><td>Add the training room to an Avonni Calendar event popover so coordinators can confirm the location and time without opening a Salesforce record.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2Fiyd1lL3hwMdCMgs4nvuM%2Fcalendar-cover-show-booking-details-on-hover.png?alt=media">calendar-cover-show-booking-details-on-hover.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/show-booking-details-on-hover.md">Show Booking Details on Hover</a></td></tr></tbody></table>

## Create bookings

Offer a button for bookings without a selected time, a drag gesture for a known time range, or a menu that changes with the target.

<table data-view="cards"><thead><tr><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 Add a New Event Button to the Calendar Header</strong></td><td>Add a New Event button to the Avonni Calendar header so coordinators can open a booking form and choose the time for a training session.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FK0REkirUgNysf9zD8Oma%2Fcalendar-cover-how-to-add-a-new-event-button-to-the-calendar-header.png?alt=media">calendar-cover-how-to-add-a-new-event-button-to-the-calendar-header.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/how-to-add-a-new-event-button-to-the-calendar-header.md">How to Add a New Event Button to the Calendar Header</a></td></tr><tr><td><strong>How to Create Events Quickly by Dragging</strong></td><td>Let coordinators drag across an open time range in Avonni Calendar and pass its start and end times to the training booking form.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FasyynRguhRBTkwUoLpGk%2Fcalendar-cover-how-to-create-events-quickly-by-dragging.png?alt=media">calendar-cover-how-to-create-events-quickly-by-dragging.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/how-to-create-events-quickly-by-dragging.md">How to Create Events Quickly by Dragging</a></td></tr><tr><td><strong>How to Customize the Right-Click Menu</strong></td><td>Give Avonni Calendar separate right-click actions for opening an existing training booking and starting a new booking from an empty slot.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FuyA729dHGuX3wb8wnujv%2Fcalendar-cover-how-to-customize-the-right-click-menu.png?alt=media">calendar-cover-how-to-customize-the-right-click-menu.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/how-to-customize-the-right-click-menu.md">How to Customize the Right-Click Menu</a></td></tr></tbody></table>

## Edit and move bookings

Open the record from its event action or move an existing booking within its resource row.

<table data-view="cards"><thead><tr><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 Add an Edit Action to Calendar Events</strong></td><td>Add an edit action to a Salesforce Event in Avonni Calendar so training coordinators can update a booking and see the change on the schedule.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FNAOhr4EGKuDVJbRKBZ84%2Fcalendar-cover-how-to-add-an-edit-action-to-calendar-events.png?alt=media">calendar-cover-how-to-add-an-edit-action-to-calendar-events.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/how-to-add-an-edit-action-to-calendar-events.md">How to Add an Edit Action to Calendar Events</a></td></tr><tr><td><strong>How to Reschedule Events with Drag and Drop</strong></td><td>Let training coordinators move a booking to a new time in Avonni Calendar and save the updated start and end on the Salesforce Event.</td><td><a href="https://2532358799-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODPvvv7Cx9Z9RECLn3oV%2Fuploads%2FfmX3LPYTjZnnG2CpUlce%2Fcalendar-cover-how-to-reschedule-events-with-drag-and-drop.png?alt=media">calendar-cover-how-to-reschedule-events-with-drag-and-drop.png</a></td><td><a href="https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar/how-to-reschedule-events-with-drag-and-drop.md">How to Reschedule Events with Drag and Drop</a></td></tr></tbody></table>

See the [Calendar reference](https://docs.avonnicomponents.com/dynamic-components/components/calendar.md) for the full settings and interaction list.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/dynamic-components/tutorials/components/calendar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
