You need to sign in to do that
Don't have an account?
Ab
When a button is clicked, call a method in class by passing few parameters
Hello,
I have certain fields on my paglayout. X, Y, Z.
I want to ad a button on the page, say..Custom button.
When "Custom button" is clicked, i want to call a APEXclassName.FunctionName(Value of CustomField X, Value of CustomField Y, Z).
I want to execute like this.
How cani implement the same
Thank you in advance
I have certain fields on my paglayout. X, Y, Z.
I want to ad a button on the page, say..Custom button.
When "Custom button" is clicked, i want to call a APEXclassName.FunctionName(Value of CustomField X, Value of CustomField Y, Z).
I want to execute like this.
How cani implement the same
Thank you in advance
you can create a custom button on your layout, please check the attached screnshot. Let me know if its resolve your query. Thanks
All Answers
Are those fields of a specific object and what happens when the custom button is clicked?
Thanks
all the fields of the specific object, which will be visible on the same page layout and button too will be visible
you can create a custom button on your layout, please check the attached screnshot. Let me know if its resolve your query. Thanks