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
dkorba2k5dkorba2k5 

Apex behind Button

Is there a way to have a button on a page lay-out or in a list view execute Apex code without requiring an s-control to launch it?  I have the s-control approach working already.  I'd just prefer not to have a window pop open.


Message Edited by dkorba2k5 on 02-15-2008 04:28 PM
EnderEnder
If you change the button to "onClick Javascript" for the Context and "execute Javascript"  as the behavior then it won't open up in a new window.

Its part of the custom button's properties.