For the managed package runtime, instead of managing data pack files manually, connect two orgs and publish data packs from the source org to a target that you configure as a Salesforce connected app. To connect two orgs and publish data packs from one to the other, you must create, authenticate, and configure the connected app.
To permit a data pack to be published, you must enable
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Add to Library and Published (on the final Export dialog) when you create it. When you publish a data pack, enabling Download is optional.
Create a Connected App (Managed Package)
For the managed package runtime, to connect two orgs and publish data packs from one to the other, first create the app to connect the orgs.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- From Setup, enter External Client Apps in the Quick Find box, then select Settings in the External Client App section.
- Turn on Allow creation of connected apps, if it's off.
- Click New Connected App.
- Enter Salesforce as the connected app name.
- Select Enable OAuth Settings.
-
Set the Callback URL to
https://login.salesforce.com. - Configure OAuth Scopes settings as required.
- Click Save and, when prompted, click Continue.
- Leave this browser tab open so that you can continue configuring the app after you set up authentication.
Set the Authentication Provider (Managed Package)
For the managed package runtime, after creating the app to connect the orgs, set the authentication provider.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- In a new tab, go to Setup.
- Click .
-
Set the following options:
Provider Type Salesforce Name Salesforce URL Suffix Salesforce Consumer Key and Secret Copy the Consumer Key and Secret from the connected app you created. Default Scopes refresh_token full - Click Automatically create a registration handler template.
- Set Execute Registration As to your user ID.
- Click Save.
- Copy the Callback URL at the bottom of the page to use in the configuration steps.
Configure the Connected App (Managed Package)
For the managed package runtime, after you create the app and set the authentication provider, configure the app.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Return to the Connected App browser tab.
- Click Edit.
-
Paste the Copied Callback URL into the Callback URL field and replace
https://login.salesforce.com. - Open a new tab and go to Setup.
- Click .
-
Set the following options:
Name and Label Specify a descriptive name for the target org, for example: Development Org. URL Specify the base URL for the target org with its instance ID. For example, https://na30.salesforce.com. Identity Type Named Principal Authentication Protocol OAuth 2.0 Authentication Provider Salesforce Start Authentication Flow on Save Selected - Click Save.
- You’re redirected to a Salesforce login page. Log in to the target org.
Add a Connected Org for Data Pack Deployment (Managed Package)
For the managed package runtime, add the target org to the list of installed orgs to which you can publish data packs.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Go to the Vlocity DataPacks tab.
- Click the Installed tab.
- From the Import From picklist, select Manage Org Connections.
- Click Add An Org and specify the name of the target org.
- Set Active to true.
-
If you’re
running the Vlocity unmanaged package, perform the following
additional steps:
- From Setup, click Develop, then click Custom Settings, and then click Vlocity Library Organization.
- Click Manage, and then click Edit on the record that you created.
-
In Vlocity Namespace, enter the namespace for the target org. This namespace
must be different from the namespace for the source org.
You can also go from one package to another, for example, from "vlocity_ins" to "vlocity_ins_demo".