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
NareshNaresh 

Calling S-Control from Workflow

hi,
       can anyone tell how we call a S-Control from Workflow ?
thanks in advance.
marie.tournemarie.tourne
No you cannot execute an S-Control from a workflow.

In fact, you can "call" it with outbond messages using a URL like : https://na3.salesforce.com/servlet/servlet.Integration?lid=<S-Control id>

But, an S-Control only works using client-side execution (ie HTML/Javascript).
An outbond message calls an URL and that's it. In order for an S-Control to be executed, the web page needs to be open (as it is client side execution). With outbond messages, the url is only called server-side, the web page containing the S-Control is not opened at the client side.
NareshNaresh
Thank you
                  This really help us.
brailmbrailm
Would it be possible to call such a control on page.unload()?
I need to insert a record into a opportunity-related list (It's holds the values of certain fields on save).