For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.
Before you begin, review the
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
LWC Omniscript Considerations page to ensure LWC Omniscripts support the same elements and functionalities present in your Angular Omniscript.
Enable the use of custom Lightning web components for an existing Angular Omniscript by converting the Omniscript to an LWC Omniscript.
LWC compatible elements display a Lightning icon in the Available Components panel of an Omniscript.
-
Beginning with Vlocity Insurance and Health Spring '20, LWC Omniscripts may begin
with an uppercase letter. If the Omniscript is in an earlier package:
In the Vlocity Insurance and Health Summer '19-Winter '20 and Vlocity CME Fall '19-Winter '20 releases, an LWC Omniscript's Type must begin with a lowercase letter. If the Omniscript's Type begins with an uppercase letter, change the Type to a unique name that begins with a lowercase letter. You cannot use case-sensitivity to convert the Angular Omniscript's Type. For example, if you have an Angular Omniscript with an existing Type named Test, you cannot create an LWC Omniscript with a Type named test.
The Type limitation occurs because Type is stored in a Salesforce picklist, and Salesforce picklists store values without case-sensitivity.
- Check the Enable LWC checkbox.
-
Replace any existing Done Actions in the Omniscript with a Navigate Action. For
information on configuring the Navigate Action, see Navigate Action.
LWC Omniscripts do not support the Done Action element.
- LWC Select elements feature filtering similar to the filtering in a Type Ahead Block. To present a small number of options without filtering, replace the Select element with a Radio element. For more information, see Select Element and Radio Element.
- Elements in an Angular Omniscript that use custom templates must now use custom Lightning web components to provide custom functionality.