Page Assignment for Older Custom VF Page & New Skuid Page

  • 1
  • Problem
  • Updated 5 years ago
  • Acknowledged
My skuid page will eventually take the place of a custom VF page, which is already being used in an override for Account-New.

In the initial rollout I would like to use Page Assignments to give most users the older custom VF Page, and to one profile, the new Skuid page.

Do you think this is possible?  Also, do I have to create a Skuid VF Page for every Object-Action combination that I will be using in the Page Assignments logic?

Thanks a lot,

Jacob
Photo of Jacob Flatter

Jacob Flatter

  • 338 Points 250 badge 2x thumb
  • a bit overwhelemed

Posted 5 years ago

  • 1
Photo of Jacob Flatter

Jacob Flatter

  • 338 Points 250 badge 2x thumb
I am using the <skuid:page objectType="Account" actionType="New" /> tag within the beginning of a custom VF page.

It nice because I can use page assignment logic within a Custom VF Page outside of Skuid.

That being said, I think the Controllers and Extensions aren't playing nice together.  Depending on the Skuid page I assign, I either get the Custom VF Rendering, or BOTH the Custom VF and the Skuid Page. I think if I toggle the settings in the page assignment, I can also get the Standard Layouts, although these are all fairly counter intuitive in terms of which switches are doing what.

Help
Photo of Jacob Flatter

Jacob Flatter

  • 338 Points 250 badge 2x thumb
I got this to work with an action tag in the beginning of an apex page:

<apex:page standardcontroller="Account" sidebar="true" deferLastCommandUntilReady="true" action="{!CASE($Profile.Name, 'System Administrator','https://skuid.cs16.visual.force.com/apex/skuid__ui?page=SkuidNewCompany',''
 )}">
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Jacob.  I'm glad you were able to get this working.  We have not historically supported including standard visualforce page in our page assignment processes so that some profiles could get Skuid pages and other profiles would get the standard visualforce page.  It looks like you are moving our capabilites forward by suggesting a workaround.  Thanks!  We appreciate having such great customers!