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

How to Add Custom Button to Page that displays when yo click Cases Tab



Can any one help me to figure out-- How to Add Custom Button to the Page that displays when you click on the Tab of Page. Like on Case Tab Page we have Button Called "NEW". Is oit possible to display a custom button there. I created one custom button for displaying New Case Creation Page using Content Source == "On Click Javascript". Here's the code:


{!URLFOR( $Action.Case.NewCase)};


I have 2 problems with this button:



Added it to Related List on Account Detail Page. This button appears in the Case Related Lisyt on Account. BUT do not show up on the Case List View Page (i.e. the page that shows up when you click on the Case Tab). Is there any way to add it there.



Also, the one that appears on the Related list is not working. When clicked it givess error: -- "A problem with the OnClick Javascript for this button or link was encountered: Expected ; "


Can anyone please suggest wht's wrong there and how to get it work.