Skip to main content
Nintex Community Menu Bar
Question

Call VF Page via Custom Button?

  • July 9, 2024
  • 5 replies
  • 91 views

Forum|alt.badge.img+6

Can I call a Visualforce page from a custom Skuid button? I currently have an action button on the account object that calls a VF page (“/apex/MyVFPage?ID=ID”). Can I replicate that behavior using a custom skuid button?

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+6

Anyone?


Forum|alt.badge.img+5

Sorry, Peter. Been in some pretty awesome meetings all day. You can absolutely call a VF Page from a button. What you want to do is create a new Page Title Action (button) that’s a redirect type action. Then just put in the relative url like you have in your SF button.


Forum|alt.badge.img+6

Thanks John!


Forum|alt.badge.img+3

I tried this and the button redirected the browser to: https://skuid.cs7.visual.force.com/apex/VFPage which returns a “URL No Longer Exists” error. The correct address is: https://c.cs7.visual.force.com/apex/VFPage (without the skuid subdomain). How can I make this work without hard-coding the whole address (which would limit my pages to the instance they are developed within rather than making them dynamic across sandbox/production environments)?


Forum|alt.badge.img+5

The key to doing this is to prepend the namespace to your Visualforce page’s name and it will force it into the correct namespace: “/apex/c__VFPage”