Saturday, March 21, 2015

Activities Tab

Activities Tab

A custom tab to show Activities (Tasks & Events) in


In 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:enhancedList type="Activity" height="500"/>

Steps to Create a Tab for Activities: