In this article you will learn about:
Creating Grouped Calendars
CalendarAnything LWC users can create calendar groups that allow for a more organized left side panel and quicker overlay of multiple calendars. You may create a group from any existing calendar. To begin creating a calendar group, click the gear icon to open Calendar Settings and click on Create and Edit > Grouped Calendars:
To create a new calendar group, click the Add Calendar Group button on the Calendar Groups page.
Clicking the Add Calendar button opens the Grouped Calendars Settings dialog. Create your calendar group following the steps displayed on the Grouped Calendars Settings page shown below.
Group Name and Color
Enter a name for the new calendar Group. You may choose to display all calendars using a single group color or allow grouped calendars to retain their individual colors.
Select the calendars that will be available for the group. Only calendars that are moved to Selected by the user will display.
As with standard CalendarAnything LWC calendars, you may specify which Salesforce Public Groups have access to this calendar group.
Once you have entered the settings for your calendar group, click Save to save your calendar group and return to
the Calendar main page. The calendar group will display in the left side panel and may now be overlaid with other CalendarAnything LWC calendars.
Creating Web Calendars
Display information from a public Google Calendar within the CalendarAnything LWC app in Salesforce using Web Calendar. Using this feature requires that the Google Calendar be made public and the Salesforce user is able to obtain a public URL for the Google Calendar.
To make a Google Calendar public and retrieve a public ICAL address:
1. Log in to Google Calendar from your browser by going to google.com/calendar.
2. In the calendar list on the left, click the down-arrow button next to the appropriate calendar, then select Settings and Sharing Access permissions > Make available to public checkbox
3. Integrate calendar > Public address in iCal format
To make Web calendars imported from Google work, you should add https://calendar.google.com to Remote Sites in your org Setup.
Remote Sites Steps in Salesforce Setup:
1. Login to Salesforce;
2. Navigate to Setup → Remote Site Settings;
3. Click on New Remote Site button;
4. Add following information:
– Remote Site Name: google_calendar
– Remote Site URL: https://calendar.google.com
– Active: TRUE.
5. Click Save button;
To begin creating a web calendar group, click the gear icon to open Calendar Settings and click on Create and Edit > Web Calendars:
To create a new calendar group, click the Add Calendar button on the Web Calendars page.
Clicking the Add Calendar button opens the Web Calendar Settings dialog. Create your web calendar following the steps displayed on the Calendar Group Settings page shown below.
Name and Color
Enter a name for the Google Calendar being added to CalendarAnything LWC and select a color for the calendar.
Paste the public ICAL address in the Calendar URL field.
As with standard CalendarAnything LWC calendars, you may specify which Salesforce Public Groups have access to this web calendar.
Once you have entered the settings for the web calendar, click Save to save the settings and return to the main Calendars page. The web calendar will display in the left side panel and may now be overlaid with other CalendarAnything LWC calendars.
Calendar List and Folders
Add/remove calendars to the list that display in the left sidebar in CalendarAnything LWC.
Click the gear icon on the main calendar layout, and select Calendar List. All Calendars refers to All Calendars, Groups refers to Grouped Calendars, and Web Calendars refers to external web calendars.
Drag calendars to hide/display or re-arrange the calendars in the sidebar.
Calendars on the Sidebar can be organized into Calendar Folders.
To add Folders, click on the folder icon between Available and Selected calendars sections and enter the Calendar Folder Name in the popup.
This then appears at the top of the Selected Calendars list.
All calendars below the Folder will be considered as those that belong to that folder. Drag and drop folders to re-organize.
To delete a Folder, drag it from Selected to Available and it will be deleted after page refresh. After adding Folders, collapse or expand them on the Sidebar to hide or show all calendars below: