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

Skip Attchments linked to EmailTemplate Object #23

Closed jamesmelville closed 7 years ago

jamesmelville commented 7 years ago

Attachments linked to EmailTemplate objects cannot be linked to the EmailTemplate as a ContentDocument, so should be skipped to prevent errors

douglascayers commented 7 years ago

Thanks @jamesmelville for digging in and helping out with the project. Some other folks have ran into even more objects that don't support the attachment conversion so I'm planning in next update to provide options to select which object(s) should or should not be considered for conversion. This will also help out for example when third-parties like Drawloop, Conga, etc. specifically use attachments and the sudden disappearance of them would break those apps.