Set the Omnistudio Designers to Use the Standard Data Model

As part of the migration from managed package runtime to Omnistudio standard runtime, execute an Apex class to set the Omnistudio designers to use the standard data model instead of the custom data model.

Before you begin, review the phases of the migration process to Omnistudio standard runtime. See Migrate Omnistudio Components from Vlocity Industries Managed Packages and Custom Data Model to Omnistudio Standard Runtime.

  1. Log in to your migration sandbox.
  2. Click Setup and select Developer Console.
  3. Execute this code.
    // Switch Package to use Standard Objects
    <namespace>.OmniStudioPostInstallClass.useStandardDataModel();
Example
Example
vlocity_ins.OmniStudioPostInstallClass.useStandardDataModel();