LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Guide
    • Learn the Basics
    • Installation & Licenses management
    • Flow vs. Dynamic Components
    • Integrating with Experience Cloud
  • Tutorials
    • Videos
    • Projects Tutorials
    • Components Tutorials
      • Alert
        • Create a custom branding alert
        • Create an error alert dismissible
      • Avatar
        • Create an avatar with actions
        • Create an avatar with details
      • Avatar Group
        • Display a list of contacts related to an account
        • Display a list of sharing users related to the record
      • Barcode
        • Generating and Displaying Barcodes for Product Codes
      • Biometrics
        • 101 Tutorial
      • Button
        • Customizing Flow Navigation Buttons
        • How to Add a "Cancel and Close" Button
        • How to Open Flows from Buttons
      • Button Groups
        • Identifying Clicked Buttons
      • Button Menu
        • How to change dynamically Avonni Button Menu Icons
      • Calendar
        • Calendar 101 Tutorial
        • How to Connect Multiple Data Sources to the Avonni Calendar
        • How to Customize Time Spans
        • How to Customize the Right-Click Menu
        • How to Add an Edit Action to Events
        • How to Add a New Event Button to the Avonni Calendar Header
        • How to Create Events by Dragging in the Avonni Calendar
        • How to Reschedule Events with Drag and Drop
        • How to Color-Code Calendar Entries in the Avonni Calendar
        • Using a variable Data Source
        • Using a Query Data Source
      • Carousel
        • Build a Related Products Carousel
      • Combobox
        • Implement Dependent Picklists in Comboboxes
        • How to Dynamically Enable/Disable Dependent Picklists
        • Using Multi-Select Comboboxes with Reactive Formulas
      • CSV Parser
        • 101 Tutorial
      • Data Table
        • Adding Filters
        • How to add Images onthe Data Table
        • Creating Row Actions
        • Displaying a Record as a QR Code
        • Displaying Record Name field as a link
        • Learn the Basics
        • Making a field editable
        • Setting Up Data Export
        • Tips and Tricks
          • Activate infinite scrolling
          • Creating an action from a button or a link
          • Customizing the Badge Color using a formula
          • How to Grayscale Header Actions Dynamically in Avonni Data Table
          • How to Conditionally Color Cells
          • Enabling auto-refresh on the Data Table when pressing a button
          • Handling formula text field
          • How to set column visibity
          • Passing multiple record IDs to another flow
          • Data Table Editor
      • Date Picker
        • Display a date picker with Marked Dates from a Get Records
      • Date Time Picker
        • How to create Collection Variables for StartDateTime and EndDateTime
        • How to Block Out Times
      • Delay Interaction
        • Creating a Confetti Celebration on the Final Screen
        • Launch a flow dialog without a screen
      • Dual Listbox
        • Display contacts with custom icons
        • Accounts list group by industry
      • Expandable Section
        • How to add components into an expandable section
      • Header
        • Building Engaging Card Headers
        • Crafting a Profile Header
        • Adding Action Buttons to Headers
        • Adding a Background Image to Your Header
      • Input Pen
        • Add the custom Toolbar
        • How to Store Input Pen Drawings as Attachments in Salesforce
      • Kanban
        • 📹Introduction
      • List
        • Create a grid list with images
        • Create a sortable list
        • How to Reorder Items and Update Records
        • Vertical List with Actions
      • Navigation
      • Map
        • Customize the Map Marker
        • Visualizing Account Information on a Map
      • Metric
        • 📹Introduction
      • Microphone
        • Save the Microphone recording file as an attached on a record
      • Progress Indicator
        • Creating a Universal Dynamic Progress Step Collection
        • How to Change the Appearance of Your Progress Indicator using a variable
        • Error Handling
      • QR Code
        • Generate a QR Code from a record field
      • Record Detail
        • Using the Record Detail with Reactive Screens
      • Scoped Notification
        • Display message based on a value
      • Text Area
        • TextArea issue with max length when clicking on the next button
      • Tree
        • Build a Tree View with Dynamic Record Details
      • Timeline
        • Assigning multiple source collection to the Timeline
        • Customizing Date Format in the Timeline Component using Luxon
        • Create a horizontal activity timeline
        • Display Tasks
        • Perform actions on selected tasks
      • Vertical Visual Picker
        • Adding sub-items
        • Display a list of online contacts
    • Interactions
      • Enabling auto-refresh for queries after the Flow Dialog ends
      • Creating a Confetti Celebration on the final screen
      • How to create an interaction to navigate to an object
      • How to create an interaction to a record page
      • How to create an interaction to open another flow
      • How to pass an Input Variable from One Flow to Another
      • How to setup an Open Flow Panel interaction
    • Reactive Query Tutorials
      • How to make Data Tables Reactive
      • Build a reactive Data Table Using Dependent Picklists
      • Building a Dynamic Metrics Dashboard with the Data Table
      • How to build a reactive 'Quarterly Opportunity Tracker' component
      • How to Create a Combobox-Filtered Data Table
      • Create a Dynamically Linked Account-Contact View
      • Troubleshooting
    • Tips and Tricks
      • Copy / Paste a component settings
      • Create a link to the record using the href attribute
      • Create a variable and use it in a component property
      • Data Table
      • Hide Standard Header and Footer in a flow
      • How to pass your current RecordID in your screen flow
    • Platform Events
      • Configuration tutorial
  • Flow Components
    • Explore All Components
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Barcode
    • Barcode Scanner
    • Biometrics
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Calendar
    • Carousel
    • Chart
    • Chip Container
    • Combobox
    • Color Picker
    • CSV Parser
    • Date Picker
    • Data Table
    • Date Time Picker
    • Delay Interaction
    • Document Scanner
    • Dual Listbox
    • Expandable Section
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Hero Banner
    • Icon Picker
    • Image
    • Input Choice Set
    • Input Choice Set Grid
    • Input Counter
    • Input Date Range
    • Input Pen
    • Illustration
    • Interaction service
    • Kanban
    • List
    • Map
    • Metric
    • Microphone
    • Navigation
    • NFC Scanner
    • Pill Container
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Progress Popover
    • QR Code
    • Rating
    • Record Detail
    • Scoped Notification
    • Separator
    • Slider
    • Tabs
    • Text Area
    • Timeline
    • Tree
    • User Location
    • Vertical Visual Picker
    • Visual Picker
    • Visual Picker Link
    • Video Player
    • Welcome Mat
  • Component Builder
    • Overview
    • Properties Pane
    • Interactions Pane
      • Copy Records
      • Download
      • Export To
      • Fire Confetti
      • Flow Navigation
      • Navigate
      • Show Toast
      • Open Alert Modal
      • Open Confirm
      • Open Flow Dialog
      • Open Flow Panel
      • Update Records
      • Refresh Query
      • Refresh All Queries
      • Open Quick Action
    • Style Pane
    • Component Templates
    • Layout and Customization
      • Alignment controls
      • Copy / Paste component settings
      • Margin / Padding
      • Pull To Boundary
      • Undo / Redo
  • Data Sources
    • Understanding Data Sources
    • Manual
    • Variable
    • Query
    • Query VS Variable
    • Picklist
  • Actions
    • Overview
    • Data Manipulation and Transformation
      • Convert Lead
      • Create file
      • Split Text to Text Collection
      • SObject Collection Math
      • SObject Collection Join
      • Get Record from SObject Collection
      • SObject Collection to Activity Timeline Items
      • SObject Collection to Calendar Marked Date Collection
      • SObject Collection to Scheduler Events
      • SObject Collection to Text Collection
    • Data Conversion and Formatting
      • Text Collection Get Value
      • Get Value from String Collection
      • Number Collection Get Value
      • Join Text Collection
      • Format Text in SObject Collection
      • Format Text Collection
      • Text Collection to Combobox Options
      • Text Collection to Dual Listbox Options
      • Text Collection to Progress Indicator Steps
    • UI & Navigation
      • New Avatar Action Collection
      • New Button Menu Item Collection
      • New Carousel Item Collection
      • New Combobox Option Collection
      • New Dual Listbox Option Collection
      • New Header Action Collection
      • New Header Avatar Action Collection
      • New List Action Collection
      • New Navigation Item Collection
      • New Progress Indicator Step Collection
      • New Progress Popover Step Collection
      • New Slider Custom Label Collection
  • Help
    • Performance Guide
    • How do I contact support?
    • How do I report Bugs?
    • Troubleshooting
    • Release Process
  • Miscellaneous
    • Live use cases examples
    • Release Notes
    • Salesforce Flow Limit
    • Security
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Overview
  • Video Tutorial
  • Use Case
  • 1️⃣ Create Get Records collections
  • 2️⃣ Add a screen element
  • 3️⃣ Configure the Data Source section
  • 4️⃣ Configure the Data Source section
  • 5️⃣ Adjust display settings
  • 5️⃣ Adjust other settings if needed

