Declarative Access Control Model Examples
These code and flow examples use the declarative access control model to provide unauthenticated guest users access to read records.
-
Sample Flow With Sharing: Give Guest Users Access to Read Records
In this sample flow, the guest user enters a date range and then views events within that range. The guest user has read access to the records with sharing rules, so the guest user profile determines which fields the flow can access.
-
Sample Code With Sharing: Give Guest Users Access to Read Records
In this collection of code samples, the guest user enters a date range and then views events within that range. The guest user has read access to the records via sharing rules.