Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I would like to create a tab in Salesforce called 'Activities', and when clicked, it redirects to https://na1.salesforce.com/007, the Activity List Page in Salesforce.

The web tab is not an option, and I know there are some AppExchange Apps that mimic the Activities List Page. I'm however curious to know if I can link to this or any other URL for that matter.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You can create a Visualforce tab that references this page:

<apex:page controller="ActivitiesController" action="{!redirect}"/>

that in turn uses this controller:

public with sharing class ActivitiesController {
    public PageReference redirect() {
        return new PageReference('/007');
    }
}

It does open the Activity list page, but it is presented with the Home tab selected not the initiating tab selected.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.