简体   繁体   English

在SharePoint 2010中搜索WebPart

[英]Search webpart in sharepoint 2010

I have created a document library with about 20 columns for storing meta data. 我创建了一个约20列的文档库,用于存储元数据。 The client wants to have search on this metadata with a facility to filter the data based on two values. 客户端希望使用一种功能来搜索此元数据,以便根据两个值过滤数据。 For example we have two date columns(efective date and termination date) and the results that they wanted to see is files which are having the values between effective date and termination date. 例如,我们有两个日期列(生效日期和终止日期),他们想要查看的结果是文件,其值在生效日期和终止日期之间。

Is there any out of the box solution that i can use for this or should i build a custom webpart. 有没有可以用于此目的的开箱即用的解决方案,或者应该构建自定义的Webpart。 If so, can someone please guide me through.... 如果是这样,有人可以指导我完成...。

Create your document library, then in "document library settings" click "Metadata Navigation Settings". 创建文档库,然后在“文档库设置”中单击“元数据导航设置”。

This should give you what you want. 这应该给您您想要的。 You can specify which columns to filter data on. 您可以指定过滤数据的列。 You can stack the filters and by default they appear on the left of the page for users to interact with. 您可以堆叠过滤器,默认情况下,它们会显示在页面左侧,供用户进行交互。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM