Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What is the difference between Files, Content, Attachments, Knowledge What is the difference between Files, Content, Attachments, Knowledge documents? 

Files, Content, Attachments, Documents have always been a mess and are even more of a mess now we have Lightning. 

...

I gave up with Cirrus. Their support was woeful. I don't know if it's just my client's configuration or what it is, but here is the situation: 

You check Email Message Object in Org settings, so that you can use the lovely the lovely new Enhanced Email in Salesforce. With this setting on you get
- No HTML formatting in the email whatsoever - just a jumble of text
- No ability to turn on the Chatter setting in your personal Cirrus settingspersonal Cirrus settings.
- No ability to save the attachments to the Contact / Account / Lead / Opportunity  Opportunity record directly - they are only ever saved on the Email record.
- No ability to click the link that is generated by Cirrus to go directly is generated by Cirrus to go directly to the Email record because a task is actually created by Cirrus and by Cirrus and immediately deleted, and it's that Task that is linked, not the Email recordEmail record.
- Oh, and it also seems to delete the link between the Email record and the and the Contact record, although I would need much more testing on that - but it but it happened twice with two different contacts and emails.

You don't have Email Message Object checked in Org settings and you check you check Save email attachments to Chatter feed on your personal settings. With  With this setting you get
- No ability for the Org Admin to ensure that ALL attachments are saved to saved to the Chatter feed, it's up to the individual user.
- No in-line images shown in the Task - so not a true record of the Email the Email that was sent

So, not a good situation with either scenario.

Converting Attachments

So they make you convert Attachments to Files so you can see them in Lightning. OMG WHY! Why do you make us do this? Why haven't you just made this a thing out of the box. And there is an Appexchange Labs app, which I'm using, or a Community built App (By Doug Ayers who now works for Salesforce) as the two options to use. And I have to keep running it as Attachments keep showing up. 

...

In Classic you can see the attachments on the Archived Tasks. In Lightning you can't! And THIS IS BY DESIGN! 

