Steps in displaying the Single Calendar Component
Display Single Calendar on the Person Account record page.
...
Go to
...
Name: SingleCalendar
URL: singlecalendar
Click Create button > Builder
...
Go to the site Settings > Security & Privacy
Clickjack Protection Level: Allow framing by any page (No protection)
Security Level: Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts
Lightning Locker: Disabled
...
Display the component in the site. Go to Components > drag and drop the Single Calendar Component Unmanaged > put the
Record Id: {!recordId}
Is Student Portal: TRUE (if it’s for a Student)
Is Parent Portal: TRUE (if it’s for a Parent)
Click the Publish button.
...
After clicking the Publish button, review the Calendar Component in the Person Account layout.
...
Site Access
Make sure that the Site Guest Profile has access to the SingleCalendarContoller.
Go to Setup > All Site > Click the builder on the SingleCalendar site
redirects to builder
Go to Settings
Click SingleCalendar Profile
...
Click Apex Class Access
...
Then map the following class name:
SingleCalendarController
CustomCalendarPortalHandler
ColorHexGenerator
...
Configuration for Staff Calendar on the Person Account (Internal/Portal)
Internal
Setup > All Sites > Single Calendar > Settings > Single Calendar Profile > Object Settings
...
Give READ access to the following objects and fields:
Object: PosiEd__Cohort_Session__c
PosiEd__Session__c
PosiEd__Cohort__c
Object: PosiEd__Cohort__r
PosiEd__Calendar_Colour__c
Object: PosiEd__Employee_Role__c
Employee_Account__c
PosiEd__User__c
...
Portal
For the Portal view for the Staff Single Calendar, give READ access to the following fields.
Setup > Profiles > Customer Community Plus User > Object Settings
Give READ access to the following objects and fields:
Object: PosiEd__Cohort_Session__c
PosiEd__Session__c
PosiEd__Cohort__c
Object: PosiEd__Cohort__r
PosiEd__Calendar_Colour__c
Object: PosiEd__Employee_Role__c
Employee_Account__c
PosiEd__User__c
...
the Absence Submission Record Page > Drag and drop the PosiEd Calendar Component 6.1.11 to the right sidebar.
...