Skip to main content
Jared Soell (N/A) preguntó en CMTD

We use a custom Object called "Account Affiliations". This Object has a Master-Detail relationship with Accounts, and this is where we would like to show our Enhanced Related List. There are two Lookup fields on the Account Affiliation Object:  1. (Account) "Consultant/Broker" 

2. (Contact) "Consultant/Broker Contact Name"  When the Enhanced Related List is added to the Account Lightning Page, the "Consultant/Broker" and "Consultant/Broker Contact Name" are displaying as those Record IDs. 

 

#CRM Configuration

Enhanced Related List showing Id of Lookup field values

 

If possible, we would like these to display as the actual NAME of the "Consultant/Broker" and "Consultant/Broker Contact"  For reference, I've added screenshots of the Metadata Labels and Lightning Page Component  

Active Account Affiliations - 2.jpg

  

Active Account Affiliations - 3.jpg

Active Account Affiliations - 4.jpg

1 respuesta
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    2 oct 2021, 15:08

    Hello, 

     

    In the database the values are stored as IDS so it does makes sense that the list is is simply displaying what is stored. 

     

    There are a few workarounds to this that I can think of of the bat;

     

    (1) Create a formula field that references the name of the related object and then display that formula field in the related list linked to the ID

     

    (2) Try to how to adjust the syntax so you tell the component to display the name for example Contact__c.Name 

     

    You'd have to try option two for yourself as I'm not sure this will actually work, option 1 should work without any issues. 

     

    Thanks Tom

0/9000