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
FinTechFinTech 

How to create sControl to capture event and check box

I'm trying to validate the capability of this to be programmed. I need to invoke an email from an sControl. Once the sControl is invoked, the email editted and sent, the calling page (in this case a custom tab object) has a checkbox called "Email sent?". I want this checkbox checked and then the  page to close. Is this possible?
Gareth DaviesGareth Davies

Yes it is possible - but I you will need to write some pretty sophisticated code.

If you want to do this totally natively you must look at the AJAX library and learn about the API. I am not sure if you will be able to send an email through your own javascript interface - but you may be able to find some pre-built units to help you there.

If you can create a mashup between SFDC and your own server then you could look at doing this in .NET, php or some such. Again you will need to know about the API.

Hope this helps

Gareth.

FinTechFinTech
Is it possible then to have the sControl just update the checkbox of the calling form? I would like to change the state of the checkbox to true.