SObject Collection to Calendar Marked Date Collection
Overview
This action streamlines the process of highlighting important dates on an Avonni Date Picker component. It takes data from your Salesforce objects and automatically converts it into a format that the Date Picker understands, making it easy to mark key dates visually.
How it Helps
Imagine you want to show upcoming opportunity close dates on a calendar. This action lets you easily pull those dates from your opportunity records and display them as marked dates on the Date Picker, giving your users a clear visual overview.
When to Use It
This action is perfect for:
Highlighting key dates from any Salesforce object.
Visualizing deadlines, events, or milestones on a calendar.
Improving the user experience of the Avonni Date Picker.
Avoiding complex code or workarounds for marking dates.
Example
To display all upcoming Task due dates for a Contact on a calendar:
Retrieve Tasks: Use a "Get Records" element to fetch the Contact's Tasks.
Configure the Action: Select the Task collection and map the "Due Date" field.
Display on the Date Picker: Connect the action's output to the "Marked Dates" attribute of the Avonni Date Picker component.
Key Considerations
Ensure the date field you select is valid for the chosen object.
Customize the appearance of marked dates using styling options.
For advanced date manipulation, use formulas or Apex before using the action
Last updated