Jan 09 2019 08:11 AM
Jan 09 2019 08:11 AM
I've added the recent documents web part to one of my modern pages. I have a question in regards to the sort order. How is it being sorted? When I click on the See All link on the web part and view all the documents I'm seeing the column Last Accessed with the following dates:
Jan 09 2019 08:14 AM
What I found when I tested this webpart is that any pinned documents show up at the top, no matter what the date. They don't have any icons showing they're pinned, though.
I told it to show 10 documents, and I had 4 pinned PowerPoints and 2 pinned Word documents. Those showed first, then the rest were in decending date order. I unpinned some of the documents and they disappeared/ended up in the proper date sequence.
Jan 09 2019 08:29 AM
So I think that you are correct. Now that I look back at the documents that are at the top, they are ones that have pinned. But they are all not pinned in the document library anymore, which is odd that they are still going to the top. After my document that was updated 3 hrs ago, it is showing in the correct order.
This is good to know, it gives me something to to explain to end users, but in my opinion it should almost be a filter. "All documents" would show all documents, if you add the filter "Pinned", then it would just show documents that you have pinned.
But still doesn't explain why I still have some at the top that use to pinned at the top.
Jan 09 2019 08:38 AM
Jan 09 2019 11:51 AM
So I finally figured out where the documents that were at the top of my web part view were coming from. I first checked to see if they were pinned in my libraries and they were now. I then decided to go into one of the Office applications like Excel and on the Home page of the Excel there are three view, Recent, Pinned and Shared with me. I had those documents pinned in the Office client. Once I unpinned them there they stopped going to the top of the web part. At least now I know why it showed that way. But I can see how that can be confusing to the end users since there is no indicator that those documents are pinned and that it was done in the Office vs. being done in a SharePoint library. Thanks @Robin Nilsson for pointing me in this direction.