An XML-based language that is used to build and customize Web sites based on SharePoint Team Services from Microsoft.

learn more… | top users | synonyms

0
votes
0answers
4 views

Get Blog Posts By Category (Filter blog post by PostCategoryId)

I Am trying to get filter blog post by category but get an error I suspect its because I am not using the PostCategoryId internal name? but i dont know how to find what this internal name is ...
0
votes
1answer
564 views

ExecuteQueryAsync not following through to the success/failure function, javascript

I've got a function that checks if a list item (setting) is true and then changes the setting which it does correctly but doesn't execute the second ExecuteQueryAsync functions. In debugging it jumps ...
2
votes
1answer
1k views

SPServices Autocomplete and dynamic CAML query

I have two Text filter web parts (Project and Customer Name) with Apply Filters button for one list. There is a SPServices.SPAutocomplete on each and it works great. Now, I want to show the values in ...
9
votes
5answers
35k views

Get Items Under Folder CAML

I am trying to retrive all items that are under a certin folder, in a document library. this is what i have so far List DocumentsList = clientContext.Web.Lists.GetByTitle(list); CamlQuery camlQuery ...
0
votes
1answer
22 views

camlQuery rowlimit not working on a list

I'm trying to update some elements in a list with client object and caml query. It's working, my values are updated, but for all the items (around 15) even I have a rowlimit of 5 : var ...
0
votes
0answers
20 views

How to Get Row Count in CAML Query Paging

I have a SharePoint 2013 multi tenant environment with FBA enabled. Multi Tenancy / FBA may not be relevant in this context, but I just want to make sure I give the complete picture of the scenario. I ...
3
votes
3answers
118 views

How to query list with >5000 items in SharePoint Online?

I want to query a list in SharePoint Online which has >5000 items. How can I do it? Right now it is showing me thresh hold limit error when I am trying to query the list.
2
votes
3answers
44 views

Calendar List - CAML Query Next Two Events

I need to create a CAML query to obtain the following two events in a SharePoint 2010 list of events: To consider: There may be recurring events And exceptions to events The purpose is to show in ...
2
votes
3answers
2k views

Caml query to get the next event from calendar

I'm facing a problem building a caml query for the calendar list. Here is my caml query SPQuery query = new SPQuery(); StringBuilder sb = new StringBuilder(); ...
2
votes
1answer
2k views

ProjectedFields working in SPQuery but not in the View

I've three lists: Competitions, Works and WorksVotes, linked to each other through Lookup fields. WorksVotes list has Lookup field to Works list, and Works list has Lookup field to Competitions list. ...
1
vote
1answer
53 views

CAML query format filter in DateTime column

I need to get the list item created on a particular date. The below caml query doesn't seem to work. It always retuns 0 query.ViewXml = @"<View><Query><Where><Eq><FieldRef ...
0
votes
2answers
57 views

I want to display only Upcoming recurrence events from calendar list

here I tried something but that's not up to the mark objQuery.Query = @"<Where><DateRangesOverlap><FieldRef Name='EventDate' /><FieldRef Name='EndDate' /><FieldRef ...
0
votes
1answer
45 views

SharePoint Online list view threshold

I need to access a list with 40,000 items and populate that data into a csv. How can I do this using caml?
1
vote
2answers
3k views

Using the Now() function in CAML Query?

