Loading
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Truncate Custom Objects

          Truncate Custom Objects

          Truncating custom objects allows you to delete all of the object’s records permanently, but preserve the empty object and its metadata.

          Required Editions

          Available in: Salesforce Classic
          Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions
          User Permissions Needed
          To truncate custom objects: Customize Application
          Important
          Important Truncating custom objects causes some irreversible changes to the truncated object and its records. Before truncating, see Truncating Custom Objects. Then, enable it for your organization by entering User Interface in the Quick Find box, selecting User Interface, and then selecting the permission.

          Truncating custom objects is a way to permanently remove all of the records from a custom object, while keeping the object and its metadata intact for future use. Truncating is useful, for example, if you’ve created a custom object and filled it with test records. When you’re done with the test data, you can truncate the object to purge the test records, but keep the object and put it into production. This is much faster than batch-deleting records and possibly recreating the object.

          1. Go to the object management settings for custom objects.
          2. Click an object name to go to the object’s detail page, and then click Truncate.
          3. In the Confirm Custom Object Truncate window, review the warning, then enter the name of the object to truncate in the empty field.
          4. Click Truncate.
           
          Loading
          Salesforce Help | Article