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

Can Apex Code brings up a SControl? If so, how?

Hi all,

As my subject stated, Can I popup a SControl from Apex Code? If so, how do I do that? Thank you again.

Nope.  the only UI interaction is through the addError method.
You can go the other way, i.e. an Scontrol can call a custom webservice method in Apex Code.  Easiest way is with the Ajax Toolkit, check out the Apex Code reference and search for 'Ajax' for an example