Default Tab issue in App

  • 1
  • Question
  • Updated 1 year ago
  • Answered
I have created a Skuid Page, as well as a VF page that overrides the Account Tab. The override works great, but I have one issue. When I set the default tab to "Account" to an app I created, it redirects me to the skuid app instead of the app I intend to access. If I set the default tab to "Home" in the app I created, it works as intended. Is there a way to set "Account" as my default tab and be able to access the app?
Photo of Glenn Goodrich

Glenn Goodrich

  • 190 Points 100 badge 2x thumb

Posted 6 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 53,420 Points 50k badge 2x thumb
Hi Glenn,

To get this to work you will have to use a different override syntax:

<apex:page standardController="Account" recordsetvar="a"
extensions="skuid.Redirects" showChat="false"
docType="html-5.0" readonly="true"
showheader="true" sidebar="false"
<skuid:page actiontype="Tab" objecttype="Account"/>

This requires that you have setup at least one Page Assignment for the Account object and Tab action, i.e. something like this:

Photo of Aron Green

Aron Green

  • 62 Points
It'd be great if this was in the official documentation. I just had this same problem.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,840 Points 5k badge 2x thumb

Glad you were able to find this post!

Thanks for the suggestion! I've let our documentation team know to include this so people don't have to scour the community for how to do this.

Thanks again!
Photo of Cody Taylor

Cody Taylor, Documentation

  • 632 Points 500 badge 2x thumb
Hi all,

For any users that may end up here in the future, we now have a tutorial on setting a Skuid page as your default tab in a Salesforce app:

Both the standard method and Zach's troubleshooting advice are documented in this tutorial, with links to additional material on what each piece (page assignments, the skuid:page Visualforce component) does as well.

Hope you find this helpful!
Photo of Michael L Barnes

Michael L Barnes

  • 196 Points 100 badge 2x thumb
Link in latest post is forbidden.
Photo of Cody Taylor

Cody Taylor, Documentation

  • 632 Points 500 badge 2x thumb
Apologies for the broken link. Here is the correct URL:

I've also edited the post above for future users. Thank you for catching this, Michael!