Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Insurance
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Extend the insRecordEditor Lightning Web Component

          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.

          1. Open the cloned copy of the Lightning web component in Salesforce DX.
          2. 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.
          3. Open the HTML file in your extended component.
          4. 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>
          5. Replace the error message with the OmniScript markup you copied to your clipboard in Create an OmniScript.
          6. Save the HTML file of your extended Lightning web component and deploy it into your org.
           
          Loading
          Salesforce Help | Article