function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Khanh BuiKhanh Bui 

Open a VF page when save a case (standard page) that has a custom checkbox checked

Hi,

On the standard Case object, I have a custom checkbox 'displayPageA'. If I check this checkbox and then save the case, I want to open my custom VF page 'PageA' in a new tab. The data on this VF page also depends on the Account name selected on the Case.

I was trying to display this page as a popup window, but it seems too hard to do, so I want to try this way.

Is it possible to do?  How should I go about doing it?
Thanks for helping.
Khanh
 
Best Answer chosen by Khanh Bui
MandyKoolMandyKool
Maybe you can have a button on "Case" object for redirection to your vf page (If you want you can validate if the custom checkbox is checked before redirecting user to vf page).
You can pass account id in url to your vf page and let controller query and populate it on page.

All Answers

MandyKoolMandyKool
Maybe you can have a button on "Case" object for redirection to your vf page (If you want you can validate if the custom checkbox is checked before redirecting user to vf page).
You can pass account id in url to your vf page and let controller query and populate it on page.
This was selected as the best answer
Khanh BuiKhanh Bui
Thanks for the tips