You need to sign in to do that
Don't have an account?
Vivekh88
Removing hyperlink for lookup field in excel
Hi,
I am trying to generate a excel from a VF page with lookup value in it. When i tried to generate the lookup field comes with hyperlink. Any possible workout to remove those hyperlink.
this is my VF page coding.
I tried to put OutputText instead of OutputField but i am getting Lookup field ID instead of Name.
Thanks
Vivek
I am trying to generate a excel from a VF page with lookup value in it. When i tried to generate the lookup field comes with hyperlink. Any possible workout to remove those hyperlink.
this is my VF page coding.
<td class="cellBody" align="center"> <apex:outputField value="{!ms.Owner__c}" /> </td>
I tried to put OutputText instead of OutputField but i am getting Lookup field ID instead of Name.
Thanks
Vivek
Have you tried adding {!ms.Owner__c.Name} ?
Regards
{!ms.Owner__r.Name} - I am getting empty values when I use this.