function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vir123vir123 

How to show custom field from a lookup relation in a standard page layout

I have a lookup relation from "employee" to "department". "Department" has 2 field: AutoNumber field and a custom field (text field - "Department Name"). In the "employee" standard page layout I want to show "Department Name" against "department" field in "employee" object. But by default it shows the "Auto number". Is there a way to show "Department Name" here?

rahul_123rahul_123

you can create a formula field on employee object

 

with FORMULA FIELD NAME(TEXT)=Department__r.Department_name__c

 

 

mark this as solution if ur query is solved