function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Viktor IlyuhinViktor Ilyuhin 

Call apex metod from custom button

Hi gays

I have standart page with button section. This section has any custom buttons, which call JavaScript. It is work very well, but only classical mode.

How I can make button with call to metod the Apex class from in Lightning mode ?
Manj_SFDCManj_SFDC
Hey you need  to create the quick action , but they would need to be added in the Highlights Panel in Lightning, not on the related list.
Please mark this as solved if this helps you
Good luck !
Viktor IlyuhinViktor Ilyuhin
Hi manj_SFDC,

I need add botton in button section.
User-added image

When I try to create custom button, I can only use next item ...

User-added image