You need to sign in to do that
Don't have an account?
Ollie Batchelor
Case Delete Custom Button
Hi all,
Is there a way to create a custom button to link directly to the salesforce standard page for deleting a case? I'm unable to add the standard button to the case detail page on a feed view so we have to go to a different view on the case to delete it.
Alternatively is there a standard code for deleting a case
Is there a way to create a custom button to link directly to the salesforce standard page for deleting a case? I'm unable to add the standard button to the case detail page on a feed view so we have to go to a different view on the case to delete it.
Alternatively is there a standard code for deleting a case
Use below code, with this help you can delete your case.
If you have nay issue, please let me know.
Thanks,
Arvind Kumar
All Answers
Use below code, with this help you can delete your case.
If you have nay issue, please let me know.
Thanks,
Arvind Kumar
Hi,
Follow the below steps for create new custom button.
1.) Go to Setup | Case
2.) Click on the Name of the Case
3.) Click on the Buttons, Links & Actions section.
4.) Click on New Button or Link
5.) Name it as Case Delete
6.) Select the Display Type: Detail Page Button
7.) Behaviour: Execute JavaScript
8.) Content Source: OnClick JavaScript
9.) Paste above mention code.
10.) Save.
11.) Put custom button on page.
Thanks,
Arvind Kumar
Please mark as a best answer. If it solves your problem.
You can contact me, I will help you any time.
Thanks,
Arvind Kumar