You need to sign in to do that
Don't have an account?
Ravi kumar 292
How to get the Custom Button Functionality using Apex or Trigger
Hi all,
I have a scenario. I have created a custom button with URL. When ever i click on the custom button i will hit the client URL. Now i want to use that functionality in APex class or Trigger. How can i do this.
Please help on this.
Thanks in advance.
I have a scenario. I have created a custom button with URL. When ever i click on the custom button i will hit the client URL. Now i want to use that functionality in APex class or Trigger. How can i do this.
Please help on this.
Thanks in advance.
Could you share more information on the issue over here.
1. Share what have you done in custom button, is it a Executing Java Script
2. What you want to do with custom button in Apex class and Trigger
Thanks
Shashikant
Please check the below link for the above scenario.
http://salesforcesource.blogspot.sg/2009/06/triggering-apex-method-with-custom.html
Please refer the below link for more details on custom button.
https://developer.salesforce.com/trailhead/en/customizing_user_interface/ui_nav_buttons_links
Hope this helps you!
Best Regards,
Jyothsna
With Custom Button am hitting my client URL whenever lead is created for time being. But my reqirement is to hit the URL with Apex class or Trigger whenever a lead is created. Here i have to acknlodge them with LeadId, ContactId, Amount, etc.
How can i do this..