Difference between Export & Export All in Data Loader

Difference between Export & Export All in data loader is really interesting.


It was asked this question in one of my job interviews.


There are two buttons available in the data loader ‘Export’ & ‘Export All’. The difference in both button functionality is very small. When we use the ‘Export’ button for any object in Salesforce, all records( excluding records present in Recycle Bin) present in the system for that particular object are exported to a .csv file. But when we use Export All, all records (including records present in Recycle Bin) for that particular object are exported to a .csv file. Deleted records present in the recycle bin are also called ‘soft Deleted’ records.

When you choose fields to be extracted using a data loader, you can select the IsDeleted field as well because it tells which record is soft-deleted and which is not.


(IsDeleted = true) –> record has been soft deleted.

(IsDeleted = false) –> record has not been deleted.

I clicked on Export All and in the screenshot below, you can see there are some records for which IsDeleted is true. These are some records that were present in the recycle bin(soft deleted).

IsDeleted


For more reference on data loader, Go to Data Loader Reference


Comments

Popular posts from this blog

Adding a red asterisk to required fields using label in LWC

The Developer Console didn't set the DEVELOPER_LOG trace flag on your user. Having an active trace flag triggers debug logging. You have 1,978 MB of the maximum 1,000 MB of debug logs. Before you can edit trace flags, delete some debug logs.

Salesforce: Serial and Parallel Approval