douglascayers / sfdc-convert-attachments-to-chatter-files

📎 Easily migrate your Attachments to Salesforce Files.
https://douglascayers.com/2015/10/10/salesforce-convert-attachments-to-chatter-files/
BSD 3-Clause "New" or "Revised" License
73 stars 29 forks source link

Ignore Already Converted Notes & Attachments #12

Closed douglascayers closed 7 years ago

douglascayers commented 7 years ago

Requested by James Bujold:

If I run the conversion without deletion and then run it again. Will it reconvert everything or will it ignore notes or attachments that were already converted?

douglascayers commented 7 years ago

At the moment, everytime the conversion batch runs it will convert any Notes & Attachments found. Even if those records had previously been converted. In the code's current state, you would have to enable the "delete upon conversion" option.

But folks might not want to physically delete the documents yet, understandable, so adding this as an enhancement request.

douglascayers commented 7 years ago

Feature delivered in latest update https://github.com/DouglasCAyers/sfdc-convert-attachments-to-chatter-files/commit/e09cd807df8567f0a2dbf51f844ef8b0e520cb7e