Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

here is the link for your question this will help you

C#
$().SPServices.SPFilterDropdown({
  relationshipWebURL: "",
  relationshipList: "",
  relationshipListColumn: "",
  relationshipListSortAscending: true,  // Added in 2013.01
  relationshipListSortColumn: "",
  columnName: "",
  listName: $().SPServices.SPListNameFromUrl(),
  promptText: "",
  noneText: "(None)",
  CAMLQuery: "",
  CAMLQueryOptions: "<QueryOptions></QueryOptions>",
  completefunc: null,
  debug: false
});
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900