+ Start a Discussion

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
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.