Vlocity - Cards Framework Test
What can be done in the XML interface in the card layout? - ✔✔1. Set the component
name(label) you'll see in the App Builder
2. Enable or disable the component as public or private
3. S
...
Vlocity - Cards Framework Test
What can be done in the XML interface in the card layout? - ✔✔1. Set the component
name(label) you'll see in the App Builder
2. Enable or disable the component as public or private
3. Set the API version
What is the {{payload}} variable? - ✔✔A temporary variable used by the session variables to
access the whole result of a datasource
Which context variable is set in the Card Designer and allows access to any property in scope
plus the {{payload}} variable? - ✔✔{{session}}
What can the {{session}} variable access? - ✔✔It can access any property in the scope plus the
{{payload}} variable
When you need to make a change to a card that multiple layouts use, what is the best way to
make sure that all layouts using the card also update? - ✔✔Create a new version of the card
What are Vlocity Cards? - ✔✔Defined areas that display information and actions. Data can come
from multiple sources
How are Card layouts arranged? - ✔✔Based on the priority and frequency of tasks
What does the JSON metadata of a Vlocity Card do? - ✔✔The JSON metadata determines how
the card is defined, and what information/actions are available
How many cards can be displayed on a layout? - ✔✔Infinite
What does the card state control? - ✔✔1. What the user can see and do on the card
2. The card's appearance related to its state
If a card has multiple states, what determines which state is shown? - ✔✔The underlying logical
conditions determine which state is displayed
Whats the difference between Design Time vs Run Time? - ✔✔Design Time - all cards are
displayed regardless of whether theyre active
Run Time - only active cards display
What is the difference between these two Loop Settings?: Repeat Cards vs Repeat Records? -
✔✔Repeat Cards - groups cards by object type (e.g. Account, Contact, Cases)
Repeat Records groups cards by the order they appear in the database
What are some actions that can be done with LWC cards? - ✔✔1. Vlocity Actions -
Preconfigured actions created in the Vlocity Actions tool in your org.
2. Custom Actions - create an action unique to the card state. (nonreusable on other cards)
3. OS Actions - launches an OmniScript from your card state
4. Smart Actions - generate and return actions to an LWC card at runtime by using an IP
5. PubSub Actions - fire pubsub events from an action on a LWC card
How do you go about naming a card layout? - ✔✔1. Must be unique
2. All lowercase
3. Kebab case
Ex. "this-is-a-unique-name"
Can card titles be reused? - ✔✔Yes, but card layout titles cannot be reused.
What is the input map used for? - ✔✔To define the input to the data source
What values does the input map need? - ✔✔1. The name of the variable(s)
2. The merge code for where the data is in the layout's data structure (usually {{params.id}})
What do you do if you want to display a component once per record? - ✔✔Select the "Repeat
state over records" checkbox
How would you write the JSON to display 3 columns for Case Number, Case Status, and Case
Subject? - ✔✔Case Number - {"fieldName": "CaseNumber", "label": "Case Number", "sortable"
: "true"}
Case Status - {"fieldName": "CaseStatus", "label": "Status"}
Case Subject - {"fieldName": "CaseSubject", "label": "Subject"}
When do you clone a layout versus version a layout? - ✔✔We clone a layout when we want two
independent layouts that are called separately
We version a layout when we want the new version to appear everywhere ( there can ony be 1
version active at a time)
When do you clone a card instead of version it? - ✔✔You clone a card if you want the new card
to be available independently from the parent.
You version the card if you want it to replace the old one
What is a quick way to create a new state? - ✔✔Clone an existing state
What are 2 reasons why you cannot delete a card? - ✔✔1. The card is active
2. The card is used in another layout
When can you not edit a card state? - ✔✔There is no data in the layout
If a card layout component is not showing up in the Custom list but it is active in the Card
Designer, what could the problem be? - ✔✔1. The component is set to private
2. The component has no targets set in the LWC metadata configuration
3. The component name is different from the card layout name, and you were looking for the
wrong name
Where should you go to check why a card layout component is not showing up in the custom
list? - ✔✔Show XML Interface in the Layout Panel
[Show More]