function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
amidstcloudamidstcloud 

Can I update the IsDeleted field through Dataloader ?

hi,

 

I have few deleted records in salesforce Object .  I want to perform undelete Operation through datalaoder. 

can I update IsDeleted = false through dataloader ?

 

thanks in advance. 

 

 

@anilbathula@@anilbathula@

Hi,

 

How you are doing undelete operation?

Is it with command line or with UI Extract ?

 

 

amidstcloudamidstcloud

Through UI Extract

 

@anilbathula@@anilbathula@

Hi

 

If your are doing with UI then you get a CSV file of all deleted records just upsert all of those .

Then you dont need IsDeleted =false it automatically becomes false when you insert records.

 

kiranmutturukiranmutturu

 isDeleted has read-only access....if you want to set the value as false via dataloader, that call is by queryAll. Even it is also having read-only access to the field isDeleted

sfdcfoxsfdcfox

You can use custom data loaders to (possibly) recover the data, but the Apex Data Loader has no function for "undelete" in its interface (as far as I can tell).

Ankit AroraAnkit Arora

I agree with fox, rather you can go with this approach:

 

http://theenforcer.net/2011/08/mass-undeleting-records/

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page