Reply
Regular Contributor
Ankit_khandelwal
Posts: 50
0

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. 

 

 

Please mark it as a solution if this resolve the issue.

Thanks
Ankit Khandelwal
Trusted Contributor
@anilbathula@
Posts: 279
0

Re: Can I update the IsDeleted field through Dataloader ?

Hi,

 

How you are doing undelete operation?

Is it with command line or with UI Extract ?

 

 

Thanks
Anil.B
Regular Contributor
Ankit_khandelwal
Posts: 50
0

Re: Can I update the IsDeleted field through Dataloader ?

Through UI Extract

 

Please mark it as a solution if this resolve the issue.

Thanks
Ankit Khandelwal
Trusted Contributor
@anilbathula@
Posts: 279
0

Re: Can I update the IsDeleted field through Dataloader ?

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.

 

Thanks
Anil.B
Super Contributor
kiran_mutturu
Posts: 1,175
0

Re: Can I update the IsDeleted field through Dataloader ?

 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

Certified Force.com Developer, Certified Administrator, Certified Service cloud consultant

My Blog

Kiran
Super Contributor
sfdcfox
Posts: 3,892
0

Re: Can I update the IsDeleted field through Dataloader ?

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).

~ sfdcfox ~


I am a sandwich. That is all.

Moderator
Ankit_Arora
Posts: 1,767
0

Re: Can I update the IsDeleted field through Dataloader ?

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

Force.com MVP
Certified Developer | Twitter


Don't forget to give KUDOS if post helped you.


Latest Blog Posts : Streaming API- Easy Code AND Uploading Multiple Attachments into Salesforce - Simple Code


If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.