Was this helpful?

  1. Tutorials
  2. Components Tutorials
  3. Calendar

Calendar 101 Tutorial

Last updated 1 year ago

Was this helpful?

Overview

This tutorial is designed to guide you through the basics and beyond, demonstrating the dynamic features and customizability of the .

Let's dive in and start exploring!

Video Tutorial

Use Case

Envision a typical scenario where a team leader or project manager needs to track various tasks assigned to a group of users. Using the Avonni Calendar Component we can create a comprehensive, easy-to-navigate calendar view that shows these tasks.

1️⃣ Create Get Records collections

Our first step revolves around integrating data into our calendar. Using Flow Builder, we will add two Get Records collections to our flow. One collection fetches our users' details, and the other collects all the task information.

Once these collections are in place, we will link them to the Avonni Calendar Component as resources and events. Our users become the resources of our calendar, while the tasks represent the events that will be assigned to these resources.

  1. Start Flow Builder: Open the Flow Builder tool in Salesforce.

  2. Create New Flow: Click 'New Flow' and select 'Screen Flow'.

  3. Add Get Records Elements: On the canvas, click the '+' sign to add an element. From the dropdown menu, select 'Get Records'.

  4. Configure the Get Records for Users:

    • Choose the Object: For the first Get Records element, choose 'User' as the object from the dropdown menu.

    • Set the Conditions: Define your conditions to fetch the desired set of users. You could bring all active users or users belonging to a specific profile or role. If you wish to fetch all users, leave the conditions blank.

    • Choose 'All Records': Select 'All records' under the 'How Many Records to Store' section. This ensures all user records meeting the conditions are fetched.

  5. Add Another Get Records Element: Repeat the process to add a second Get Records element. This time, choose 'Task' as the object.

  6. Configure the Get Records for Tasks:

    • Set the Conditions: Define your conditions to fetch the tasks assigned to the users fetched in the previous step. This could be based on task status, assignment date, due date, or other task fields.

    • Choose 'All Records': Select 'All records' under the 'How Many Records to Store' section.

