You are here:
Update the insRecordEditor Class Name in the insQuote Lightning Web Component
After you extend the insRecordEditor Lightning web component for use with the OmniScript, add the name of your extended insRecordEditor to the insQuote Lightning web component HTML file.
- Clone the insQuote Lightning web component and give the clone a new name.
- Open the cloned version of the Lightning web component in Salesforce DX.
- Extend the insRecordEditor Lightning web component based on your business requirements. For guidance, see Extend Vlocity Lightning Web Components.
- Open the HTML file.
-
In this line, replace all instances of
ins-record-editorwith the name of your custom extended record editor component:<c-ins-record-editor class="vloc-ins-record-editor" in-debug-mode={inDebugMode} rule-context={ruleContext} root-channel={rootChannel} title={recordEditorTitle} editor-config={editorConfig} record-id={recordId} theme={theme}></c-ins-record-editor>NoteBe sure to use kebab case because that's what HTML understands.
- Save the HTML file of your extended Lightning web component and deploy it into your org.

