Activities Tab
A custom tab to show Activities (Tasks & Events) in Salesforce.com.Overview
In Salesforce.com we do not have Activities (Tasks & Events) tab like we have for other standard objects (Lead, Account, Contact, Opportunity etc). This piece of code allows end users (Non-Salesforce Expert, Administrators and of course Developers) to create tab for Activities (Tasks & Events) without writing much of code.Required Components for this functionality:
- Visualforce Page
- Visualforce Tab
Visualforce Page Code:
<apex:page><apex:enhancedList type="Activity" height="500"/>
</apex:page>
Steps to Create a Tab for Activities:
- Create a Visualforce page and copy & paste above code in Visualforce editor.
- Create a Visualforce Tab and select the above Visualforce page name.