You need to sign in to do that
Don't have an account?
Matthew Allen
Split out tasks and events
Hi,
I have spome basic code that many of you have already helped me with, which splits detail and related lists onto seperate tabs.
I hvae an activity related list, which is a lookup related list. Is it possible to split out Tasks and Events into seperate related lists? If so, how? and can they be sorted?
The code I am using is below. Objectives is the customer lookup related list.
Matt
I have spome basic code that many of you have already helped me with, which splits detail and related lists onto seperate tabs.
I hvae an activity related list, which is a lookup related list. Is it possible to split out Tasks and Events into seperate related lists? If so, how? and can they be sorted?
The code I am using is below. Objectives is the customer lookup related list.
<apex:page standardController="Group_Relationship__c" > <style> .activeTab {color:#fff; background-color: white; font-size:16px; background-image:none} .inactiveTab { background-color: lightgrey; font-size:12px; color:black; background-image:none} .background { background-color: white; font-size:12px; color:black} </style> <apex:pageBlock title="Action Plan" mode="maindetail"> <apex:tabPanel switchType="client" selectedTab="tabdetails" id="AccountTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab" contentClass="background"> <apex:tab label="Details" LabelWidth="250"> <apex:detail relatedList="false"/> </apex:tab> <apex:tab label="Objectives and Meetings" LabelWidth="250"> <apex:relatedList list="Objectives__r"/> </apex:tab> <apex:tab label="Key Opportunities" LabelWidth="250"> <apex:relatedList list="KeyOpportunities__r"/> </apex:tab> <apex:tab label="Key Threats" LabelWidth="250"> <apex:relatedList list="KeyThreats__r"/> </apex:tab> </apex:tabPanel> </apex:pageBlock> </apex:page>Thanks you
Matt