So our client has a fresh vanilla Salesforce org that I am setting up by installing Vlocity Industries – Energy and Utilities Cloud and learned a few gotchas that I wanted to share.
First off, know if your org uses OmniStudio sObjects(standard) or OmniStudio for Vlocity SObjects(custom objects). You can do the following:
Under Setup > Quick Find and search if Omni Interaction Configuration appears in the results. If it does, this means your org uses OmniStudio sObjects.
Other gotchas to know:
Managing Licenses
- There is now a different method of assigning permissions to users with the E&U, you no longer have to manage the licenses from the installed package.
- To allocate the license go to the Company Information in Setup and assign users to the following Permission Sets
- OmniStudio Admin
- Energy & Utilities Base Sales
- Energy & Utilities Base Service
- Aside from the Permission Sets listed on the Company Information page, you need to go to the Permission Sets from Setup and add the following users to the following permission sets as well.
- OmniStudio Admin
- EAndU Cloud Base Runtime
- EAndU Cloud Sales Runtime
- To allocate the license go to the Company Information in Setup and assign users to the following Permission Sets
No Access to Vlocity Card Tab
Next, going to the installation step when you get to install step — Import CPQ Base Templates and Omniscripts, it says to open the Vlocity Card tab, but instead, what you get is an error This Page is deprecated (likely this only happens if you are on an OmniStudio sObject org).
Do the following to fix the error:
- Go to Setup > Omni Interaction Configuration
- Click the New button and enter the following
- Name: ShowLegacyOmniStudioUi
- Value: true
- And Save
Note: Opening any OmniScript installed will open in the Angular UI.
Editing OTB Cards, Templates and OmniScripts
If you customize any out-of-the-box cards, templates, and OmniScripts, give them new, unique names. Renaming them prevents them from being overwritten when you upgrade to the latest release.
Installing Console Apps
At this moment, it seems if you want to install any of the console apps(Energy & Utilities Contact Center Console, Large Account Sales Management app) you would need to request a demo org. There does not seem to be a method to directly install it in an existing org. To transfer the components you would need to retrieve the components from the demo org and manually migrate them to your target org, you have couple few options to accomplish this.
- Using IDX workbench
- VSCode with Salesforce Vlocity Integration extension from the Marketplace.
- Using the Vlocity cli.
Integration Procedure and DataRaptors Actions
If you managed to deploy the console apps to your target org, you would notice that data is not flowing from the Integration Procedures that calls Dataraptors even when checking to the Debugger.
The solution I figured out was to:
- Create a new version of the Integration Procedure,
- Add any Dataraptor action
- Then delete that Dataraptor action
- Activate the new version
Only then will the data be returned from the existing Dataraptor Action to that Integration Procedure.
FlexCard Opening as Record instead of the FlexCard Designer
If the FlexCard is opening a record instead of the FlexCard Designer, perform the following:
If using OmniStudio sObjects
- Go to Setup > Object Manager > Omni UI Card > Lightning Record Pages > Vlocity Card Designer > View > Activate the layout as the Org default
- If you can’t find the Lightning Record Pages, you would need to recreate it.
- Edit the existing Omni UI Page and remove all components and add the following components
- cardDesignerHeader
- cardPreview
- rightSidebar
- Edit the existing Omni UI Page and remove all components and add the following components
If using OmniStudio for Vlocity
- Go to Setup > Object Manager > Vlocity Card > Lightning Record Pages > Vlocity Card Designer > View > Activate the layout as the Org default
Deploying DataPacks
As I mentioned earlier it is important to know if you are using OmniStudio standard objects or Vlocity for Omnistudio(custom objects).
If you are on Omnistudio standard objects then retrieving or deploying DataPacks using VSCode with the Vlocode extension this doesn’t work. You have two options
- Use the Vlocity build tool – a command line tool. I wrote a blog post on how to use this for CICD
- Download an IDX alpha version of the IDX workbench – IDX Alpha download link: http://vlocity.s3-website-us-east-1.amazonaws.com/electron/index-alpha.html (normal IDX workbench will not work)
Note: I was informed that you would need to use vlocity build tool with FlexCards, they do not work with the IDX alpha tool as of writing.
Installing Vlocity Industries Summary
Just installing the package is one part, the amount of manual steps is a lot of work. I wish it can be automated in the future like tweaking page layouts, flexipage, and such, etc. I’ll keep this post updated as I learn a few more gotchas as I do the implementation.
I am currently working on an OmniStudio Udemy and Skillshare course where I will cover more about development and building on the framework. Will be an in-depth good resource for preparing for the OmniStudio Developer Certification.
If you are interested to know and want to be notified when it comes out. Show your interest by leaving a comment below.
This really helps
hi, im having this issue https://help.salesforce.com/s/articleView?id=000394394&type=1 and did the suggested solution but no luck. Can you help me? thanks!!!