You are here:
Extend the insRecordEditor Lightning Web Component
The insRecordEditor Lightning web component is one of the Lightning
web components the Quote UI uses to display the window for adding and modifying an
insured item on a quote. To get insRecordEditor to find and use the
OmniScript that adds and modifies insured items, you need to extend this
component.
- Open the cloned copy of the Lightning web component in Salesforce DX.
-
Follow the steps in Extend OmniStudio
Vlocity Lightning Web
Components to extend the component correctly, including replacing
the
<c>namespace instances. to extend the component correctly, including replacing the<c>namespace instances. - Open the HTML file in your extended component.
-
Locate this section of the code:
<template if:true={showEditorForm}> <!-- Remove error message below and replace with custom process--> <div class="slds-has-error slds-m-top_none slds-align_absolute-center"> <div class="slds-form-element__help" {customLabels.InsQuoteCustomProcessMessage </div> </div> </template> - Replace the error message with the OmniScript markup you copied to your clipboard in Create an OmniScript.
- Save the HTML file of your extended Lightning web component and deploy it into your org.

