-
Book Overview & Buying
-
Table Of Contents
Salesforce CRM Admin Cookbook
By :
In this recipe, we will build a custom list button for the deletion of opportunities that we can add to the opportunity-related list on our account detail page.
This allows us to select multiple opportunity records and delete them with a single click.
Carry out the following steps in order to build a mass delete opportunity button using a custom list button:
Navigate to the opportunity Buttons and Links setup page, by going to Your Name | Setup | Customize | Opportunities | Buttons and Links.
Click on New.
Type Mass Delete Opportunities in the Label field.
Accept the default value Mass_Delete_Opportunities that is automatically set in the Name field.
Optionally, set the Description field to This custom button is for mass deleting opportunities.
In the Display Type field, select the option List Button.
Check the box Display Checkboxes (for Multi-Record Selection).
Set the Behavior pick list to Execute JavaScript.
Set...
Change the font size
Change margin width
Change background colour