You need to sign in to do that
Don't have an account?

Store Value on the VF page after redirection from another VF page
When I am redirecting from first VF to Second VF , it is working fine, but when I am redirecting back(Second To First), it is not displying correct values.. how can I acheive this...
When you are redirecting back from second page to first page, please create the same URL as it was when you came to first page.
Say, when you were on page1 the url was https://<domainName>/apex/page1?id=<recordId>
when you go to second page say the url is https://<domainName>/apex/page2?oppId=<oppId>&id=<recordId>
When you go back to page1 from page2 create same url as above https://<domainName>/apex/page1?id=<recordId>.
Hopefully this will help you.
Happy to help you!
Regards,
Digamber Prasad
All Answers
When you are redirecting back from second page to first page, please create the same URL as it was when you came to first page.
Say, when you were on page1 the url was https://<domainName>/apex/page1?id=<recordId>
when you go to second page say the url is https://<domainName>/apex/page2?oppId=<oppId>&id=<recordId>
When you go back to page1 from page2 create same url as above https://<domainName>/apex/page1?id=<recordId>.
Hopefully this will help you.
Happy to help you!
Regards,
Digamber Prasad
Thanks , I was able to acheive this..