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
M-SM-S 

Navigate to Recent Tab

Hi guys,

I'm trying to implement an easy clone flow but I'm running into trouble with navigation.

1. go to the object through the recent tabs
2. click clone 
3. VF gets shown with a save button
4. user clicks save and best case would be that the new record is shown ...

This actually works, but by clicking the sf1 back button the user will be directed to VF edit page again and not to the recent list or whatever.
Is there a way to avoid this?

Thanks,

Marco
bob_buzzardbob_buzzard
Unfortunately not - the back button is provided by the Salesforce1 container application, and this works in the same way as a browser back button and takes you to the previous page (the VF edit page).  You could send the user through an intermediate page, but all you'd achieve is not taking them back to the actual edit page.