OmniInteractionConfig defines named configuration settings for Omnistudio. These settings control security enforcement, Data Mapper and Integration Procedure behavior, package-dependent features, designers, integrations, and tracking. A setting can affect multiple Omnistudio components rather than a single Omniscript or FlexCard.
Each component stores a setting name in masterLabel and its string-valued configuration in value. Names such as ApexClassCheck and EnableParentCompile are setting names stored through this pair, not separate XML elements. The component inherits fullName as its metadata identity.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The component's metadata identity, inherited from Metadata. It is distinct from the field that stores the setting name. |
masterLabel |
Required string containing the setting name, such as EnforceDMFLSAndDataEncryption, DefaultRequiredPermission, or DocuSignAccountId. |
value |
Required string containing the configuration value. Its meaning depends on masterLabel: it can hold a boolean-style value such as true, a permission or credential name, an account identifier, a namespace, or a relative URL. The installation indicators described below are read-only. |
Behavior and Constraints
Availability requires the Omnistudio platform license and related add-on and user licenses.
Security checks and execution context
AdvancedOmnistudioAccessCheck, ApexClassCheckForIP, ApexClassCheck, EnforceDMFLSAndDataEncryption, and EnableQueryWithFLS are enabled by default. They enforce different checks; one is not a substitute for another.
-
AdvancedOmnistudioAccessCheck: Whentrue, enables advanced object-access, field-level security, and Apex class permission checks across Omnistudio for Managed Packages. These checks apply to guest, authenticated, and non-authenticated users. -
EnforceDMFLSAndDataEncryption: Whentrue, makes Data Mappers run in user context rather than system context, enforcing the running user's object-level and field-level permissions. Encrypted fields appear in plain text only to users with the View Encrypted Data permission. This setting can change both which data is available and whether encrypted values are readable. -
ApexClassCheck: Whentrue, requires explicit Apex class access for remote actions called from Omniscripts, FlexCards, or REST APIs. It checks profile-assigned Apex class permissions, including access associated withVlocityOpenInterface. -
PerformAdvancedCheck: Whentrue, extends the remote-action Apex access checking to permission sets and permission set groups. It works only whenApexClassCheckis alsotrue. -
ApexClassCheckForIP: Whentrue, enforces Apex class permissions during Integration Procedure execution for Omnistudio for Managed Packages. Users need permission to run the custom Apex classes referenced by the procedure. -
EnableQueryWithFLS: Whentrue, enforces field-level security for Salesforce Object Search Language (SOSL) queries used in FlexCard data sources. Encryption that prevents query information from being visible on the client side is separate from permission enforcement. -
DefaultRequiredPermission: Identifies the Custom Permission a user must have to run Data Mappers and Integration Procedures. -
CheckCachedMetadataRecordSecurity: Whentrue, adds record-level security checks for cached data in Data Mappers and Integration Procedures.
For access-related failures, interpret these settings alongside the running user's object, field, Apex class, and Custom Permission assignments. Enabling a check does not grant the permissions needed to pass it.
Package identity and feature availability
Two settings describe package installation state and are read-only:
-
InstalledIndustryPackage, when present, identifies the installed Salesforce Industries managed-package namespace. Allowed values arevlocity_cmt,vlocity_ins, andvlocity_ps. -
TheFirstInstalledOmniPackagerecords the namespace of the managed package installed first. This determines whether new or legacy Omnistudio features are available:omnistudioidentifies new features, whilevlocity_cmt,vlocity_ins, andvlocity_psidentify legacy features.
These values are installation indicators, not writable switches for choosing a feature family.
Data processing, caching, and loading
-
UserLocaleDateTimeset totrueprocesses date, time, and datetime inputs using the user's locale format instead of the standard predefined formats. The same input text can therefore require different interpretation depending on the running user's locale. -
TurnOffScaleCacheset totruedisables the Scale Cache used by Data Mappers and Integration Procedures. This controls cache use;CheckCachedMetadataRecordSecuritycontrols security checking of cached data. -
SkipUserProfileOnOSLoadset totrueprevents retrieval of user profile information when an Omniscript loads. When the setting isfalseor absent, profile information is retrieved. This is a loading setting, not a permission-enforcement setting.
Integrations, styling, and tracking
-
DocuSignAccountIdstores the API Account ID from DocuSign's Apps and Keys page. -
DocuSignNamedCredentialidentifies the named credential used for the connection. Its documented value isDocuSign. A credential name and an external account ID are not interchangeable. -
newportZipUrlstores the relative URL, without a hostname, of the static resource containing custom Newport styles for FlexCards. -
Track_componentset totrueenables Omnistudio Tracking Service tracking for a component or component type. -
OmniAnalyticsTrackingDebugset totrueincludes debugging data in tracking records. It changes record detail rather than replacing the tracking-enablement setting.
Deployment and Retrieval
OmniInteractionConfig components use the .omniInteractionConfig suffix and are stored in the OmniInteractionConfig folder. In package.xml, use OmniInteractionConfig as the type name. The type supports * as a member wildcard for manifest-based operations. See manifest deployment and retrieval.
EnableParentCompile set to true automates compilation of parent elements for nested components. It supports metadata consistency and helps avoid migration failures associated with those nested components.
RetainDesignerSettingOnUpgrade applies specifically to orgs using Standard Runtime with Package Designer. A package upgrade otherwise switches the designer to Standard Designer; setting this configuration to true retains the preferred designer. It is unnecessary when Standard Designer is already enabled by turning Managed Package Designer off.
RollbackDRChanges set to true rolls back Data Mapper functionality changes. Its documented use is when a package upgrade causes some Data Mappers to stop working. It is not a general transaction rollback setting.
Do not treat InstalledIndustryPackage or TheFirstInstalledOmniPackage as deployment switches. Their values describe package installation state and are read-only.
Relationships
The important connections are setting-value associations and runtime access checks. They are not separate reference elements in the OmniInteractionConfig XML.
For setting-value associations, DocuSignNamedCredential identifies a NamedCredential, DefaultRequiredPermission identifies a CustomPermission, and newportZipUrl locates a StaticResource through a relative URL.
For runtime access, ApexClass permissions assigned through a Profile matter to ApexClassCheck. With PerformAdvancedCheck also enabled, assignments through PermissionSet and PermissionSetGroup also matter. The configuration controls enforcement; those assignments supply the user's access.
Documentation Inconsistencies
The type's stated availability requires the Omnistudio platform license and related add-on and user licenses. However, the ApexClassCheck guidance also explicitly covers managed-package installations without an Omnistudio license, such as CME or Insurance installations, and directs them to set the configuration to true. That setting guidance covers a broader installation scenario; it should not be interpreted as removing the metadata type's licensing prerequisite.
Common Questions
How do I retrieve OmniInteractionConfig settings?
Use OmniInteractionConfig as the type name in package.xml. The type supports the * member wildcard. Components use the .omniInteractionConfig suffix in the OmniInteractionConfig folder.
Why do Data Mappers return less data or hide encrypted values?
EnforceDMFLSAndDataEncryption is enabled by default and makes Data Mappers run in user context. Object and field permissions can restrict available data, and encrypted fields appear in plain text only to users with View Encrypted Data. DefaultRequiredPermission and cached-record security checks can also affect access.
Does PerformAdvancedCheck work without ApexClassCheck?
No. PerformAdvancedCheck requires ApexClassCheck to be true. It extends remote-action Apex access checking to permission sets and permission set groups; it does not grant Apex class access.
Can I change TheFirstInstalledOmniPackage to enable another feature family?
No. TheFirstInstalledOmniPackage is a read-only record of the first installed managed-package namespace. It describes installation state rather than providing a writable feature selector.
How do I keep Package Designer after a package upgrade?
For an org using Standard Runtime with Package Designer, set RetainDesignerSettingOnUpgrade to true. Without it, a package upgrade switches the designer to Standard Designer. The setting is unnecessary when Standard Designer is already enabled by turning Managed Package Designer off.