Loading
Salesforce now sends email only from verified domains. Read 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
          Insurance Account Asset Record Header Component

          Insurance Account Asset Record Header Component

          This component shows brokers a snapshot of data about the asset-based policy they're looking at.

          This component is composed of a FlexCard and the LWC compiled from the FlexCard:

          • FlexCard: insAccountAssetHeader

          • LWC: cfInsAccountAssetHeader

          • Master Label: Insurance Account Asset Record Header

          This component is optimized for both desktop and mobile.

          This component uses the Lightning design system. Newport isn't supported.

          Here's what the Policy (Asset) Record Header component looks like when it's rendered in the Broker site:

          Illustrates how the component renders in the UI

          The parts of this component are:

          1. Policy icon.

          2. The name of this policy.

          3. The account name attached to this policy.

          4. The effective date of this policy.

          5. The type of policy.

          6. The total premium for this policy.

          7. Weather information at the policyholder's location.

          8. Status of this policy.

          9. Map showing this policyholder's location.

          FlexCard Structure

          Illustrates the FlexCard structure.
          1. insRecordHeader Custom LWC

            This LWC structures data pulled from the record by the data source and adds the weather component from Google.

          Data Sources Called by this Component

          This component calls an Integration Procedure named InsRecordHeaderAsset_getDetails as its data source.

          Illustrates the Data Source.

          If you want to change what data is pulled into the Policy Record Header, you can open and make changes to this Integration Procedure.

          The JSON output of this Integration Procedure looks like this:

          {
              "recordImage": "https://url.to/companylogo.jpg",
              "recordName": "Edge Communications",
              "fallbackIcon": "standard:account",
              "backgroundImage": "https://maps.googleapis.com/maps/api/staticmap?center=Salesforce%20Tower&size=400x300&key=API_KEY",
              "fields": {
                  "Address": "123 Front St. San Francisco, CA 94040",
                  "Lead Agent": "Aaron Smith",
                  "Client Phone": "(512) 757-6000",
                  "Total Premium": "$3,100.00",
                  "Total Commission": "$425.00"
              },
          
              "weather": {
                  "icon": "http://openweathermap.org/img/wn/10d.png",
                  "description": "Sunny",
                  "temperature": 75
              },
          
              "status": {
                  "value": "Active",
                  "fontColor": "#0070d2",
                  "backgroundColor": "#b0c4df"
              }
          }

          Customize this Component

          To learn about how to customize this kind of component, see the Digital Experience Site Component Customization Overview

          • Change the API Keys for Google Map
            You'll probably need to change the API key for the Google Map and weather objects on this component. You do this in the Integration Procedure.
           
          Loading
          Salesforce Help | Article