Skip to main content
added 2 characters in body
Source Link
Samidjo
  • 201
  • 1
  • 7

I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class.

In Salesforce Classic, I am able to create a custom button where I can call that method via javascript.

What is the solution to add the button that executes the server side method in Lightning?

Preferably, the button is wished at the poisiton highlitedposition highlighted below :

The main view of my Leads tab

Thanks for any help

I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class.

In Salesforce Classic, I am able to create a custom button where I can call that method via javascript.

What is the solution to add the button that executes the server side method in Lightning?

Preferably, the button is wished at the poisiton highlited below :

The main view of my Leads tab

Thanks for any help

I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class.

In Salesforce Classic, I am able to create a custom button where I can call that method via javascript.

What is the solution to add the button that executes the server side method in Lightning?

Preferably, the button is wished at the position highlighted below :

The main view of my Leads tab

Thanks for any help

Source Link
Samidjo
  • 201
  • 1
  • 7

Lightning : How to add a button that executes a method at server side?

I am consuming a web service that gets me leads from another plateform. All this is done in a method in the apex class.

In Salesforce Classic, I am able to create a custom button where I can call that method via javascript.

What is the solution to add the button that executes the server side method in Lightning?

Preferably, the button is wished at the poisiton highlited below :

The main view of my Leads tab

Thanks for any help