page include not working

  • 1
  • Problem
  • Updated 4 years ago
  • Solved
  • (Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
Yea, anytime you use page includes on a tab override i think you have to have at least that clone copy of Include. This bit me to on some tab overrides where it worked until i put a tab with a page include.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I just reviewed where the error was happening. I have never used a skuid:page visualforce component until now. That said, this page is using the this component to bring the page in. Not a redirect. So I do need the 3 cloned visualforce pages in the package. Uploading new package now.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Jarrod is correct.  To do a VF Tab override you have to use the "skuid:page" component and therefore you need to do thie local copy. 
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
You mean I actually answered a question instead of asking one?!?!?! YESSSS :)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Point of clarification. Page Includes are not "a skuid:page component within a visualforce page". Page Includes are simply a method to insert another skuid page into the DOM.