You need to sign in to do that
Don't have an account?

How to override the functionality of default buttons in Winter '07?
I've heard that Winter '07 allows to override the functionality of many buttons... including 'new', 'save', 'edit' buttons. Once overridden, anytime that someone creates, saves, edits an object of that type (from the objects 'new', 'save', 'edit' button on it's tab) then customized code (script code) will be run.
Then how to do it and achieve that? Using snippet s-control?
Yeah! I got it. From the "Buttons and Links", click "Override" link and choose a s-control written by yourself.
But another question is, If I just want to "append" my function to the default button, that means I just want to add my script code as a new part to the original button functionality, is there any way to do it? If I write a page myself, of course the out look is weaker than the default beautiful pages, though the function may be nearly the same.
Can you provide some more details on what it is you are trying to accomplish. In some cases I've found that an easier approach is to use another new feature of Winter '07: inlined/embedded scontrols.
What was the outcome here? I would love to know how to route the button to some custom code and then once executed, continue on to the default action?
Regards,
Carl_V
Next, go to the Override page and choose the S-Control to use. Finally, enjoy the override. I hope that this helps you resolve your issue.
~ sfdcfox ~