i am trying to get the 3 most upcoming events from the current date and time (The current data and time refers the time everytime my web part loads. Basically it is not a fixed date and picks up the ...
2
votes
1answer
26 views

Sharepoint CAML IN operator not working with FileDirRef

I want to retrieve a list of file from two folders. When I combine two <Eq><FieldRef Name="FileDirRef" />... with <Or> it works fine. When I want to use the <In> operator it ...
0
votes
2answers
34 views

SP07 - CAML Query between two dates

I have two datetimeControllers : DateTimeControl dtFrom = new DateTimeControl(); dtFrom.ID = "startDate"; DateTimeControl dtTo = new DateTimeControl(); dtTo.ID = "endDate"; I want to get ...
1
vote
2answers
30 views

Caml String : How to search list by variable (string)

I have been trying to work on this for a few hours and a lot of googling. New to caml queries I simply want to search my list where the variable matches in the column. In sql I would write: sql= ...
1
vote
2answers
57 views

GetItems with CAML against lookup on online throws “list view threshold”-error

I want to query for items where a lookup has a title which contains some text. The list has over 5000 items, but the query result will return fewer, so it should work. This query works, querying for ...
0
votes
0answers
46 views

Multi-conditional CAML Query isn't working with OrderBy tag in SP2013

I have the following CAML query, but when I add an tag, the list breaks. The list is named Requests which contains the following columns: DueDate is a Date/Time column Lifespan is a Calculated ...
0
votes
1answer
35 views

Show top 10 distinct users in Sharepoint 2010 list based on another list

I am having a Sharepoint 2010 site where I'm having a List named UserRank which has columns User of type people & group and Datetime. After each custom email webpart an entry to this list is ...
1
vote
2answers
43 views

CAML Query search exact word in comma separated

I have 2 list items that contains a title field with following string value Item 1 Title : apple,blackgreen Item 2 Title : apple,black I want to query the list item if comma separated word in the ...
0
votes
2answers
1k views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
2
votes
3answers
107 views

CSOM - CAML : Get document icon

I was using JSLink to change the display of a documents webpart. I was retrieving the document icon url set by Sharepoint for a document library item like this: (it can be shortcut icon ...
0
votes
1answer
25 views

Retrieve all Comments by UserId in Discussion Board

It try retrieving all Comments from a single person inside a discussion board. This is the CAML: <View> <QueryOptions><ViewAttributes Scope='RecursiveAll' /></QueryOptions> ...
0
votes
0answers
30 views

CAML Query Help - Sorting By Month within a UTC Date Field

Current Query: <Query> <Where> <Eq> <FieldRef Name='Active'/><Value Type='Integer'>1</Value> <Eq> </Where> ...
0
votes
0answers
19 views

Joining 3 lists does not returns any values. If one List is empty

I am using the following article to join 3 lists https://edanan.wordpress.com/2012/04/28/sample-caml-joins-for-more-than-2-lists/ Here I have got 3 lists(Country,city,client) City is having a ...
1
vote
1answer
35 views

Export CAML query data into Excel

I am using JSOM to fetch the data from sharepoint list and binding into html table from JS file .And I would like to export the query(CAML Query) data into Excel,Can anyone help me how can I do ...
1
vote
3answers
32 views

CAML Query with AND OR

I'm struggling to get a simple query working and would appreciate any assistance in pointing out my error/s. I need to return all "Chart Type" that equal "Jacket" for "2016" in both "Mar" and "Feb". ...
1
vote
4answers
94 views

How to pass a string(date) in a caml query to get listitem based on datetime type of field

I want to pass a string(date) in a caml query to get listitem based on datetime type of field. I am not getting any value in return. Please suggest. Below is my code: ` private SP.ListItem ...
0
votes
0answers
53 views

How to pass multi choice(checkbox) values in a caml query to fetch item from sharepoint list in o365

Below is my code: SP.ListItem listItem = null; CamlQuery camlQuery = new CamlQuery(); camlQuery.ViewXml = @"<View><Query><Where><BeginsWith><FieldRef Name=" + ...
0
votes
0answers
16 views

Caml query on large list fails filtering on indexed column

I've got a large list that has the TicketId field indexed. Using JSOM, I do this: var cntx = SP.ClientContext.get_current(); var camlQuery = new SP.CamlQuery(); ...
2
votes
1answer
41 views

SharePoint 2013 SOAP Request with GetItems fails with NullReferenceException

I'm pretty lost here. I've inherited legacy code which uses SOAP to fetch SharePoint content. One method posts a SOAP request against SharePoint to get the HasUniqueRoleAssignments property of list ...
0
votes
1answer
28 views

Fetch the data from Date and Time Calculated column

I am trying to fetch the result from list based on 3 conditions( Month Name,Employee,Department). In my SharePoint List(Month Name is calculated column fetching month from column "Joining Date") . ...
1
vote
1answer
543 views

CAML query - examine Contents column used in freetext predicate

In my query I use the freetext predicate: and freetext(Contents, 'my search string') I'm getting some unexpected results from this search, namely the documents contain no relevant content, yet are ...
0
votes
1answer
52 views

SharePoint notification

I am trying to make a dynamic notification field which shows the number of for example not approved items in a list. But this needs to be shown always, wherever I am in SP. It should look like: ...
1
vote
1answer
45 views

Filter out hidden folder using client object model in SharePoint 2010 / 2013

I need to do the same thing as on this thread: Filter out hidden folder using client object model in sharepoint 2013 However my code needs to run on SharePoint 2010 and Sharepoint 2013. I'm using the ...
3
votes
2answers
16k views

How to use GroupBy in CAML query

I have simple list, consisting of 2 columns - Date, Order. Now what I want to do, is to GroupBy Date and count orders. So, for example if I have following items Date Order 08/10/2012 5 ...
0
votes
4answers
106 views

User-type fields in CamlQuery ViewFields return null

I am trying to return several User-type fields from SharePoint 2013 like this: using (var clientContext = new ClientContext(myUrl)) { var list = clientContext.Web.Lists.GetByTitle(listName); ...
0
votes
0answers
29 views

SharePoint 2013 Filtering with CAML Query in a Knockout List

Thanks in advance; having some trouble here. I have a List Called 'Projects' that uses binding via Knockout View and View Modal based on SP Services. I am new to Knockout, and I'm having difficulty ...
0
votes
0answers
25 views

Caml Query for dynamic SP custom list filter

Good day, I need to make a custom dropdown for filtering a list view. I made a dropdown by adding a content editor in the view and just added a <select> dropdown. Now when I open SPD and edit ...
0
votes
1answer
25 views

List join via CAML with SharePoint Designer for HTML View

is it possible to make a Join over multiple Lists with a CAML query like in C# oder JSOM and show that view on a SharePoint page? I'm using Sharepoint Designer 2013 and Sharepoint 2013. I have the ...
2
votes
2answers
44 views

CAML query for filtering list view

I have a SharePoint list that I need to filter according to this: First of all, the items must be Booked by = Travel and Meeting Support and the Category should never be visible if they are ...
12
votes
4answers
20k views

Where can i download the U2U CAML query Builder for Sharepoint 2010?

I have try to download form below links. But the site is not opening. http://www.u2u.be/res/Tools/files/CamlBuilderSetupv4.0.0.0.zip . http://www.u2u.be/res/tools/camlquerybuilder.aspx ...
0
votes
2answers
842 views

Limit data returned by GetListItems of Lists.asmx service with CAML

I want to limit data returned by GetListItems of Lists.asmx service. Does anyone know why despite the query options below I get all items? "<GetListItems ...
1
vote
1answer
23 views

Get the items in descending order using caml query

i am trying to get the comments from Comment List in a 'Descending' order , the query that i am using is : "<Where>" + "<Eq>" + "<FieldRef Name='TopicID' /><Value ...
1
vote
1answer
50 views

CAML query with OR returns no result, where single part of it returns results

I have a CAML query which queries 2 multi taxonomy (managed metadata) fields. I use the IN operator for this. The query should return items where in one of the fields a match was found, so either in ...
1
vote
1answer
39 views

Need CAML query LookupMulti column help, Is it possible?

I am trying to create a CAML query for querying list, here is my problem. There is a list Employees and it has a LookupMulti column for Hobbies. I want to get all Employees who have selected Reading ...
1
vote
2answers
1k views

Retrieve List items using CAML Query

I have a list which contains 3 columns -ID, TicketState and EndDate ID TicketState EndDate(DD-MM-YYYY) 1 Open 10/10/2012 2 Closed ...
1
vote
2answers
31 views

Better logic to create CAML queries

Assume i have 3 checkboxes in my webpart Properties. Checkboxes are for selecting categories. In my SharePoint list i have multichoice column called category and values in it are CAT1,CAT2 and CAT3 ...
0
votes
0answers
26 views

How can you get results from a SharePoint document library (with folder and child items) in a SSRS report?

I have a SSRS report that uses a SharePoint document library as a data source. The issue is that the list has folder and in those folders are child items. The dataset is only returning items from the ...