如何在sharepoint caml查询中使用人员选择器值来过滤自定义列表 [英] how to use people picker value in sharepoint caml query to filter custom list

查看:131
本文介绍了如何在sharepoint caml查询中使用人员选择器值来过滤自定义列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





在我的sharepoint 2010 webpart中我想从自定义列表中搜索数据。我希望得到特定用户在特定用户之间创建的项目日期,我可以用两个日期进行查询,但我也想包括人们的选择器值。那么如何在caml查询中使用人员选择器值来过滤数据。

可以为任何一个提供整个caml查询进行过滤。



谢谢

Ginnas

Hi,

in my sharepoint 2010 webpart i wanted to search data from a custom list.i wanted to get the items created by a perticular user in between perticular dates,i am able to do query with two dates, but i wanted to include people picker value also. so how to use people picker value in caml query to filter the data.
can any one provide a entire caml query for this filtering.

Thanks
Ginnas

推荐答案

这里是您的问题的链接,这将对您有所帮助



here is the link for your question this will help you


()。SPServices.SPFilterDropdown({
relationshipWebURL:
relationshipList:
relationshipListColumn:
relationshipListSortAscending:< span class =code-keyword> true , // 在2013.01添加
relationshipListSortColumn:
columnName:
listName:
().SPServices.SPFilterDropdown({ relationshipWebURL: "", relationshipList: "", relationshipListColumn: "", relationshipListSortAscending: true, // Added in 2013.01 relationshipListSortColumn: "", columnName: "", listName:


()。SPServices.SPListNameFromUrl(),
promptText:
noneText: (无)
CAMLQuery:
CAMLQueryOptions: < QueryOptions>< ; / QueryOptions>
completefunc: null
debug: false
});
().SPServices.SPListNameFromUrl(), promptText: "", noneText: "(None)", CAMLQuery: "", CAMLQueryOptions: "<QueryOptions></QueryOptions>", completefunc: null, debug: false });


这篇关于如何在sharepoint caml查询中使用人员选择器值来过滤自定义列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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