Reputation: 4930
I have a Case
object page layout with Case Comments
and Emails
related lists. I would like to duplicate the New
button for the Case Comments
and the Send an Email
button for the Emails
, which are both standard buttons.
By duplicate, I mean I would like to copy them and simply add them to the very top of the page where they could sit by the Edit
, Delete
and Close Case
buttons.
Is this possible? If not, how do I approach triggering a new email, or a new Case Comment with a custom button?
Many thanks
Upvotes: 0
Views: 2662
Reputation: 820
Yeah, it is possible. Just go to the Case object settings and create a new Custom Button:
For the code area add the following commands:
The code will be automatically inserted. Put it to the javascript window.open function like this:
window.open("{!URLFOR($Action.Case.NewCase)}");
Noe just save it and insert the new button to your standard page layout.
Upvotes: 1