InPlaceSearchQuery是否可与SharePoint 2016文档库一起使用 [英] Does InPlaceSearchQuery works with SharePoint 2016 document libraries
问题描述
我正在尝试使用具有以下组合的查询字符串参数InPlaceSearchQuery来过滤列表视图中的文档:
http://< siteURL>/Shared%20Documents/Forms/AllItems.aspx?Inplacesearchquery ="SearchText1"
http://< siteURL>/Shared%20Documents/Forms/AllItems.aspx?Inplacesearchquery =标题:SearchText1 AND描述:SearchText1
我发现SP2016网站上的SharePoint列表/库在没有按设置分组的情况下运行良好.但它不适用于将项目分组的视图.
此外,在按部分分组时,按标题分组显示过滤的计数,但是当您展开标题时,将显示所有文档.请让我知道这是否是已知的行为.
还,查询字符串参数过滤是否适用于按视图分组(FilterField和FilterValue)?
您好,maximus,>
根据我的测试,当我对列表项进行分组并使用InPlaceSearchQuery进行查询时,我可以重现您的问题.这是已知的行为.
对列表项进行分组时,FilterField和FilterValue函数可以正常工作.
最诚挚的问候,
Grace Wang
I am trying to filter documents in list view using query string parameter InPlaceSearchQuery with following combinations:
http://<siteURL>/Shared%20Documents/Forms/AllItems.aspx?Inplacesearchquery="SearchText1"
http://<siteURL>/Shared%20Documents/Forms/AllItems.aspx?Inplacesearchquery=Title: SearchText1 AND Description: SearchText1
I observed that it worked fine for SharePoint lists/libraries on my SP2016 sites with no group by settings. But it did not worked on views where items were grouped.
Also, in group by section, group by titles show filtered counts but when you expand titles all documents were shown. Please let me know if this is known behavior.
Also, Does query string parameter filtering work for group by views(FilterField and FilterValue)?
Hi maximus,
Per my test, I can reproduce your issue when I group the list items and query with InPlaceSearchQuery. It’s the known behavior.
And the FilterField and FilterValue function work fine when group the list items.
Best regards,
Grace Wang
这篇关于InPlaceSearchQuery是否可与SharePoint 2016文档库一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!