Here's what happened

  • When Lighting came out there was no way to even see Archived Tasks you had to switch back to Lightning. This was the idea. In Winter '18 they released a "fix" saying Archived Tasks will be available. It's a complete hack (note that link is still visible even though it is not that way in Winter '20 anymore), difficult to get to, and a half-arsed job of doing it. What it seemed they did is just produce what looks to be a VF page with the text of each Task on the page - just keep scrolling until you happen to find what you want.

  • BUT there is NO WAY to see the Attachments on those Tasks on that stupidly long page.  

  • Clicking on a link to the Task, that you can get from Classic or many other places, showed an error like you don't have permission to view that task. This is now fixed in Winter '20

  • So of course, the community responeded - and had to come up with a Stage 2 Idea saying - hey you broke what you released last time around. MY GOD this is bad! If I had not had such terrible support from other companies that are not Salesforce recently I would say this is the worst experience with software tech support. 

  • And then they have the gall to say THIS IS BY DESIGN

  • THANKFULLY Most of this is now fixed in Winter '20. The activity list just keeps on getting longer and longer and you can see ALL the old tasks in there, and no Error when opening an Archived Task. PHEW! 

  • You can also add the Task History list view as a Related List - Single Component AND have the activity timeline on the page too. I would add the history in a separate tab so you don't have to see it unless you need to look at really old Activities. Thanks Brent Downey for the tip (https://success.salesforce.com/0693A000006jNA7 login in with Success), as I did not realise this was possible. 

As you can probably gather this makes me really really angry. I live by the tenent of Do No More Harm when designing systems for my clients. And here, Salesforce has done harm by removing the ability still making it really really hard to see attachments on Tasks older than 365 days in lightning AT ALL. For all other Attachments you can see them if you still keep the Attachments Related List. For Attachments on Tasks < 365 days old it is ridiculously difficult that you have to go through each email one by one to see which one has attachments and then open that up and then go to Related lists to see the Attachments, but at least they are sitll there. 

Look this is FINE for brand new orgs, but I have a clien who's org is 11 years old, one whose org is 7 years old and moving to Lightning this year, and this client whose org is 4 years old and has heavy heavy use of Email saved as Tasks with a heap of attachments. That are all still valid today. And needing to be used. They deal with certifications, and sometimes clients email their certifications in, those emails are saved as Tasks and the attachments are still on the emails. 

How does Salesforce think they can impose Lightning on paying customers and REMOVE THEIR DATA! Now I am a huge fan of Lightning but this is just outrageous. 

I do hope I'm wrong. Am I wrong? Please tell me I'm wrong. 

Removing the rant, but it is still terrribly terribly terribly bad and this is not a fix. 

How to fix this mess, hopefully!

  • Before I converted the Attachments to Files I downloaded a list of all the Attachments - so I have the Attachment Id and the ParentId (the record it is attached to). From that I can see which attachments are linked to tasks by filtering on ParentId beginning with 00T - from 2014 to now, that is 12682 attachments. 

  • The Conversion process gives me a file for each conversion showing me which Attachment Id is now which File Id

  • I can download the Tasks including Archived using Dataloader to get the Task Id and the WhatId on the Task which tells me which record the Task was linked to. Remember to use The Export All Option! That gave me ~35000 Tasks (both archived and not). 

    • Then there were some tasks not linked to records so I had to get the WhoId - that was about 6000 then there were still 215 tasks that were not linked to records at all. Not bad for 5 years, so I will leave those. 

  • The Files are linked to the Task even though you can not click on that link to the task in Lightning, you can at least get the Task Name (If you just found the file on it's own in Lightning you would have NO WAY of knowing which record the Task was linked to). 

  • So matching all that data together I can add a ContentDocumentLink record with the ContentDocumentId (File Id), LinkedId (record the Task is attached to) and set the Share Type as Inferred (I) and set Visibility as AllUsers. 

  • And THEN I will have to continue doing that conversion process each month for all the attachments that still come in. NOPE, it's been months later and I have not converted any attachments as the process was too much of a nightmare... see below for a sort of work-around for now. 

Now the issues with this

  • The file will exist as a file on the object - this is good. 

  • The file properties will show that it is still linked to the task - Ok

  • They click on the task they get an error - AS DESIGNED - SO NOT OK

  • The only way they can see the Task that delivered the file is to copy the Task Name, go to the Activity Feed, scroll all the way to the bottom, open the button that says View All, do ctrl+f in the browser, find the text of the Task Name and HOPE that it is the ONLY task in the list that has that name, becuase there is not even a LIST of the files that were attached to that task. 

What an absolute nightmare! But at least we will see the files. FAAAAAAARK! 

...

Oh yeah, there is this one too From Doug Ayers's Related Files Component

When viewing the the Classic Notes & Attachments related  related list on an account, for example, attachments belonging to the account and its related contacts, cases, opportunities, tasks, etc. are displayed in  in one combined list.

When viewing the the Lightning Files related  related list on the same account, for example, only the files explicitly shared to the account are displayed. The files shared to its related contacts, cases, opportunities, tasks, etc. are not displayed in  in the same combined list.

This is a known limitation and by design according to this this help article.

However, this "rollup" of Classic Attachments is a much beloved feature and customers are asking for it in Lightning Experience.

Keri-An Richards took  took to the IdeaExchange and submitted submitted Roll up display of Notes and Attachments in Lightning as it was in Classic.

Just get it, and use it. It is vital!

...

So yes, Doug's Related Files component is so good, but no, I am not going to deal with manually moving Attachments to Files in bulk each month. So I've begged Doug to include Attachments in his component. The Idea, that has now been updated to say, nope, we are not doing it, includes a paid compoenent US$4/u/m and another free component, so let's try that... 

Files

...

Attachments & Notes Component

https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMYjqUAH

...

It has two components - simple and full. The Full component is what you get to when you click on the Simple list. Do NOT use the full component on the page, it is far too long and overbearing, and ugly. Image Removed

...

This is the simple component. Why doesn't it line up! (the green line is my markup). It's good that it shows files and attachements. It doesn't show the mini file preview like the standard components. I don't like to encourage use of Notes so it would be good if there was an option to NOT show the New Notes button there. Image Removed

...

This is the full component, and the view that is seen when you click on view more in the main component. Why oh why is it so ugly? 

  • Again the New Note button does not line up. 

  • The Account Name does not need to be shown on the header. 

  • There is no option to ALWAYS show Attachments - this should be a component option and NOT those ugly toggles. 

  • Again, give me an option to not show the New Note button. 

  • Allow me to sort, or determine the sort. 

  • The Related to Task only shows the ID not the Subject of the Task. BUT At LEAST they are shown. 

  • The

    Compoent

    Component runs over the edge of the component boundary. 

  • It does not scroll - the component just expands to the size of ALL the files. 

DO NOT use this Component. 

And for the other reasons, I can't recommend this app at all. Sorry. I just don't trust an app that has glaring UI issues like that. 

OK they have fixed a few of the issues and the UGLY toggles are gone, but the New Note is still in an ugly location. So I will revise this to use maybe, but there are better options out there, but thank you to the developers for at least allowing the new settings!

Reporting on Files

Oh yeah, so you can add Custom Fields to files - great you say. But then try to report on those custom fields - Nope. Not Possible. See https://success.salesforce.com/ideaView?id=08730000000ktOLAAY. To quote directly from that Idea 


TBH I have never seen a single idea that I needed get implemented, I don't even know why I come to these pages.

Yep, just getting more and more angry at each turn with these files and attachments issues. And don't get me started on Emails, or Documents or Content yet! Geez! 

Outbound Email Attachments

Wait!? So Attachments attached to outbound email messages are still Attachments? Not Files? 

...