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

DML in S-Controls


    Can we use Apex DML statements in S-Controls ?

Please, share if anyone kows about this.


All the DML statements are available in the AJAX Toolkit for use in Scontrols: insert, delete, and update.  Examples of their use can be found here:

(other samples are also included in that doc, I just posted one of the links -- look up the AJAX Toolkit Developer's Guide for the rest).
If you are looking to use Apex why scontrols instead of Visualforce ?