Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, users can save records directly within the Calendar component. This functionality enables seamless tracking and management of events, tasks, or appointments across different time frames. By consolidating important dates and activities in one location, the Calendar helps users stay organized and efficiently manage their schedules.

NoteNotes:

  • Click the Calendar icon to view the date, month, and year in calendar format. Use the Month drop-down menu to select between Month, Week, and Day views.

  • You need to create workflows for the New and Refresh buttons of the Calendar component. A workflow is a container that automates specific actions based on defined criteria. If the criteria are met, the actions will be executed otherwise, no action will occur.

  • You can create a new record by using New Action and for the record creation, click on the New button.

Info

Reference: Workflow.

...

Attributes

...

Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.

Basic:

...

Attribute Name

Description

Component Size

  • This allows users to modify the size of a specific component according to the grid size of layout.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#F4F5F7

For example,
If if the layout grid size is 3 then layout is divided into 3 sections then you can changes the components size between 1 to 3.

Model

  • Models are essential for displaying content (fields) in the layout, and they are primarily used for creating or editing records.

  • When performing any action related to events, you need to include a model to ensure proper functionality.

  • Detailed guidance on creating and configuring these models can be found in the Models section, which provides the necessary support for setting up and using models appropriately.

Note: Specifically, for the Calendar component, you should create a Multi Record Model to manage and display multiple records effectively.

Info

Reference: Calendar Model Setup

Base UI:

...

Attribute Name

Description

Margin Location

"Margin Location" refers to the spacing around the outside edge of an element

Margin Size

"Margin Size" refers to the amount of space around the outside edges of an element,

Style

  • It is used to apply custom styles to section, such as color, font, size, and more.

  • It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.

Classes

  • It is used to apply SLDS classes to section, if needed.

...

  • Events are essentially the automation of invoking the component's actions.

  • Here, we have onload event, new event, select event actions are available for this components.

...

Calendar Events

Description

onload

This event action is triggered when the component is loaded.

new

This event action is triggered when the new record is created.

Select

This event action is triggered when the calendar date is selected.

Note: You need to create workflows for the New and Refresh buttons of the calendar component.

Below here is the onload event workflow action.

Note: Similarly you can create event action for new event, select events.

on Load Event:

...

In the image below, you can select the created workflows.

...

Note: "You need to create a workflow for selecting from this list.

For more information about Workflow check this out.

Info

Reference: Workflow

onload Events:

  • We have an onload event that runs when the component is loaded

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#F4F5F7

For example, when a form is loaded, you can choose fields to be prepopulated by mapping field values using input mapping at the time the form component is loaded.

Input Mapping

...

Input Mapping: "Whenever an event is triggered and you want to pass data to destinations such as models, variables, or components, you can use input mapping to achieve that.

...

Include Page
Events (Common)
Events (Common)