You need to sign in to do that
Don't have an account?

Link to detail page from object using custom controller in Customer Portal
I have created a short list for display on our customer Portal Home Page of the last 5 cases updated by support and I want to include a link to the case detail page from this list. The Controller queries for the only 5 cases, sorted by last updated and returns the Id field in addition to the others.
<apex:page controller="CP_Cases_WOC_Controller" sidebar="false" showHeader="false"> <apex:pageBlock title="5 Most Recently Updated Cases" mode="list"> <apex:pageBlockTable value="{!cases}" var="c"> <apex:column value="{!c.CaseNumber}"/> <apex:column value="{!c.Status}"/> <apex:column value="{!c.Subject}"/> </apex:pageBlockTable> </apex:pageBlock> </apex:page>
I want to have the CaseNumber be a link to the Case Detail page. How can I do that?
Hi Glenn,
Try:
Regards,
Hengky
All Answers
Hi Glenn,
Try:
Regards,
Hengky
That worked. Thank you very much.