Perform these manual tasks after migration to resolve the issues:
- Custom stylesheets with package namespace: If you’ve any custom stylesheets with package
namespace included in your stylesheet elements:
- Remove the package namespace from your stylesheets and replace it with
runtime_omnistudio, runtime_omnistudio_flexcard, runtime_omnistudio_omniscript, or runtime_omnistudio_common. - If there are any changes to the HTML tags, which are used in custom stylesheets, change those tags to match standard runtime, accordingly.
- Remove the package namespace from your stylesheets and replace it with
- Integration Procedure handling empty Arrays when using
setValueswith Data Mapper: After migrating to the Omnistudio standard runtime, Integration Procedures that use thesetValuesaction to pass data into a Data Mapper may show this runtime error:No Input objects sent. This error occurs when thesetValueselement passes an empty array to the Data Mapper input.Complete these steps to resolve the issue:
- From Setup, search and find Integration Procedures.
- Open the affected Integration Procedure and locate the element where the Data Mapper input is referenced.
- Open the element properties panel.
- Deselect the Terminate when step fails checkbox.
- Save and activate the Integration Procedure.
- Validate whether the Integration Procedure executes successfully without errors.
- Namespace mismatch after migrating Omnistudio components: When you migrate the Omnistudio
components using the Omnistudio Migration Assistant, the auto-generated Lightning web
components (LWCs) created for Flexcards or Omniscripts are not migrated. Depending on your
source package, these auto-generated LWCs continue to reference their original namespace:
- Vlocity Industries managed packages with custom data model or standard data model: Auto-generated LWCs continue to reference the vlocity managed package namespace.
- Omnistudio Foundation package with standard data model: Auto-generated LWCs continue to reference the omnistudio namespace.
If the custom LWCs are embedded within these auto-generated Omniscript or Flexcard LWCs, the custom components are migrated to the
cnamespace, creating a namespace mismatch. This mismatch causes cross-reference errors when you open or deploy the migrated components.Use one of these methods to resolve the issue:
Enable the Lightning Web Security setting:
- In Setup, find and select Session Settings.
- Select the Use Lightning Web Security for Lightning web components and Aura components checkbox.
- Save your changes.
Embed your Flexcard inside the standard wrapper:
- If a Flexcard is referenced on an Experience Cloud site page or record pages as custom LWC, replace the custom LWC with the Flexcard standard wrapper.
- If a Flexcard is referenced in an LWC on an Aura page as custom LWC, replace the custom
LWC with
<namespace>:flexcardStandardRuntimeWrapper. See Activate and Publish a Flexcard.
- InteractionWrapper Lightning web component missing: After the namespace update, the
deployment fails because the unmanaged package definition for the InteractionWrapper Lightning
web component is not present in the org.
To resolve the issue:
- Locate the
package.xmlfile in your current working directory. This file is created when you run the Omnistudio Migration Assistant. - Exclude the
InteractionWrapperLightning web component from thepackage.xmlfile. - Redeploy the metadata using the Salesforce CLI.
- Locate the