I need to remove the New Task and New Event Button from only the Home page. I have found a way of using a Javascript and using Custom links, but the Custom link ends up appearing in the sidebar in Home page. How do I restrict that? Or is there any better way of doing this?


1 Answer 1


You can hide the Custom Links (or even their container) in the sidebar again using JavaScript. Use Firebug to figure out the right selectors. If you want to do it easily and most convenient, include also jquery and use the .hide() method.

Please remember that this workarounds might break in future releases of Salesforce according to the statements by Robert Sussland here: End of javascript sidebar workarounds?

Please note, that using this method, the links might appear for a very short time on page load and will be hidden a few seconds later. Even this can be avoided and you can read on here: Disable custom list button if no object selected (there the comments in the bottom)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .