You need to sign in to do that
Don't have an account?
jyoti_Singh
Fire Two methods sequentialy from single button
Hi
On a VF page I hit on save for case(standard functionality) and then there continue button to open created child record (on this same case) in edit mode. Now I want to do it in one go .. hit save and get redirected to the created child record in edit mode.
So to merge save and continue(it calls saperate method from a class) in one go sequentially .. (because child gets created from a future call)
How this can be acheived , any thoughts ?
Thanks
On a VF page I hit on save for case(standard functionality) and then there continue button to open created child record (on this same case) in edit mode. Now I want to do it in one go .. hit save and get redirected to the created child record in edit mode.
So to merge save and continue(it calls saperate method from a class) in one go sequentially .. (because child gets created from a future call)
How this can be acheived , any thoughts ?
Thanks
Call the contunue method inside the save method.
But I am not sure why you are using the future method.