+ Start a Discussion
kalyforminkalyformin 

Displaying lookup fields

How do we get lookup fields to be displayed on a visualforce page? For example if I need the

oppurtunity's owner and account name is there a way we can get this displayed as an output field?

Mehmet_ErgunMehmet_Ergun

Reference the related fields using dot notation - like for example -

 

<apex:outputText value="{!account.Owner.Name}" />

 

Owner is the lookup field.