I’ve recently completed a Vlocity Administrator and Developer Essentials course, and am preparing for the final exam.
There is a lot to say about the Vlocity industry accelerators. The official documentation and training certainly throws you in at the deep end. Here are some blog posts that will break each technical component up into ‘Hello world’ components.
What are Vlocity Cards?
- Salesforce org
- Vlocity app installed (not freely available unfortunately)
- Knowledge of Salesforce Administration
Display ‘Hello World’ on a Vlocity card to a Contact record page.
Step 1: Create Vlocity Layout & Card
We will create a layout, card and state with a really simple structure (In real life you would likely want lots of cards and lots of states to represent your data).
We will create a simple layout that will query basic details from the Contact record and display them on a simple card. It will look like this:
Note about Data source: I used SOQL to make this as simple as possible. We will have a ‘Hello World’ DataRaptor blog post soon to go into the best way to acquire data into your cards.
Activate the Card and click the ‘Preview’ tab, and you should see a (badly) formatted card with a single ‘Call’ action:
Step 2: Create a new Lightning Page for Contact
We want to see this card in action, so we create a new Lightning Page, and choose the ‘Vlocity Three Columns’ Template:
Activate the card (set as org default if you are just playing around in a sandbox) and then view a random Contact:
Obviously the formatting is not right yet, so for the next blog post we will get into how to present this correctly.