2️⃣ Add a screen element

In this second step, we'll incorporate the Avonni Calendar Component into a new screen element. Here's how:

  1. Add a Screen Element: Select the '+' sign on the Flow Builder canvas to add a new element. From the dropdown list, choose 'Screen'. This will create a new screen on which you can add the Avonni Calendar Component.

  2. Name the Screen: Give your screen a meaningful name such as 'TaskCalendarScreen'. This will help you quickly identify the screen in your flow.

  3. Add the Avonni Calendar Component: In the Screen Components section on the left, scroll down until you find 'Avonni Calendar' (under Custom Components). Drag and drop this component onto your newly created screen.

3️⃣ Configure the Data Source section

In the Data Source Section, select "Variable" and map the Get Records collection for Resources and Events.

  • Resources: For resources, select the 'Get Users' collection variable you created in the first step. These are the user records fetched from the Get Records element, representing the users for whom tasks will be displayed.

  • Events: For events, select the 'Get Tasks' collection variable. These are the task records assigned to the users and fetched in the Get Records element.

4️⃣ Configure the Data Source section

One of the essential steps in configuring the Avonni Calendar Component is setting up the Data Mapping. This process assigns specific fields from your data to relevant attributes in the calendar component, ensuring your task and user data is presented accurately.

It's important to know that these field mappings are purely illustrative based on our specific use case. When setting up the Avonni Calendar Component for your projects, your field mappings depend on your unique data and requirements.

