Professional Documents
Culture Documents
VPE Student Take Home Guide v5.0.0
VPE Student Take Home Guide v5.0.0
Guide
Job Aids
Table of Contents
Table of Contents ...............................................................................................................3
Legal Notice ........................................................................................................................5
FlexCards Elements Reference .........................................................................................6
FlexCards Element Properties Reference ........................................................................7
LWC OmniScript Element References ..........................................................................15
Integration Procedure Element References...................................................................19
Data Decision Flowcharts ................................................................................................21
Vlocity Naming Conventions ..........................................................................................33
Troubleshooting Guide ....................................................................................................35
Legal Notice
USE OF OUR EDUCATIONAL SERVICES, COURSES, AND TRAINING MATERIALS (COLLECTIVELY REFERED
TO AS “EDUCATIONAL SERVICES”) IS CONDITIONED UPON THE ACCEPTANCE OF THESE TERMS BY YOU
(ALSO REFERRED TO AS “PARTICIPANT”). BY DOWNLOADING, INSTALLING, OR OTHERWISE ACCESSING OR
USING THE EDUCATIONAL SERVICES, YOU AGREE THAT YOU HAVE READ, UNDERSTOOD, AND AGREE TO
BE BOUND BY THESE TERMS OF SERVICE. IF YOU DO NOT WISH TO BE BOUND BY THESE TERMS OF
SERVICE, PLEASE DISCONTINUE USE OF THE EDUCATIONAL SERVICES IMMEDIATELY.
For your review, the terms of service are available at the following URL:
https://vlocity.com/cms/resources/vlocity-university-terms-of-service-2016.pdf
You are granted a nonexclusive, nontransferable, revocable, limited license to access and use our Educational Services
in accordance with the Terms of Service (https://vlocity.com/cms/resources/vlocity-university-terms-of-service-
2016.pdf). Only the authorized registrant may participate as a licensee and user of our Educational Services. As a
condition of your use of our Educational Services, you warrant to us that you will not use our Educational Services for
any purpose that is prohibited by the Terms of Service.
The material, content, and Educational Services provided by us or accessible from this Site and any other website
owned, operated, licensed, or otherwise controlled by us (the “Content”) is our proprietary information or the proprietary
information of the party that provided or licensed the Content to us, whereby we or such providing party retain(s) all
right, title, and interest in the Content.
Accordingly, the Content may not be copied, decompiled, reverse engineered, disassembled, transferred, distributed,
republished, resold, sublicensed, uploaded, posted, used to create derivative works, or transmitted in any way without
our prior written consent or the prior written consent of the Content owner, except that you may print out a copy of the
Content solely for your personal use, including as part of the applicable training or educational program.
YOUR USE OF OUR EDUCATIONAL SERVICES IS AT YOUR OWN RISK. THE EDUCATIONAL SERVICES ARE
PROVIDED “AS IS” AND WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED. WE
DISCLAIM ALL WARRANTIES, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
A PARTICULAR PURPOSE, TITLE, OR NON-INFRINGEMENT. WE DO NOT WARRANT THAT THE FUNCTIONS
OR CONTENT ASSOCIATED WITH OUR EDUCATIONAL SERVICES WILL BE UNINTERRUPTED OR ERROR-
FREE, THAT DEFECTS WILL BE CORRECTED, OR THAT OUR SITE AND EDUCATIONAL SERVICES ARE FREE
OF VIRUSES OR OTHER HARMFUL COMPONENTS. WE DO NOT WARRANT OR MAKE ANY REPRESENTATION
REGARDING USE, OR THE RESULT OF USE, OF THE EDUCATIONAL SERVICES IN TERMS OF ACCURACY,
RELIABILITY, OR OTHERWISE. THE EDUCATIONAL SERVICES MAY INCLUDE TECHNICAL INACCURACIES OR
TYPOGRAPHICAL ERRORS, AND WE MAY MAKE CHANGES OR IMPROVEMENTS AT ANY TIME.
© 2020 Vlocity
Platform Essentials Student Take Home Guide - Page 6 FlexCards Elements Reference
CONFIDENTIAL
Property Description
Common Action Type
Properties shared by all Action Types
Properties
Action Type Select the type of action to execute.
Conditions Add a condition that must be met for the element to display.
Display As Button Check to display the action as a button.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Enable click-based event tracking through OmniAnalytics. Track the UI
Enable Tracking
Action event.
Hide Icon Check to hide the icon and only show the label.
Enter the name of the icon, such as utility:down, or click into the field
Icon
to search for an icon.
Label Enter a visible label for the element.
Show Only Icon Check to show an icon without a label.
Select from predefined SLDS styles to change the appearance of the
Variant
element.
Card Action Properties unique to the Card Action
Set Values Enter key/value pairs to update field values.
Select the type of action to launch.
• Reload – Reloads the FlexCard.
• Remove – Removes all or specific records from the FlexCard,
Type such as alerts and notifications.
• Set Values – Updates a field value.
• Update Data Source – Changes the data source, or updates the
parameters of an existing data source.
Event Action Properties unique to the Event Action
Bubbles Check to enable the event to bubble up through the DOM.
Channel Name Enter a channel name for the pubsub event.
Composed Check to enable the event to pass through the shadow boundary.
Event Name Enter the name of the custom event.
Event Type Select an event type.
Enter parameters to pass contextual data to the event as key/value
Input Parameters
pairs.
FlexCards Element Properties Reference Platform Essentials Student Take Home Guide – Page 7
CONFIDENTIAL
Property Description
Flyout Action Properties unique to the Flyout Action
Attributes Set attributes available from the flyout's component.
Data Node To pass parent data to the Child FlexCard, select a data node.
Flyout Select the component to display in the flyout.
Flyout Type Select the type of component to display.
Layout Type Select a theme for the flyout.
Reset Component On Close Resets the component to its on load state when the flyout closes.
Navigate Action Properties unique to the Navigate Action Target
Action Name Enter the name of the action. App
Api Name Enter the API name of the app. App
The app that you are navigating to. Pass either the
App Target App
appId or appDeveloperName to the appTarget.
The standard or custom app available from the App
App Type App
Launcher.
The value of the urlName field on the target
Knowledge
Article Url KnowledgeArticleVersion record. The urlName is the
Article
article's URL.
The unique name of the Lightning community page.
Community
Community Page Name The value for name is the API Name value for a
Named Page
supported page.
The Lightning component name in the format
Component Name Component
namespace__componentName.
Custom Tab Name The unique name of the custom tab. Navigation Item
Component,
Enter parameters to pass contextual data to the action
Input Parameters Login,
as key/value pairs.
Navigation Item
The API name of the standard or custom object. For
custom objects that are part of a managed package,
Object API Name Object
prefix the custom object with ns__, where ns is your
org's namespace.
Select whether to open the target page in the current
Open Target In All
window or a new tab/window.
Page Name The unique name of the page. Named Page
Record Object API Name The API name of the record’s object. Record
RecordId Enter the record Id of the record to navigate to. App
Record
Relationship Object API Name The API name of the object that defines the relationship.
Relationship
Target Select the PageReference type. All
Platform Essentials Student Take Home Guide - Page 8 FlexCards Element Properties Reference
CONFIDENTIAL
Login, Object,
Target Action Enter a valid action name to call. Record, Record
Relationship
Knowledge
Target Article Type Enter the API name of the article type.
Article
Record, Record
Target Id Select a ContextId from the data source.
Relationship
Record
Target Relationship The API name of the object’s relationship field.
Relationship
URL The URL of the page you are navigating to. Web Page
Property Description
Update OmniScript
Properties unique to the Update OmniScript Action
Action
Input Parameters Enter the OmniScript data fields to update.
Point to a specific data node in OmniScript JSON to update. Select from
Parent Node the merge fields available from the data source or enter a data node
manually.
Vlocity Action Properties unique to the Vlocity Action
Action Name Enter a visible name for the action.
Context ID Select a data field to use as the ContextId, such as {‘AccountId’}.
Fetch Action Name from
Select the action name from a data source field.
Datasource
Input Parameters Enter parameters to pass contextual data to the action as key/value pairs.
Object Select the sObject.
(Disabled by default) Opens target in the current window or a new
Open Target In
tab/window.
Property Description
Add Action Make the element a clickable action.
Collapsed By Default If selected, the block element is collapsed by default.
Collapsible Makes the block collapsible, hiding its content.
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Label Displays a visible label for the collapsible block element.
FlexCards Element Properties Reference Platform Essentials Student Take Home Guide – Page 9
CONFIDENTIAL
Property Description
Color Palette Select a predefined color scheme.
Conditions Add a condition that must be met for the element to display.
Cutout Percentage Enter the size of the donut chart hole by percentage.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Hide Header Show or hide the chart's title.
Select the field whose values are used to categorize the data, such
Label Node
as Name of Accounts.
Title Displays a title above the chart when Hide Header is disabled.
Type Select the type of chart to display.
Select the values to populate the chart, such as AnnualRevenue for
Value Node
Accounts.
Property Description
Attributes Set the values for attributes defined in the selected custom LWC.
Attribute Enter the name of the attribute defined in the selected custom LWC.
Conditions Add a condition that must be met for the element to display.
Custom LWC Name Select the custom LWC to embed.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Value Enter the value of the Attribute.
Property Description
Update the data fields to populate the table and set options for columns,
Column
such as type, selectability, and so on.
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Records Specify the record data that populates the table. Defaults to {records}.
Platform Essentials Student Take Home Guide - Page 10 FlexCards Element Properties Reference
CONFIDENTIAL
Property Description
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Field Type Select the type of Field element to display.
Label Enter a visible label for the element.
Output Select the data field to display.
Property Description
Attribute Define a key that represents an attribute.
Pass data from the parent to the Child FlexCard by creating an attribute
Attributes
and assigning it a value, such as a data merge field.
Conditions Add a condition that must be met for the element to display.
Data Node To use the data source from the parent FlexCard, select a data node.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Enable event tracking through OmniAnalytics. Track Card Load, Card
Enable Tracking
Unload and State Load events.
FlexCard Name Select the Child FlexCard to display.
Select State View a state from the FlexCard Name selected.
Value Select the data to pass for the defined Attribute.
FlexCards Element Properties Reference Platform Essentials Student Take Home Guide – Page 11
CONFIDENTIAL
Icon Properties
Property Description
Add Action Make the element a clickable action.
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Extra Class Add an additional class to the element.
Icon Enter the name of the Salesforce Icon.
Image Source Enter the URL of a custom icon.
Size Select the size of the icon.
Type Select the type of icon to display.
Select from predefined SLDS styles to change the appearance of the
Variant
element.
Property Description
Add Action Make the element a clickable action.
For accessibility, enter text describing the image, which displays when
Alternative Text
the image is not available.
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
Enter a class appended to the container of the element. Select from a
Extra Class class defined in the Add Custom CSS feature of the FlexCard Designer
or any stylesheet available to the FlexCard.
Height Enter a value available to the height CSS property, such
as 100px, 4rem, or a calc() function.
Enter the image source for the icon. Upload the icon here, select an
Image Source image from your org's libraries, or enter a secure absolute URL from an
external source.
Update the size of the image relative to the Canvas size. By default, Fit
Size Content is selected, enabling the image to fill the container of the Image
element.
Title Enter an image caption.
Title Class Enter a class for the image caption.
Enter a value available to the width CSS property, such as 100px, 4rem,
Width
or a calc() function.
Platform Essentials Student Take Home Guide - Page 12 FlexCards Element Properties Reference
CONFIDENTIAL
Property Description
Add New Action Make the element a clickable action.
Conditions Add a condition that must be met for the element to display.
Dropdown Position Select the position of the dropdown relative to the menu button.
Dropdown Size Select the size of the dropdown.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
To disable scrolling in the dropdown when there are more than 5 menu
Enable Overflow
items, disable this feature. Enabled by default.
Icon Select the icon to display.
Icon Position Select position of the icon relative to the label.
Icon Size Select the size of the icon.
Label Enter a visible label for the element.
Status Select an SLDS style for your menu item.
Select from predefined SLDS styles to change the appearance of the
Variant
element.
Property Description
Blank Card State Display this state when there is no data returned from a data source.
Enter a descriptive name for the state. The state Name is for reference
Name
only and does not appear on the generated LWC or in Preview.
Conditions Set when and how a state displayed based on specified conditions.
Property Description
Conditions Add a condition that must be met for the element to display.
The name of the element as seen on the Canvas. Used to distinguish
Element Name one element from another as you build your FlexCard in the designer. Is
used only within the designer.
FlexCards Element Properties Reference Platform Essentials Student Take Home Guide – Page 13
CONFIDENTIAL
Property Description
Common Toggle Element
Properties shared by all Toggle element types
Properties
Add Action
Conditions
Element Name
Extra Class
Toggle Type
Toggle Element Properties
Alignment Select whether to align each checkbox horizontally or vertically
Alternative Text Enter text for accessibility, visible when image is not present
Checked Set the toggle element to be checked by default
Checked Icon Name Select the icon visible when the element is checked.
Checked Label Select the label visible when the element is checked.
Disable the toggle element. Or disable the toggle element based on the
Disabled value of a data field whose value returns true or false. The field must
have a Boolean value. If the value returns a string, Disabled is false.
Help Text Add text visible when user hovers over the help i icon.
Icon Name Select the icon.
Icon On Hover Select the icon visible on hover of the element.
Label Enter a visible label for the element.
Label On Hover Select the label visible on hover of the element.
Options Enter a key/value pair for each checkbox option.
Make the toggle element a required field. Adds an asterisk next to the
Required
element.
Required Label Add text next to the asterisk when Require is enabled.
Unchecked Icon Name Select the icon visible when the element is unchecked.
Unchecked Label Select the label visible when the element is unchecked.
Update Data Source Updates the data source with the value of the selected state of the
toggle element.
Add default value. For example, set a value as true or enter a comma-
Value
separated list of selected options.
Select from predefined SLDS styles to change the appearance of the
Variant
element.
Platform Essentials Student Take Home Guide - Page 14 FlexCards Element Properties Reference
CONFIDENTIAL
LWC OmniScript Element References Platform Essentials Student Take Home Guide – Page 15
CONFIDENTIAL
OmniScripts
(Reusable LWC OmniScript LWC OmniScript that has been marked as reusable.
Name)
Platform Essentials Student Take Home Guide - Page 16 LWC OmniScript Element References
CONFIDENTIAL
OmniScript Properties
Feature Function
Script Configuration
Hard Coded language versions Create a different version for each language.
Multi Language Automatically translate OmniScript.
Right to left language Display a language right to left.
Element Type To HTML Template Change look and feel with custom template for all instances of this element
Mapping type.
Enable LWC Enable us as Lightning Web Component
Reusable Allow this OmniScript to be embedded in another OmniScript.
Fetch Picklist Values At Script Load Get Salesforce Picklist Values at runtime instead of design time.
Label outside of field Show field label above the field.
Enable Unload Warning Warn use if navigating away from script.
Enable Tracking Track page view data.
PERSISTENT COMPONENT-Cart Set of fields to create a persistent shopping cart.
• API Driven
PERSISTENT COMPONENT- Display Salesforce Knowledge article.
Knowledge • API Driven
LWC OmniScript Element References Platform Essentials Student Take Home Guide – Page 17
CONFIDENTIAL
Feature Function
Pattern Enter the RegEx pattern required for the field.
Pattern Error Text Enter an example of the correct pattern.
Required Set the completion of a field as required.
Read Only Make field display only, not editable.
Repeat Enable a user to add one or more fields.
• Adds an array to the data JSON.
ERROR MESSAGE Create a custom error message.
USER MESSAGES Configure what appears in failure modals
Available For Prefill When Hidden Prefill fields with conditions.
HTML Template Id Change look and feel with custom HTML Template for this element.
Internal Notes Leave notes for developers.
SEND/RESPONSE Limit, map, or rename data via JSON path
TRANSFORMATIONS
Extra Payload Limit, map, or rename data as key/value pairs
CONDITIONAL VIEW Show or hide element based on logical expression(s).
Platform Essentials Student Take Home Guide - Page 18 LWC OmniScript Element References
CONFIDENTIAL
Integration Procedure Element References Platform Essentials Student Take Home Guide – Page 19
CONFIDENTIAL
Feature Function
Procedure Configuration
Tracking Custom Data Define data passed to tracking
Include All Actions In Response Write all action responses to the root JSON
Rollback On Error Undo anything that changed if there is an error
Required Permission (Optional) Use Salesforce Permissions set
CHAINABLE CONFIGURATION Control how long-running procedures are executed
CACHE CONFIGURATION Control when and where cache is stored
QUEUEABLE CHAINABLE LIMITS Control how long-running elements are executed
Common Element Properties
SEND/RESPONSE TRANSFORMATIONS Transform data
Additional Input Transform data
Additional Output Transform data
Failure Response Custom error messages
Execution Conditional Formula Create a branch in a workflow
Failure Conditional Formula Data validation
Fail On Step Error Data validation
Chain On Step Control how long-running elements are executed
Action Message Define user message for batch processing
Platform Essentials Student Take Home Guide - Page 20 Integration Procedure Element References
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 21
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 22 Data Decision Flowcharts
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 23
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 24 Data Decision Flowcharts
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 25
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 26 Data Decision Flowcharts
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 27
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 28 Data Decision Flowcharts
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 29
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 30 Data Decision Flowcharts
CONFIDENTIAL
Data Decision Flowcharts Platform Essentials Student Take Home Guide – Page 31
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 32 Data Decision Flowcharts
CONFIDENTIAL
Vlocity Naming Conventions Platform Essentials Student Take Home Guide – Page 33
CONFIDENTIAL
Platform Essentials Student Take Home Guide - Page 34 Vlocity Naming Conventions
CONFIDENTIAL
Troubleshooting Guide
• Activate everything!
• Is Salesforce hanging up? Reload the Chrome page.
• Is Salesforce acting odd? Try closing out your browser window and logging in from a fresh window.
This clears your browser cache.
• Use OmniScript Debug Console to trace your data flow.
• Check the spelling of element names and JSON nodes.
• Check that abbreviations in variable and component names are always abbreviated and not spelled
out in full. For example, ReadAcctData instead of ReadAccountData.
• Boolean values are case sensitive; check that true and false are all lower case. Do not use quotation
marks when using a Boolean value.
• When troubleshooting in Preview mode, Refresh or Clear Logs in LWC OmniScript Designer and
Add Test Params in FlexCards.
• If you are having problems with populating data; check that the names of variables in your OmniScript
or Layout match those in the associated DataRaptor nodes.
• For Calculation Matrices and Calculation Procedures check that there is an effective version based
on Start Date Time, End Date Time, and Priority.
Important Links
Resource Link
eBooks evantage.gilmoreglobal.com