You need to sign in to do that
Don't have an account?
Custom return URL on AJAX embedded visualforce page
Hey!
I got a special problem, I try to define it as best as possible:
I have a visualforce page (page A) inside salesforce. This page calls via AJAX another vf page (page B) and displays it in a javascript window. On page B it displays details of an object by using its standardcontroller. Also in B, there is a VIEW and EDIT Button. And now comes my problem: When clicking on the edit button, I am directed to the objects record page. But after saving, I am - guess please - redirected to page B, which is shown in the whole browser. But I would like to be redirected to page A.
I tried to create a workaround with JS, but no success by now. Do you have any suggestion how I could solve my problem?
Thanks a lot and Best Regards
Nisse
Ok, already solved it, I created an extension controller overriding the view and edit methods.
Thanks, though! :)