0

I have a requirement to show List of Document names uploaded in all the libraries across the site collection, sorted by Created Date in descending order. I am working with SharePoint online and this requirement needs to be setup as a tabular view. I guess OOTB there is no really a way to do this at the site collection level.

Can this be doable by using some code, search query, workflow or may be other approach, can someone please help, thanks in advance.

P.S: If this is doable via a third party add-in and if you have used any in the past, please suggest.

  • Are you using classic pages or modern pages ? – sssreddy Jan 22 at 19:16
  • I am using Classic UI – mdevm Jan 22 at 19:51
  • Is this for files uploaded/created within the last 24h or is it a total inventory? – Kasper Bo Larsen Jan 22 at 20:43
  • Hi Kasper, yes its for files uploaded to be specific, time frame wise I would say, last 7 days sorted by created in descending order. – mdevm Jan 22 at 21:03
2

For classic pages, you can use a content search webpart to show all documents sorted by created date. To display the results in tabular view you will have to customize the display template. In your content search webpart you can set the search query something like path:"https://mysharepointsite" ContentTypeId:0x0101* -FileExtension:aspx -FileExtension:css -FileExtension:js -FileExtension:html which shows all documents excluding few file extensions under the site specified in the path parameter. You can then set the sort order as needed.

To show the results in tabular fashion, you will have to customize the display template to display based on your requirement. There is a github project I found which does the same, you can use that as a start point..

  • Do you know if there is a third party add-in that can be leveraged for this requirement? Just asking for info purposes, thanks for your input here. – mdevm Jan 22 at 21:15
  • You could use bamboo list roll up bamboosolutions.com/sharepoint-online-cloud-parts/… . I do not work or affiliated to that company. I have seen some companies use it. Although I think it would be simpler to use content search than figure out how to use third party solution. – sssreddy Jan 22 at 21:30
  • If this answered your question, please mark it as answer. – sssreddy Jan 23 at 1:55

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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