You need to sign in to do that
Don't have an account?
Enry
Javascript Button to run apex class
Hi,I want create a custom button that runs an apex class.
This class create a record and open the detailed page of the record created.
Do you know if is it possible?
Do you have an example code for the button that exercutes the class? javascript?
Thanks in advantage for any advice.
BR.
Now I'm thinking to create visual force page with just a button and put it on my standard layout. Do you know also if in the controller of custom page with only the button i can get the id of the record from the url? i want get the id of the record on which i have the button.Thanks
yes you can, of course.
see here how it can be done
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_extension.htm