Loading

How to Make the Company Field Clickable in Leads List Views in Salesforce Lightning Experience

Udgivelsesdato: Sep 5, 2026
Beskrivelse

The Company field is the standard Salesforce field that stores the company name on Lead records. Unlike the Account Name field on Account, Contact, and Opportunity List Views, the Company field on a Lead List View does not allow a user to click on it to view the Account record.

Løsning

This article explains how to make the Company field clickable in a Salesforce Lead List View. You do this by creating a formula field on the Lead object that uses the HYPERLINK function, then adding that field to the List View instead of the standard Company field.

Step 1: Create a Formula Text Field on the Lead Object

  1. Click the gear icon in the upper right corner.
  2. Click Setup.
  3. Click the Object Manager tab.
  4. Click Lead.
  5. Click Fields & Relationships.
  6. Click New.
  7. For Data Type, select Formula and click Next.
  8. Enter a Field Label. In this example, the field is named Business Name.
  9. For Formula Type, select Text.
  10. Copy and paste the following formula into the code editor:
HYPERLINK( Id ,  Company )

The formula has two parts. Id refers to the unique Salesforce Record ID of the Lead record — this is what the hyperlink points to when clicked. Company refers to the standard Lead field that stores the company name — this is the visible, clickable text displayed in the List View. Together, HYPERLINK( Id , Company ) renders the value of the Company field as a clickable link that navigates directly to the Lead record.

  1. Click Check Syntax to make sure there are no errors in the merge fields or functions.
  2. Click Next, Next, then Save.

Step 2: Add the New Field to the Leads List View

  1. Click the Leads tab in your Salesforce Sales App.
  2. Click the small gear icon in the upper right, under the Change Status button, to access the List View Controls.
  3. From the dropdown, click Select Fields to Display.
  4. Under Available Fields, select the custom field you created. For this example, that's Business Name.
  5. Click the arrow to move it to Visible Fields, then click Save. You can also move the field to the top of the column order so it appears on the far left of the List View.

Frequently Asked Questions

Why isn't the standard Company field clickable on Lead List Views?

The Company field is a plain text field on the Lead object, not a lookup relationship, so Salesforce doesn't render it as a link by default the way it does for Account Name on Account, Contact, and Opportunity List Views.

Does this formula field change the underlying Company field data?

No. The formula field is a separate, read-only field that displays the same Company text as a clickable hyperlink. The original Company field is untouched.

Can I use this same approach for other objects?

Yes. The HYPERLINK formula pattern works on any object where you want a text field to link back to its own record, not just Leads.

Vidensartikelnummer

000392264

 
Indlæser
Salesforce Help | Article