Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to redirect save button to a Managed Installed visual force page. In UI Page when save button is clicked it opens a pop up window of installed managed vf page in it after selecting the options record ill be saved. i am looking for same operation on visual force page

share|improve this question
Where is the Save button you're referring to? On most pages, clicking Save does not open a popup window. Please clarify the context for your question. – Jeremy Nottingham Dec 14 '12 at 14:53
Please provide some more info. – Forceguru Dec 16 '12 at 5:23

You will have to create a new controller class which inherits the controller class for that page, and then override the Save() function to go to which ever page you want to redirect to. Another option is if you have control over the destination page, on the Page_Load event, you can test the ApexPage object to determine which page the user just came from, and if it's that page, then redirect them to the page you want to redirect them to.

Please let us know if this works. Thanks

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.