You need to sign in to do that
Don't have an account?
Phil Bredeson 8
Button with two actions: 1) create record & 2) take user to list view
Hello,
I am trying to create a button that does two things: (1) create record for Custom Object A & (2) take user to Custom Object B list view.
Can this be done with URL hacking or would we need to write Apex?
I am trying to create a button that does two things: (1) create record for Custom Object A & (2) take user to Custom Object B list view.
Can this be done with URL hacking or would we need to write Apex?
Hello Phil
I think you can do this in strightforward approach.
Create command button, add action method let say createandredirect.
Hope this should help you.And in the controller implment the method 'createandredirect' with the return PageReference
Body of it should.
1) code to create record A
2) Use Sobject to create Pagerefernce .. For example
THanks
Sri