Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, November 14, 2018 12:52 AM
Hi,
I saw a a couple of online posts on how to solve this issue.
My situation:
- I have one documents library with sub folders
- on a page I like to show content of one subfolder.
I couldn't find an obvious way solving this. There is one method with a filter. However, in this case I am ending up with no subfolders.
All replies (6)
Wednesday, November 14, 2018 6:30 AM
https://sharepoint.stackexchange.com/questions/101634/have-a-web-part-display-only-sub-folders
Justin Liu Office Servers and Services MVP, MCSE
Senior Software Engineer
Please Vote and Mark as Answer if it helps you.
Thursday, November 15, 2018 5:57 AM
Hi,
You can use a Content Query web part to display contents within a subfolder. Insert a Content Query web part into the page and use the library as the source. Show items when the path contains the subfolder name.
Another method, you use a Page Viewer web part to display it. Insert a Page Viewer web part into the page. In the Link section of the web part tool panel, enter the URL of the subfolder and end with "?isDlg=1", for example, "http://<site>/<library>/<folder>?isDlg=1".
Best regards,
Linda
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.
Friday, November 16, 2018 1:20 AM
Thanks. For some reason I don't have a "content query" web part available. That certainly would help.
Regarding the page viewer part, can I display subfolders within the folder? Or just get a flat list?
Monday, November 19, 2018 2:45 AM
Hi,
Using the Page Viewer web part, we can display the list view on the page by the list path. You can display subfolders within the folder.
Best Regards,
Linda
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.
Tuesday, November 20, 2018 1:46 PM
Many thanks. this control should do the trick. I am currently wrestling to display the default "documents" folder. My site is on a corporate intranet server. How do I correctly specify the folder? Using file or https? And then what path? My attempts so far did not work...
Tuesday, November 27, 2018 3:02 AM
Hi,
You can use a Page Viewer web part on a SharePoint page to display files on a file server.
1. Edit page > Insert a web part;
2. Select “Media and Content” web part category > click on “Page Viewer” and click “Add”.
3. Edit the Page Viewer web part, select “Folder” or “File”, and then type the path of the file/folder on file server in the Link text box.
For example:
file://<server>/Users/Administrator/Documents
Here is an article about how to display a file or a folder in the Page Viewer Web Part:
Best Regards,
Linda
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.