Feb 272015

Salesforce – How to create tab for Tasks / Events?

Sometimes we would like to have an easy access to all our tasks. We can browse some of them on the Home page, but it’s not always efficient way. Instead of that, we would like to have them as a tab and view them on whole screen.

Unfortunately Salesforce doesn’t allow to create standard tab for tasks. We could do this by creating Visualforce page and use Apex to get all tasks, but there is an easier way. We will simply create VF page with redirection to standard object page for tasks (URL is “/007”).

<apex:page sidebar="false" showHeader="false">
<script type="text/javascript"> window.location="/007"; </script>

Now we can create custom Visualforce tab using above VF page.

But there is also another way. Instead of making redirection, we can use apex:enhancedList with type parameter as Activity.

<apex:enhancedList type="Activity" height="600" />

Tab for Salesforce Tasks

Tagged with , , 0 comments

Leave a Reply

Your email address will not be published. Please enter your name, email and a comment.