It was Halloween and I was working on a customer’s environment who extensively uses Lightning Experience to search for an important attachment and to my surprise, it was not showing up in search. That was a scary thing, particularly on a Halloween night! I was mighty worried as it was an IMPORTANT file.
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.
Note: Orgs have a limit of documents and versions that can be modified in a 24-hour period. For most orgs, this is 200,000. The limit for “Content: maximum number of documents and versions in a 24–hour period” is listed in the Salesforce Developer Limits Quick Reference.
Turns out, Halloween wasn’t that scary after all!
Written by Harshala Shewale, Sr. Technical Lead at Eternus Solutions
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. :)
There is an awesome app developed by Salesforce Lab - Magic Mover for Notes And Attachments to Lightning Experience.
- 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.
- 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.
Before I installed the app, I read through extensive documentation, which enabled me to bear a few things in my mind:
- 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
Note: Orgs have a limit of documents and versions that can be modified in a 24-hour period. For most orgs, this is 200,000. The limit for “Content: maximum number of documents and versions in a 24–hour period” is listed in the Salesforce Developer Limits Quick Reference.
Turns out, Halloween wasn’t that scary after all!
Written by Harshala Shewale, Sr. Technical Lead at Eternus Solutions
Thanks Harshala, this was a good read for me. The files would be of particular interest specially in lightning and this app would be a "go to ne" for all migration projects.
ReplyDeleteI am glad to hear that this blog helped you !
DeleteThanks Harshala
ReplyDeleteI am glad to hear that this blog helped you !
DeleteThank you for sharing such a nice and interesting blog..
ReplyDeleteSAP Basis Training in Chennai
This is a great post. I like this topic.This site has lots of advantage. I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.
ReplyDeleteSoftware Testing Training in Chennai
SEO Training in Chennai
Informatica Training in Chennai
Digital Marketing Training in Chennai
Somebody necessarily help to make severely posts I might state. This is the first time I frequented your website page and to this point? I surprised with the research you made to create this particular post extraordinary. Well done admin..
ReplyDeletePaper Publishing Sites
Naas Rated Journals
Language Translation Services
Research Paper Writing Service
Article Writing Services
I am using magic mover app for for converting notes and attachments to files as part of our pre lighting upgrade . I have come across a issue where attachments are named with [] for example [test file] or [0034testfile] are skipped by this app for conversion to files.
ReplyDeleteHave anybody else come across this situation ? Is there a work around for this.
Is there any other better app than Magic Mover for Notes and Attachments which does handle the conversion of notes and attachment better.
You ought to indulge in a contest for one of the finest blogs on the internet. I am going to suggest this great site! Looking for some inspiration for your next trip? Find great vacation ideas and inspiration from Things to do with the source for the web ‘s best reviews to travel.
ReplyDelete