anusha(salesforce developer)

Monday 4 July 2016

Difference between Export & Export All in Data Loader

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

I was asked this question in one of my job interview.
Export and Export All
Export and Export All
There are two buttons available in dataloader ‘Export’ & ‘Export All’. Difference in both button functionality is very small. When we use ‘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 recycle bin are also called ‘soft Deleted’ records.
When you choose fields to be extracted using data loader, you can select IsDeleted field as well because it tells which record is soft deleted and which is not.
IsDeleted
IsDeleted
(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 recycle bin(soft deleted).
IsDeleted

No comments:

Post a Comment