You need to sign in to do that
Don't have an account?
L0bster1
Hyperlink Subject in related list of tasks
I can create the related list of tasks that I want, except that the subject field is presented as text instead of as a hyperlink to the task record. Does anyone know why the code below doesn't work? See code in red.
<apex:page standardController="Contact" extensions="sampleDetailPageCon"> <apex:pageblock id="CustomList" title="Sales Activities" > <apex:pageBlockTable value="{!tsk}" var="o" rendered="{!NOT(ISNULL(tsk))}"> <apex:column value="{!o.Activitydate}"/> <apex:outputLink value="https://na8.salesforce.com/{!o.ID}">{!o.subject}</apex:outputLink> <apex:column value="{!o.This_Task_is_a__c}"/> <apex:column value="{!o.Ownerid}"/> </apex:pageBlockTable> </apex:pageblock> </apex:page>
I figured it out. Code below for the benefit of others: