DESCRIPTION
If you have enabled Contact Support page in community but when guest user tries to access it throws error or redirect to login experience.
CHECKLIST
There are following things we need to verify in order to make it working.
- Case Object Create Access
- Go to guest user profile and give Case Create Permission and Field level security to the fields which are added in quick action or contact support page. In case if you don’t know how to land on guest user profile detail page, then read here: https://help.salesforce.com/s/articleView?id=sf.rss_config_guest_user_profile.htm&type=5
- Give Access to Support API
- Click the gear icon, then click Setup.
- Enter Digital Experiences in the Quick Find box, then click on All Sites.
- Click Workspaces next to the site in which you want your Guest Users to log Cases via ‘Contact Support.’
- From the Experience Workspaces page, click on Administration.
- Click on Pages.
- Click on Go to Force.com.
- On the ‘Sites Detail’ section, click Edit.
- Select Guest Access to the Support API.
- Add ‘NewCase’, or a custom quick action to add Cases, to the ‘Selected Quick Actions.’
- Click on Save.
- Verify the Quick Action configured for Guest User using Site Builder
- Go to Setup –> Site –> Click Builder for the site.
- Open Contact Support Page and double click on component.
- It will show the design properties as below and make sure that a quick action is added for the guest user.