How to Convert Attachments to Files in 9 Easy Steps!

To verify, I had navigated to the particular record and saw that the file was present in the “Notes and Attachment” section. My sigh of relief could be heard miles away!

However, I was curious about what could cause it to not appear under search and to my surprise, I found out that this was an expected behavior, due to Attachments being superseded and replaced in favor of the more robust Files feature. Lightning Experience users can still view legacy attachments on records, however, they will not be returned in search results when performing a search from within the Lightning Experience. Strange, but true!
Additionally, in the Spring 17 release, Salesforce had announced that after Winter 18 release, the “Notes & Attachments” related list will no longer have an upload or attach button. Customers will be required to migrate to and adopt Salesforce Files. That rang the bell and made me research quite a bit on files.
What I found out…
I found out that Salesforce Files provide greater capabilities around sharing the file (or enhanced note) with other users, groups, or records, supporting file previews and revisions. So without wasting time, I searched for easy ways to migrate Classic Notes and Attachments to Lightning Files and Enhanced Notes. I browsed through salesforce release notes and blogs and finally Salesforce Lab came to my rescue.







- Perform Pre-installation steps to enable “Set Audit Fields upon Record Creation” and “Update Records with Inactive Owners”
- Install the App Magic Mover for Notes And Attachments to Lightning Experience from AppExchange.
- Perform Post Installation Steps for Admin and Individual Users to convert Private Attachment
- Assign the Attachments and Notes Migrator Permission Set to Admins
- Provide Modify All Data and Set Audit Fields upon Record Creation permission to Admin profile
- For private attachments, assign the Attachments to Files Permission Set to those Users
- Switch to “Attachment to Files” App and click on “Attachment to Files Tab”.
- In case Tab is not available, add it to related App and Profiles.
- In case Tab is not available, add it to related App and Profiles.
- Decide which Attachments need to be converted to Files
- Start the conversion
- After completion of process, you will see details updated in “Converted Attachments”. Voila! You’re done!
- Now when I search the document in Lightning Experience, I get the document in search results.
- Admin can decide whether to keep Attachments in the org or to free up the storage. To delete the attachment, admin can click on the delete icon.
- Perform Test load operation in sandbox before doing it directly in production
- Communicate to your users about the bulk conversion process you’ll be undertaking with notes and attachments
- If any of your users have private attachments, provide conversion instructions to them. Private attachments can be converted only by their respective owner.
- It is recommended to turn off feed tracking for notes
- Turn off the ability to create new attachments in the old Notes & Attachments related list within Salesforce Classic
- Certain triggers may impact migration, so review any triggers in your org related to attachments or notes
Turns out, Halloween wasn’t that scary after all!