日期和时间WebPart过滤器 [英] Date & time webpart filter
问题描述
大家好,
我正在尝试通过不可用OOTB的webpart过滤器来过滤带有日期和时间的列表视图(范围过滤器).唯一可用的是日期过滤器.但是我也需要过滤时间.我有约会&时间栏.任何想法如何实现 那个.
I am trying to filter list view with date AND time (range filter) through webpart filter which is not available OOTB. The only available one is the date filter. But I need to filter the time as well. I have Date & Time column. Any idea how to achieve that.
谢谢.
此致
推荐答案
默认情况下,SharePoint列表视图不提供使用日期和时间进行筛选的方法.
By default, SharePoint list view not provide a way to filter with date and time.
一种解决方法是编辑列表视图Web部件的CAML查询,并添加时间过滤器选项"IncludeTimeValue".在CAML查询中:
A workaround is edit the CAML Query for the list view web part, add the time filter option "IncludeTimeValue" in CAML Query:
<Value Type="DateTime" IncludeTimeValue="TRUE"><Today /></Value>
查看博客以获取更多详细信息:
Check the blog for more detailed information:
谢谢
最好的问候
这篇关于日期和时间WebPart过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!