New VF page not in list of available pages in Tab button override

  • 2
  • Problem
  • Updated 3 years ago
  • Not a Problem




Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 3 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Tab override of managed packages has always been a problem.  We have had general success by creating a new visualforce tab and not trying to use the packages tab at all. 

Having said that, we are interested that there are so many pages you could choose (Including Skuid pages).  Not sure what those common denominators are.  Maybe try to make your VF page ONLY have the skuid redirect code (No controller at all).  There is some gut feeling in the office that this will work... 

Having said this,  this is really somthing in core Salesforce,  or in the managed package,  rather than in Skuid.   Just sayin.... 
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
You do not need to create a new Visualforce tab -- all you have to do is to remove the "standardController" and "recordSetVar" attributes, and instead of using "extensions=skuid.Redirects" use "controller=skuid.Redirects". Then your VF page will show in the list of VF pages available to override the Tab button for a Managed Package object's tab.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I've been inked!

Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
Ah, you might need to swap the ? or & in your actionattribute immediately after {!redirect} e.g. if you've got action="{!redirect}& then change to action="{!redirect}? or vice versa
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
That did it. Thanks Zach.