11

Is there a way to have a Document Library WebPart open to a specific folder?

I've been playing around for a few hours and I don't see a decent option.

  • Is this just a view of the document library put on a page? – Josey Feb 17 '14 at 19:00
  • I could be mistaken there is filter on a view that will show you everything under a folder (as far as I know views are folder agnostic) – Crash893 Feb 18 '14 at 2:06
  • any other thoughts? – Crash893 Feb 20 '14 at 4:57
4

Adding to jkandiko's answer (which worked for me),

If the URL of the page containing your document list web part is http://www.mySharePoint.com/SitePages/Home.aspx, append the text ?RootFolder=((Path to target folder)) to this URL.

The ?RootFolder=((...)) can be found by navigating to the target folder in the document library, then checking the resulting URL.

  • This is the least terrible workaround I was able to find for this. – dylan murphy May 15 at 16:36
2

I've been able to get document list web parts to open to a specific folder by changing the URL. If you put RootFolder=PATH, the document library will open to that folder. The problem is, it does it for all libraries on the page. But maybe this will get you in the right direction:

RootFolder=/PATH/TO/Shared Documents/FOLDER NAME

0

I have found a way to accomplish something similar.

  1. Create a new Document Library for each collection of documents you want to show in unique web parts.
  2. Create a web part that points only to this Document Library.

All the files are not in the same Document Library, but you can manage them in one place using the Site Contents view.

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.