Questions tagged [caml]

CAML (Collaborative Application Markup Language) is an XML based markup language used with the family of Microsoft SharePoint technologies (Windows SharePoint Services and Office SharePoint Server). For the Objective Caml programming language, use the tag ocaml.

CAML (Collaborative Application Markup Language) is an XML based markup language used with the family of Microsoft SharePoint technologies (Windows SharePoint Services and Office SharePoint Server).

Not to be confused with Objective Caml, the current implementation of the Caml programming language. For Objective Caml, use the tag.

Unlike plain XML, CAML contains specific groups of tags to both define and display (render) data.

CAML query syntax can be created graphically from an existing SharePoint list by using the U2U CAML Generator tool.

For getting started with CAML, please visit its MSDN page.

644 questions
3
votes
1 answer

using tag in CAML Query sharepoint

I am using below CAML query but when I run,it returns all data from document library instead of only corresponding to the < Values> specified in the query
Rushikesh
  • 529
  • 4
  • 18
  • 43
3
votes
1 answer

Get Max Date Using CAML Query From alist

how can i get max Date and Min Date from a list Date Column
Mohamed Bakr
  • 349
  • 3
  • 11
3
votes
1 answer

Sharepoint CAML query to search folder on ID field

Using CAML in WSS3, I am trying to search for a folder by the folder ID field. This results in 'undefined' when searching the 'Folder' content type but works fine searching for a regular item. Here is a snippet of my…
JasonD
  • 45
  • 1
  • 1
  • 5
3
votes
1 answer

How can I update a column value for a Sharepoint item using a CAML query in UiPath?

I'm currently working on an automation project that uses Sharepoint to store invoices. I have used the Sharepoint package for UiPath to do the uploading; now, I'm trying to set a column/metadata value for an already uploaded PDF in Sharepoint. To do…
Alex Leach
  • 118
  • 7
3
votes
7 answers

SharePoint CAML Query to T-SQL

I was hoping to do convert a CAML query into T-SQL. For my SharePoint site, I also have a data warehouse (SQL Server 2005) which hosts the same data (it is populated through SPList EventReceivers: ItemAdded, ItemUpdated). I am involved in a task to…
OzymandiasII
  • 58
  • 1
  • 7
3
votes
1 answer

C# Sharepoint.Client - Return all files and folders from a given subfolder

I am trying to return all files and folders in a SharePoint library starting from a given subfolder. If I set the FolderServerRelativeUrl on the CamlQuery to the folder i wish to start from, I can get all the list items for that given folder;…
Dohsan
  • 361
  • 2
  • 12
3
votes
2 answers

SharePoint CAML Query Maximum Size

I am running a sharepoint caml query where I want to check that a field on an item is equal to one of many values. I do this dynamically and may wish to check against many hundreds of values. I found that when performing a query with 780 OR elements…
Paul
  • 544
  • 4
  • 12
3
votes
1 answer

Using SharePoint's lists.asmx and UpdateListItems to delete an item by Guid or UniqueId

I am trying to call the lists.asmx UpdateListItems() to delete a list item by unique id or guid. The following batch xml fails with "Invalid URL Parameter. The URL provided contains an invalid Command or Value. Please check the URL again".
Pete Skelly
  • 775
  • 6
  • 16
3
votes
8 answers

Determine Total Count Of Items Returned By SPQuery

I'm running a number of CAML queries against a large list in SharePoint 2010, and displaying the results in a gridview to the end user. I wish to page through the results returned by the query to improve performance. However, I am required to…
Tangiest
  • 43,737
  • 24
  • 82
  • 113
3
votes
2 answers

Adding a ListItem to a list in Sharepoint 2007

I am trying to add an item to a list in Sharepoint. At the moment I am trying to add the item via CAML I can read the list, and query the list but I have not been able to add to the list. All the examples that I have seen update the list, I would…
Nathan Fisher
  • 7,961
  • 3
  • 47
  • 68
3
votes
4 answers

IS CAML the only way to Query MOSS?

CAML is hard to learn, and dificult to use, is there a better way to get results from MOSS, besides using CAML queries? And not referring to the Web Services, which are slower, or the object model, which again is slower.
Michael L
  • 5,560
  • 7
  • 29
  • 32
3
votes
1 answer

Is there a way to get Folder object from ListItem one?

I'm trying to get Folder object by its path in SharePoint 2010 client application using Client Side Object Model (.Net 4.0). I need to check whether folder described by 'folderPath' variable exists in the library and then get the Folder object for…
adams
  • 177
  • 1
  • 1
  • 8
3
votes
3 answers

SharePoint field not showing in Display/Edit/New pages

I've written a schema for a list that only needs to add one column to the default custom list which is a number field called months. The field is shown on the default view and is indeed created on the list. The list is autopopulated with values…
Daniel Revell
  • 8,338
  • 14
  • 57
  • 95
3
votes
1 answer

Get items from sharepoint list by Title field with ignore care using Caml or SPQuery

I want to get data from SharePoint List using CAML and filtered by Title with ignore case like Car But with ignore…
Ahmed Magdy
  • 5,956
  • 8
  • 43
  • 75
3
votes
1 answer

SharePoint CAML query Orderby does not support descending attribute.?

Trying to fetch data from SharePoint List using CAML query. Am using the attribute Descending, but does not work as expected. Please find the code below. Above code still fetches…
KrankyCode
  • 441
  • 1
  • 8
  • 24