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
ZTZT 

Salesforce field hyperlink

How do I modify this ( <apex:column headerValue="Id" value="{!c.Id}"/>) so that the Id displays as hyperlink? What is the proper way of displaying fields as hyperlink like Salesfoce does in a Visualforce page?

Thank you in advance.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
ZTZT

All Answers

ngabraningabrani

You can use apex:commandLink in Visualforce to show a Hyperlink. Take a look at astreait.com/wordpress/?p=37 

ZTZT

Thanks for the tip. It is helpfull since I am new to this. What I am doing is displaying some fields from the contract object including the ID and display it as hyperlink.

ZTZT
This was selected as the best answer