Loading
Ongoing maintenance for Salesforce HelpRead More
Feature degradation | Gmail Email delivery failureRead More
Enhance Salesforce with Code
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
          Change the Default Output Component for an Apex-Based Custom Lightning Type

          Change the Default Output Component for an Apex-Based Custom Lightning Type

          Customize the user interface by overriding the default component with a custom one tailored to your business needs. 

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions.

          When you open a custom Lightning type, the UI Configuration tab provides a workspace with an Editor tab and a Renderer tab. By default, the Renderer tab contains default output components in both the Renderer Override and Collection Renderer Override sections. You can override this component with your own custom LWC component.

          1. Open the Apex-based custom Lightning type that you want to configure.
          2. Select the UI Configuration tab.
          3. From the Channel dropdown, select the Salesforce application that you want to configure.
            • Agentforce (Lightning Experience) configures the component for the Lightning Experience interface.
            • Agentforce (Mobile) configures the component for the Mobile interface.
            • Enhanced Chat v2 configures the component for the Enhanced Chat v2 interface.
          4. Select the Renderer tab.
          5. Choose which override to configure. To define a single renderer, use the Renderer Override section. To define a renderer for your structured list of data, use the Collection Renderer Override section.
          6. In the section that you chose, to override the default output component, click Change.
          7. In the Select an Output Component window, select your custom output LWC component, and then map its fields to the corresponding fields in the Apex class.
          8. Click Done.
          9. Save your work.
           
          Loading
          Salesforce Help | Article