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

AJAX Toolkit - Calling a webservice and Making a Record Read Only

Hello All,

Can someone please provide their inputs on these ?

a) Can we call a Apex Web service from a custom button's on click event via Javascript/AJAX toolkit  ?

b) Can we make a record read only using a custom button's click via Javascript/AJAX ?

Thanks for your time !!!


Yes, you can achieve both of these.

Let me know if you have any specific question.

Happy to help you!

Digamber Prasad