You need to sign in to do that
Don't have an account?
IT Admin Deloitte
Visualize lookup values in VF
Hi All,
I've got a looukp field, Program_Code__c, where users select a code. In reports, this fields is correctly populated with codes. When I try to visualize it in a VF page, it shows the corresponding IDs instead of codes.
There's a way to show the code instead of ids? I tried with a formula field but it's the same.
Any idea?
Thankyou!
I've got a looukp field, Program_Code__c, where users select a code. In reports, this fields is correctly populated with codes. When I try to visualize it in a VF page, it shows the corresponding IDs instead of codes.
There's a way to show the code instead of ids? I tried with a formula field but it's the same.
Any idea?
Thankyou!
Best Answer chosen by IT Admin Deloitte
Krishna Sambaraju
If you use apex:outputText it will display the id, use apex:outputField which will display the name.