Loading
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
          Insurance Product Selection Lightning Web Component

          Insurance Product Selection Lightning Web Component

          The Insurance Product Selection Lightning Web Component enables end users to effortlessly compare multiple rated insurance products and choose the optimal plan directly within a guided OmniScript flow.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions with the DigitalInsurancePlatform and Omnistudio licenses

          Quickly compare up to three different root products side-by-side to understand variations in coverages and pricing. This component passes multiple rating inputs to the Insurance Rating API, which rates several root products and returns the calculated premiums and details. The UI displays product cards showing the Premium for each option, enabling the user to select one and proceed.

          These properties are available to configure how the component interacts with the Rating API and displays data:

          • ratedProdDescriptions: A user-defined map allowing you to provide specific descriptions for each rated root product displayed in the UI
          • ratingInputs: The collection of user inputs and product codes to be rated
          • ratingOptions: A map containing rating settings such as specific pricing procedures
          • rootProductCodes: Multiple root products to use with one set of child inputs
          • transactionType: The type of transaction, such as Endorsement or New Business

          If you want to use the same child inputs on multiple root products, set those inputs to have reusable=true, and pass the root products in rootProductCodes instead of ratingInputs.

          Here’s a sample payload with multiple roots:

          {​
          "ratingInputs": [{​
            "productCode": "auto",
            "instanceKeys":["Audi"], "reusable": true,
            "attributes": {​
              "autoValue": "20000",
              "autoAge": "5",
              }
            }],
          "rootProductCodes": ["autoSilver", "autoPlatinum", "autoBronze", "autoGold"]
          }
          
           
          Loading
          Salesforce Help | Article