Loading
Prepare for Email to Become the Default Login ExperienceRead More
US/Canada Toll-Free Callers Experiencing Silence After Agentforce Voice GreetingRead More
Clean Metadata Deployment for Omnistudio

Clean Metadata Deployment for Omnistudio

Clean Metadata Deployment modernizes how you deploy Omnistudio components. When you turn it on, Omnistudio components behave like standard Salesforce metadata, so you deploy them with Salesforce CLI, DevOps Center, change sets, and packaging, alongside Lightning web components, flows, and Apex classes in a single pipeline.

Omnistudio components become standard setup entities, represented by new metadata types. Each component exposes only a single version, dependencies are detected automatically, and source files use clean, version-agnostic names. You deploy Omnistudio components with the same tools and workflows that you already use for the rest of the Salesforce platform.

Note
Note Clean Metadata Deployment is available only on the standard runtime and standard designer. If you're on the managed package runtime and designer, migrate to the standard runtime and designer to use this feature. See Migrate Your Components to Omnistudio Standard Runtime Using the Omnistudio Migration Assistant.

Key Benefits

Clean Metadata Deployment brings these improvements to Omnistudio deployment.

  • Atomic deployment: Deploy Omnistudio changes together with other Salesforce metadata types in one cohesive deployment.
  • Automatic dependency detection in first-generation (1GP) packages: When you retrieve or deploy an Omnistudio component, the framework identifies the components it depends on and includes them.
  • Streamlined version management: Each component exposes only its single version for deployment. Each deployment creates a version in the target org, so you no longer scan a long list of versions to find the right one.
  • Readable diffs: The new metadata produces consistent, readable diffs of your deployed Omnistudio changes for reviewers.
  • Packaging support: The new metadata is packageable in first-generation (1GP) and second-generation (2GP) packages.
  • Sandbox copy support: When you create a full copy or partial copy sandbox, your Omnistudio components are copied to the sandbox. See Sandbox Types and Templates.
  • Source tracking: Track the changes between your local project and a scratch org or sandbox when you create, update, or delete Omnistudio components. See Track Changes Between Your Project and Org.

Key Differences

This table compares Omnistudio deployment before and after you turn on Clean Metadata Deployment.

Capability Legacy Deployment Clean Metadata Deployment
Deploy alongside other metadata types No Yes
Versions exposed for deployment All versions Single version only
Automatic dependency detection Not supported Supported (1GP only)
Source files in version control Hard to compare Readable, consistent diffs
File naming Includes version number Version-agnostic
Source tracking Not supported Supported
Full sandbox copy Omnistudio components not copied Omnistudio components copied
1GP packaging Limited Supported
2GP packaging Limited Supported
Change sets Not supported Supported

Supported Deployment Methods and Tools

After you turn on the feature, you can use Omnistudio components with these options:

New Metadata Types

When Clean Metadata Deployment is turned on, use these metadata types for retrieve and deploy operations. These metadata types require API version 67.0 or later.

Component New Metadata Type Legacy Type (no longer supported)
Omniscript OmniscriptDefinition OmniScriptConfig
Integration Procedure IntegrationProcdDefinition OmniIntegrationProcConfig
Data Mapper DataMapperDefinition OmniDataTransformConfig
Flexcard FlexcardDefinition OmniUiCardConfig

Limitations

Consider these limitations when you plan your deployment.

  • The Tooling API isn't supported.
  • Omnistudio components that reference Data Mappers in the non-Industries managed package aren't supported.
  • Packaging doesn't allow version overrides. If a component name conflicts with an existing component during installation, the installation creates a version.
 
Loading
Salesforce Help | Article