You need to sign in to do that
Don't have an account?
ArunKumar_Remma
How to add Hyperlink in Visualforce page
Hi All,
I have a requirement where in i need to print a field called Appointment ID in VisualForce Page. This field should be displayed with hyperlink, so that when we click on this field link, we should navigate to that particular Appointment. Could any one suggest a solution for this problem.
Thanks & Regards
Arun
A Visualforce page is really just markup for HTML. You can use a standard <a> tag to make a link.
<apex:outputlink value="{!oAppointment.Name}">/{!oAppointment.Id}</apex:outputlink>
or
<a>/{!oAppointment.Id}</a>
The forward slash should be inside the value parameter, like this:
<apex:outputLink value="/{!Payroll_Conveyance__c.Name}">{!Payroll_Conveyance__c.Name}</apex:outputLink>