All Guest Users should have read access to the Vlocity components and to the related records.
Note:
This does not apply for standard OmniStudio and only applies to custom data model based Vlocity Orgs.
A. Set up the Default Record Owner User:
Create a new user with minimum privileges/access. This user will be used as the Default Owner of new records created by guest users.
B. To view the guest user profile:
1. From Setup, enter Communities in the Quick Find box, and click All Communities.
2. Click Builder for the community you're testing.
3. Click the Settings (Gear) icon on the left menu and go to the General tab.
4. In the Guest User Profile section, click the profile name to go to the profile details page.
C. Enable Secure Guest User Record Access:
1. From Setup, enter Sharing Settings in the Quick Find box.
2. Click Sharing Settings.
3. Click Edit for Organization-Wide Defaults.
D. Enable the Reassign new records created by guest users to the Default Owner Option:
1. From Setup, enter Communities Settings in the Quick Find box, and click Communities Settings.
2. Click Edit, and enable the Reassign new records created by guest users to the default owner option.
E. Configure the Default Owner for your Community:
1. From Setup, enter Communities in the Quick Find box.
2. Click Workspaces of the community you want to set the Default Owner.
3. Click Administration > Preferences > In the Record Ownership section, choose the Default Owner user you created previously.
F. Find the Guest User Record ID:
G. Set up Sharing Rules for Guest User Access:
You'll need to set up sharing rules for Vlocity metadata objects (for example, OmniScripts, DataRaptor Bundles, etc.) and any other records not owned by the guest user that they'll need access to.
You'll also need to set up a sharing rule for the guest user to access the User record of the Default Owner. This sharing rule will be on the User object. This is necessary for the re-assignment of records to the Default Owner to be successful.
i. To set up Sharing Rules:
ii. Configuring Sharing Rule Criteria
The sharing rules that you set up might be different between objects, communities, or orgs, depending on your business needs. You can determine exactly what access guest users will need, but Vlocity can provide a few recommendations and sample criteria:
a. All Records
This criterion is valid if you want to make all records for an object publicly available. “005” is the object prefix for the User object, so it will affect any record created by a User, which is effectively the same as “any record”.
b. Records Created By the Guest User
This criterion is valid for records that will be created by the Guest User. For example, Saved OmniScripts and DataRaptor Bulk Data are two objects that this sharing rule should be set up for.
The specific objects you need to set up sharing rules for might vary depending on your implementation. Vlocity Support recommends starting with the following objects:
Additional Considerations for Sharing Rules
Sample Errors faced due to mis-configuration:
000392010

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.