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
LeebiesLeebies 

SControl Edit Page

Hi,
 
I think this is not possible, or could be available in a future release but here goes and perhaps someone could clarify.
 
I have written some Javascript that will paste some information into a text box when you press a button however it obviously only runs when displaying the page and not in edit mode.
 
Is there any way around this?
 
Thanks.
hokusaihokusai
I want to do the same thing.  I need an scontrol to run in edit mode. 
sfdcfoxsfdcfox
VisualForce will allow you to place any component anywhere in the system. Other than that, you can not have SControls on any edit page at this point.
hokusaihokusai
Thanks for the reply.  Is there a way to make a Visualforce page save a regular event to the database? For example if there was a way to clone the event form and then edit the clone with visualforce. 
sfdcfoxsfdcfox
I'm not sure if there's a precise way to include an edit page with just one element, but yes, you can definitely recreate the edit page so that it is indistinguishable from a regular edit page, except that it has an SControl or custom controller logic (Apex Code).