You are here:
Opening Knowledge Base Articles Outside of a Classic Omniscript (Managed Package)
For the managed package runtime, beginning with Vlocity Insurance and Health Winter '20 and Vlocity CME Winter '20, launch Knowledge articles outside of an Omniscript using the Vlocity Omniscript Knowledge Base component in a Community or Lightning page.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
The Vlocity Omniscript Knowledge Base component renders Knowledge base articles side-by-side with an Omniscript or as a standalone component. When opening Knowledge Base articles from an Omniscript, Omniscript passes specific information into the Omniscript Knowledge Base component to search the Knowledge base and render articles.
-
Configure the fields in that query the Knowledge base
-
(Optional) Define Knowledge base queries at the step level
- In an Omniscript's Script Configuration, expand Knowledge options and select Enable Knowledge.
- Select Lightning Knowledge and configure the remaining fields.
- In the Persistent Cart's vlcKnowledge tab, ensure Display Outside Omniscript is selected.
- (Optional) Configure Knowledge Options on the Step level.
- Deploy the Omniscript by clicking Activate.
- Open the Lightning App Builder and create a page with a layout containing at least two regions.
- From the Lightning page, drag the deployed LWC Omniscript component into the page.
- From the Lightning Components section, drag the Vlocity Omniscript Knowledge Base component.
- In the omniscriptKey field, enter the name of the LWC Omniscript component using the syntax type_SubType_Language.
- (Optional) In the layout field, enter newport to render the Knowledge base article with Newport styling.
- Save the Lightning page and test the Omniscript on the Lightning page to preview the behavior.
