You need to sign in to do that
Don't have an account?
SFDCLondon
Help with VF page
Below is my VF page. Can somebody help with adding the ability to click on a result and take it to record.
<apex:page controller="CampaignList2Con">
<apex:pageBlock >
<apex:pageBlockTable value="{!Campaigns}" var="c">
<apex:column value="{!c.name}"/>
<apex:column value="{!c.id}"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:page>
If you replace <apex:column value="....." /> with:
<apex:column>
<apex:outputField label="<insert label here>" value="{!c.Name}" />
</apex:column>
you should have a link for each name. Also note, that the "label" attribute only works on version 23 and above. So you might have to remove that attribute when using this code.
I hope that helps!
Hi SFDCLondon,
You can do it as below:
Regards,
Lakshman