简体   繁体   English

如何显示另一页上的文档集中的特定文件夹-SharePoint

[英]How to display a specific folder from a document set on another page - SharePoint

I have created a new page in my SharePoint site and I would like it to display a specific folder within a document library that already exists on another page in my site. 我在SharePoint网站中创建了一个新页面,我希望它显示文档库中特定文件夹,该文档文件夹已经在我网站的另一页面上存在。 Is that possible? 那可能吗? If so, how would I go about doing that? 如果是这样,我将如何去做?

Your help or suggestions would be much appreciated! 您的帮助或建议将不胜感激!

Thanks, 谢谢,

-ianw -ianw

It sounds like you found an answer, but for those looking for a solution, modifying the view doesn't allow you to specify a folder, just a document library view. 听起来好像找到了答案,但是对于那些寻求解决方案的人来说,修改视图不允许您指定文件夹,而只能指定文档库视图。 The only true way I've found is to open the page in Sharepoint Designer and modify the actual code of the document web part placed on that page. 我找到的唯一真实的方法是在Sharepoint Designer中打开页面并修改放置在该页面上的文档Web部件的实际代码。

You'll find the document web part, look for the query line, and add/modify it to include this: 您将找到文档Web部件,查找查询行,然后添加/修改它以包括以下内容:

<where>
    <contains>
        <FieldRef Name="FileDir" />
        <Value Type="Lookup">[Name of Folder]</Value>
    </contains>
</where>

Make sure to replace [Name of Folder] with the name of the directory within your document library for your site that you want to point towards. 确保将[文件夹名称]替换为您要指向的站点的文档库中目录的名称。 Also, make sure to change the View of the web part to look for files, not folders. 另外,请确保更改Web部件的视图以查找文件,而不是文件夹。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何显示文档库中的特定文件夹(Sharepoint 2010 中的 webpart)? - How to display a specific folder in a document library (within a webpart in Sharepoint 2010)? 如何在sharepoint现代UI中的特定文档集内显示自定义命令集? - How to display the custom command sets just inside a specific document set in sharepoint modern UI? 如何在Sharepoint 2013 Foundation中的视图中显示文档的文件夹列? - How to display the folder's columns for a document in a view in Sharepoint 2013 foundation? 如何在不从sharepoint下载的情况下将单词或任何其他文档显示到asp.net页中 - How to Display a word or anyother Document into asp.net page without downloading from sharepoint 在Sharepoint中显示特定共享文档文件夹的通知 - Display Notification for particular Shared Document Folder in Sharepoint 如何将文件从 SharePoint 文件夹传输到另一个 SharePoint 站点 - How to transferring files from SharePoint folder to another SharePoint site 如何从共享点列表项链接到文档库中的文件夹? - How to link to a folder in document library from sharepoint list item? SharePoint 2007控件/ WebPart,以显示另一个页面的字段值 - SharePoint 2007 control/webpart to display field value from another page 使用WebClient将文档上传到SharePoint文档库中的特定文件夹 - Upload document to specific folder in a SharePoint Document library using WebClient InfoPath显示特定SharePoint文件夹的内容 - InfoPath Display Contents of Specific SharePoint Folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM