+ Start a Discussion
cinov8cinov8 

Task Subject as a Link

I am trying to display a list of Tasks in a Visualforce page.  Right now, when I display the "Subject" field it appears as text.  Is there a way to get this to display as a link much the same way as it would if being viewed on the home page or in any related list?  Thanks.
Best Answer chosen by Admin (Salesforce Developers) 
Ron HessRon Hess

you can construct this link

 

 

<a href="/{!task.id}">{!task.subject}</a>