You need to sign in to do that
Don't have an account?
Del_Santos
Quote
Hi,
Please help. I want to display a Quote Contact Name in plain text in VF page but it is displaying as a link instead.
Here's my code which is displaying as a link.
<apex:outputfield value="{!Quote.ContactId}"/>
Thanks and Regards,
Del
Use <apex:outputText value="{!Quote.Contact.Name}"/>
Hope this helps.
All Answers
Try using "outputText" instead.
- alok
Hi alok,
Thanks, I did but it is returning the id instead of the contact name.
-- see results
"003P00000016L3eIAE"
Use <apex:outputText value="{!Quote.Contact.Name}"/>
Hope this helps.
Hi Imran,
Weee, it works..
Thanks for usual support
I also used this, as i was facing same problem , but am getting a link in return, how can i change this. i coud get the output name but it comes with a hyperlink to it
Hi, am using a custom contact lookup field in opportunity , so when I pull out this field to my PDF quote, it shows up with a link over the name. I would like to have plain text, the command I used for this is
<apex:outfield value="{!Opportunity.Contact_Name__c}"/> this shows contact name with hyperlink Carl Johnson. when I use <apex:outputText Value... it gives me contact ID..
How can I solve this problem
Thanks,
Gowtham
Hi Gowtham,
Try this:
<apex:outputfield value="{!Opportunity.Contact_Name__r.name}"/>
Del