7.1.9 Delete existing trial or demo data

If you have used an Advendio Trial and converted this into your production org, this article shows you how to delete the existing example data in salesforce environments with help of the tool data loader. As an administrator you can always also do this manually. 

Please always be careful while deleting data! Please create a backup first to be able to restore the data.

1. Open Incognito Tab or Window in your brower

2. Login to Dataloader

Please login to Dataloader with your salesforce credentials.

Navigate to Dataloader:

  1. Navigate to https://dataloader.io/and click the button Login with Salesforce.

Log in to Dataloader:

  1. Select the checkbox I have a custom Salesforce domain and enter this information, if needed.
  2. Select, if you want to login to Production or Sandbox Environment.
  3. Select the checkbox I agree to the Terms and Conditions.
  4. Click the button Login.

2.1 Export Data

Before you are able to delete data, we need to export a list of all record IDs that later you like to delete.

Export record IDs:

  1. Select NEW TASK and click the button EXPORT.

2.1.1 Object Selection

Please search for the object which data should be deleted and select it.

Select the object, where the data is stored, that should be deleted:

  1. Search in the Search Box for the object.
  2. Select the corresponding object.
  3. Click the button Next.

2.1.2 Record IDs

Select

  1. the field "record ID" and "name" to be exported to the selected object and 
  2. enter some filter criteria like created before a certain date or created by.
  3. Click on Next.


2.1.3 Export Data

Click the button to export the data. 

Export data:

  1. Click the button Save & Run to start the export job.

2.1.4 Download CSV Result File

Once the job is done, you can click at the success or error message and if successful download the .csv-file.

Download the results:

  1. Click at the result message (in this example "15 successes").

2.1.5 Open in Excel or other tool

Go ahead and open the CSV to make sure that you have selected the correct records.

2.2 Delete Data Records

Once you have created your .csv-file you are able to delete this data.

Delete data in the system:

  1. Select NEW TASK and click the button DELETE.

2.1.1 Object Selection

Please search for the object where data should be deleted and select it.

Select the object, where the data is stored, that should be deleted:

  1. Search in the Search Box for the object.
  2. Select the corresponding object.
  3. Click the button Next.

2.1.2 Upload CSV File

Please upload the just created .csv-file.

Upload the .csv-file:

  1. Click the button Upload CSV and select the file stored at your computer.
  2. Click the button Next.
  3. Click the button Save & Run to start the delete job.


3. More Help

You can also use the following features:

  1. While the org is in trial status, please proceed as described here: https://help.salesforce.com/articleView?id=deleting_trial_data.htm&type=0
  2. If the org status is already active, please proceed as described here: https://help.salesforce.com/articleView?id=000005234&language=en_US&type=1