日期和时间WebPart过滤器 [英] Date & time webpart filter

查看:82
本文介绍了日期和时间WebPart过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在尝试通过不可用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