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

calling apex calss from s-controll

i have an apex class that i woudl like to call when i overide a button, but not sure how to make it, i can make it using on lcik java script but no s controll

Have the custom button call either:

1. Use AJAX Toolkit to call Apex

2. Visualforce page that calls Apex


Hope that helps,



i figured that one out just dont know how,

cant find any sample code

Moved from the Visualforce board. It appears you want help with scontrols which you'll have better luck getting here.