Import TMFOpenAPI Static Resources

If you are using Salesforce API version 58.0 and later, Industry API are available as static resources. Import the Industry API components to your Salesforce org using the IDX Workbench. Perform these steps:

You must first install and configure IDX Workbench to create a new repository. See Install IDX Workbench.

  1. From Setup, in the Quick Find box, enter Static Resources, and then select Static Resources.
  2. Select TMFOpenAPIs and click View file. The static resource is downloaded to your local machine.
  3. Extract the downloaded zip file.
  1. Under Repository, click New Repository.
  2. In the New Repository dialog, click Choose and select a corresponding folder you created.
  3. Name is automatically set to the folder name, but you can modify it.
  4. Click Save.
  5. Under Source, select the repository name.
  6. From the Target list, select the Salesforce org where you want to push the datapacks.
  7. From the Project list, click New Project.
  8. Enter a project name, and select Vlocity Types: All and Salesforce Types: All.
  9. Click Fetch Datapacks.
  10. Select all the datapacks and move them to the Selected Datapacks list.
  11. Click Save.
  12. Click Save again.
  13. Select all the components and click Migrate.

If you are migrating the content to an OmniStudio enabled org, perform the following steps.

  1. Install IDX Build Tool by running the npm install - -global vlocity command. See Install or Update Vlocity Build through NPM.
  2. Select the latest Node Version.
  3. Navigate to Setup > Omni Interaction Configuration and enable the metadata and disable the package runtime settings.
  4. Authorize the target org from CLI. See External Ids and Global Keys
  5. Create a Platform.yaml file in your IDX repository folder where the vlocity folder is available. Platform.yaml contains all the Data Raptors and Integration Procedures that you want to migrate.
  1. Navigate to IDX repository folder and from the CLI, execute the following command.

    vlocity -sfdx.username -job Platform.yaml validateLocalData --fixLocalGlobalKeys