2

I think this is impossible but is there any way to hide Files in Notes & Attachments relatedlist of classic view? We moved only Admins to Lightning and wanted to roll out to other users slowly. Now after converting Attachments to Files, in classic view, we can see both Attachments and Files which gives duplicate viewing for users. Our Business team wants to hide Files without deleting them. Is there a way?

  • 1
    Can you just remove their access to the Files object? – joshii May 6 at 23:21
  • ContentDocument object is not available to edit in Profiles section. I even removed access for 'Document' object, but it didnt help. – Amulya May 7 at 12:14
2

I suggest, instead of trying what you are saying, there are 3 related lists related to notes and attachments.

  1. Notes
  2. Files
  3. Notes and attachments

Notes and attachments related list contains both files and attachment but files related list will only contain files, not the attachments.

So, remove the Notes and Attachments related list from your page layout and add a separate related list for both i.e. Notes, files

Also, remember to enable files in your org by going to set up and search for general setting for the enter image description herefile.

This way you will remove the duplicate problem. Also, it will ensure that you don't have to rework on converting attachments which users will create after the first conversion you have done.

  • this is the workaround am suggesting, but our business team wants to keep it the old way atleast for next few months. But this will be last option. thanks.!! – Amulya May 7 at 12:00
  • Unfortunately, if they want, you have to go for code. – sanket kumar May 7 at 15:33
  • As of now, I am going to mass delete all the Created files and will be converting from Attachments later. Thanks for reply.!! – Amulya May 7 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.