function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cpetersoncpeterson 

Overriding tabs in sites

I've just started working on a yet to be released force.com app that's using sites for a customer portal, as well as the traditional salesforce interface for users that have a seat license.

 

So there's an object with tab already defined that works in our salesforce interface. I need to not change the functionality of that exiting tab, but I also need to set the tab in the customer portal to a different visualforce page and not just the built-in standard controller interface.

 

In less abstract terms, tab X needs to be tied to visualforce1 in the force.com interface, and tied to visualforce2 in the customer portal/sites interface.

 

Is this possible? If so how would one go about setting it up? 

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent
create 2 tabs. enable one of them for the correct profile

All Answers

BulentBulent
create 2 tabs. enable one of them for the correct profile
This was selected as the best answer
cpetersoncpeterson

I don't know why I didn't think of that sooner. I created a new tab and set it to be hidden from all except my portal users profile.

 

Thanks.