Advanced security checks for Omnistudio for Managed Packages enhance data protection by enforcing stricter validation of access and permissions. When enabled, these checks validate object-level access, field-level security, and Apex class permissions for all users, including guest, authenticated, and non-authenticated users, across Omnistudio components.
These security enhancements are available starting with the Winter '26, Spring '26, Winter '27 releases.
These feature flags control the advanced security checks:
| Flag Name | Description |
|---|---|
EnforceCardDatasourceSecurity |
Limits Flexcard datasource SOQL and SOSL queries from guest users and authenticated community or portal users to the objects listed in OmniStudioGuestAllowedObjects. This check is on by default. Don't turn it off, because doing so lets external users query setup objects. |
OmniStudioGuestAllowedObjects |
Specifies the objects that guest users and authenticated community or portal users can query through Flexcard datasources, as a comma-separated list of API names, for example, Account,Contact,Case. If the list is empty, these users can't query any object. Security and metadata objects, such as Apex classes and profiles, are always blocked. |
AdvancedOmnistudioAccessCheck |
Applies stricter checks for object access, field-level security, and Apex class permissions across Omnistudio. The checks apply to all user types, including guest, authenticated, and unauthenticated users. |
ApexClassCheckForIP |
Checks that the user has permission to run the custom Apex classes that an Integration Procedure references. |
For more information about ApexClassCheckForIP, see Advanced Apex Class Check for Integration Procedures in Omnistudio for Managed Packages.
The advanced security checks apply only when the flags are enabled.
In addition to the AdvancedOmnistudioAccessCheck and
ApexClassCheckForIP flags, Omnistudio supports these previously announced
security flags:
| Flag Name | Description |
|---|---|
ApexClassCheck |
Requires users to have explicit profile access to the VlocityOpenInterface Apex class behind remote actions called from Omniscripts, Flexcards, or REST APIs. Turn on this check if your org doesn't have an Omnistudio license, for example, if your org uses an installed Communications, Media, and Energy or Insurance package. |
| EnforceDMFLSAndDataEncryption | Makes Data Mappers enforce object-level and field-level security and run in the context of the current user. Encrypted fields appear as plain text only to users with the View Encrypted Data permission. |
| EnableQueryWithFLS | Enforces field-level security on SOSL queries and encrypts the queries on the client side. |
Salesforce continues to recommend enabling them to support consistent enforcement of data access and security controls across Omnistudio components.
When the advanced security checks are enabled, users must have the appropriate object permissions, field-level security, and Apex class access for the data and logic used within Omnistudio components. If the required permissions aren’t assigned, users may experience issues accessing or interacting with Omnistudio data.
For information about the permissions required when the
AdvancedOmnistudioAccessCheck feature flag is enabled, see Omnistudio Component Access Issues and Potential Causes.
How to Enable Security Flags in Omnistudio
The steps to enable security flags and the location of the settings depend on whether the org has an Omnistudio license and whether it uses a custom data model or standard data model. Depending on your org's Omnistudio license status and data model, locate and configure the flags. For information about data models, see Omnistudio Data Models, Does Your Org Use Custom or Standard Objects?.
-
In orgs without an Omnistudio license or orgs still using custom data model:
- From Setup, in the Quick Find box, enter Custom Settings, and then select Custom Settings.
- Click G and go to General Settings.
- Click Manage.
- Click New.
- In the Label field, enter the flag name. For example, AdvancedOmnistudioAccessCheck.
- In the Value field, enter true.
-
In orgs with an Omnistudio license using the standard data model:
- From Setup, in the Quick Find box, enter Omni Interaction Configuration, and then select Omni Interaction Configuration.
- Click New Omni Interaction Configuration.
- In the Label field, enter the flag name. For example, AdvancedOmnistudioAccessCheck.
- In the Value field, enter true.
- Set Up the Object Allowlist for External User Queries in Omnistudio
Specify which objects Experience Cloud guest users and authenticated community or portal users can query through Omnistudio, so that external users reach only the data that your site needs. - Omnistudio Component Access Issues and Potential Causes
This table outlines the permissions required when the AdvancedOmnistudioAccessCheck feature flag is enabled. - Troubleshoot Component Access in Omnistudio for Managed Packages
Identify and resolve access-related issues in your orgs: