Book Image

Salesforce.com customization handbook

Book Image

Salesforce.com customization handbook

Overview of this book

Table of Contents (19 chapters)
Salesforce.com Customization Handbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Truncating custom objects


Truncating a custom object allows Salesforce to delete all records from particular objects and save the empty object and its metadata. This is a fast way to delete all records from custom objects compared to Import Wizard and Data Import Wizard. This action will remove records from custom objects and you cannot recover them from the recycle bin.

Enabling truncate for custom objects

Before using this feature for your organization, you must enable it. To do this, follow these instructions:

  1. Navigate to Setup | Build | Customize | User Interface.

  2. On the user interface page, navigate to the Setup section.

  3. Select the Enable Custom Object Truncate checkbox, as shown in the following screenshot:

  4. Click on Save.

Performing truncate for custom objects

You can use this feature when you have created a custom object and filled it with test records. To delete those test records with a single action, you can use this feature.

To perform this action, follow these instructions:

  1. Navigate to...