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
iownrocknrolliownrocknroll 

lookup field other then Name on custom object

Has anyone found a way to look up a field other then "Name" on a custom object?



thanks,

Jon
rocwilcoxrocwilcox

The lookup control displays the Name field of the object (I dont think you can alter that).

The actual record of course stores the Id.  If you are writing your own apex controller and VF page, you can display any information about the related object that you want on your page using the "relationship" name..

KrakenKraken

Could you please give us the example?

 

Thanks in advance,