For this tutorial, we'll walk through the following mappings:

Resources Mapping: This process associates user data with the calendar.

  • Label: This will be mapped to 'Full Name.' The users' full names will be displayed on the calendar to indicate to whom each task is assigned.

  • Name: This should be mapped to 'User ID.' This attribute associates the user records with unique identifiers for efficient data management.

Events Mapping: This section links task data with the calendar.

  • Title: This will be mapped to 'Subject.' The subject of each task will be shown on the calendar, providing a quick overview of what the task involves.

  • Name: This should be mapped to 'Activity ID.' This attribute ensures each task has a unique identifier, making data handling and tracking more efficient.

  • Resource Name: This should be mapped to 'Created by ID.' This associates each task with the user who created it.

  • From: This will be mapped to 'Due Date only.' The due dates of the tasks will be reflected on the calendar, helping to keep track of deadlines.

5️⃣ Adjust display settings

In the Avonni Calendar Component, the ability to adjust display settings allows you to control how your task data is presented. You can easily switch between Timeline, Calendar, and Agenda views. Here's how to adjust these settings:

  1. Select Avonni Calendar Component: Click on the Avonni Calendar Component you added to your screen. This will open up the settings panel on the right-hand side. Then, click on the button "Open Component Builder"

  2. Locate the Selected Dislay option: Scroll down in the properties panel until you find the 'Selected Dislay' option. Here, you'll see a dropdown option for 'Timeline'.

  3. Adjust the Selected Display View: Click on the dropdown to see three options: 'Timeline', 'Calendar,' and 'Agenda'. Each option will alter how your tasks are displayed in the calendar.

    • Timeline: If you want to provide a linear, visual representation of tasks over a selectable period, choose this option. It presents a clear picture of task progress and duration.

    • Calendar: This is your traditional grid-based view, offering a familiar and easy-to-understand layout. It's perfect if you want a classic calendar view of tasks.

    • Agenda: Opt for this view if you prefer a list-style layout of tasks. Each task is arranged in chronological order with its details shown.

  4. Save the Configuration: After selecting your preferred default view, remember to save your configuration.

Selected Display
Description
Image

Timeline

Gives users a linear visual representation of their schedule over a selectable period.

Calendar

This is the traditional grid-based view that most people associate with calendars.

Agenda

Each entry in the list includes details about the event and is arranged in chronological order.

5️⃣ Adjust other settings if needed

  • Selected Time Span

  • Toolbar

  • Side Panel

Set Avonni Calendar to Full Height

To display the full calendar on your home screen without the need to scroll, tweak the height settings in the Component Builder. Activate this feature from the settings panel for a seamless view.

  • Available Times

The "Available Times" section in the Avonni Calendar Component is for customizing which days and months are displayed on your calendar. By selecting specific days and months, you can tailor your calendar view to focus on the most important periods for your tasks and projects. Any days or months that aren't selected will be ignored and won't appear on your calendar.

However, if you don't specify any days or months in the "Available Times" section, the Avonni Calendar Component will default to displaying all days and months.

  • Context Menu Actions

The "Context Menu Actions" section allows you to add interactive button actions at an event level. These buttons become visible and actionable when a user clicks on a particular event.

  • Event Display

To specify a Theme and palette for events.

You can define the specifics of these event actions from the , adding another layer of customization.

interaction pane
Avonni Calendar