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.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
Render a Vlocity Card Lightning Web Component in an Omniscript by using the Custom LWC Element (Managed Package).
To add a Vlocity Card to an LWC Omniscript:
- Ensure your Vlocity Card is LWC enabled and includes Omniscript support. For more information on including Omniscript support, see Creating an LWC Card Layout (Managed Package).
- In an LWC enabled Omniscript, drag the Custom LWC element into a Step. For information on creating an LWC Omniscript, see Create an LWC Omniscript (Managed Package).
- In the Custom LWC's Lightning Web Component Name property, enter the name of the Vlocity Card Component.
- Save and Activate the Script.
-
Preview the Omniscript.
Note
LWC Omniscripts using custom Lightning web components must be active to preview the Omniscript.