O'Reilly logo

Salesforce CRM Admin Cookbook by Paul Goodey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a mass delete opportunity button using a custom list button

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.

How to do it...

Carry out the following steps in order to build a mass delete opportunity button using a custom list button:

  1. Navigate to the opportunity Buttons and Links setup page, by going to Your Name | Setup | Customize | Opportunities | Buttons and Links.
  2. Click on New.
  3. Type Mass Delete Opportunities in the Label field.
  4. Accept the default value Mass_Delete_Opportunities that is automatically set in the Name field.
  5. Optionally, set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required