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
0
votes
2 answers

Create Dynamic Search Query Using StringBuilder

I have a search form which has data in controls like checkboxlist (Multi Select), text box I need to search SharePoint list for the values and display the list records in grid view. Please suggest me how to write the search query which is…
user2831167
  • 167
  • 2
  • 5
  • 15
0
votes
1 answer

SharePoint CAML Query: Value does not fall into expected range

I've created the following method in a class which is intended to fetch all items in a SharePont list and load them into my entity: public List FetchItems(SPList list) { // build the CAML query of field names that we wish to…
Michael A
  • 9,480
  • 22
  • 70
  • 114
0
votes
1 answer

CAML query retrieving date range in a sharepoint calendar

I am using CAML query to retrieve events in a range of dates. Currently, it retrieves nothing eventhough there are events in the range of dates Is there something wrong with my CAML Query? It can retrieve all events when i take away the query…
Li Failure
  • 1
  • 2
  • 4
0
votes
1 answer

Design to custom list in sharepoint

I have created a feature, a publishing site, in Visual Studio to MOSS - this feature contains a masterpage, some pages, some site columns (grouped to match each page) etc. I have also created a site collection, some sites and pages based on my…
keysersoze
  • 777
  • 3
  • 12
  • 27
0
votes
2 answers

CAML Query not working in ASP.NET Web Service

I have a ASP.NET Web Service and inside it I'm using SharePoint 2010 Client Object Model. The promblem is that I'm using a CAML Query to retrive some items for a user that is given. When I choose, so that my app uses the Visual Studio Development…
0
votes
1 answer

Compute the sum of values in a tree

Suppose we defined a tree of integers : type inttree = Int of int | Node of inttree * inttree ;; is there any possible way to find the sum of the elements of that tree ?
user22323
  • 189
  • 7
0
votes
2 answers

Sum of column values in sharepoint list if value for another column matches using C# and CAML

I am trying to get the value of manager in the sharepoint list and when the manager values are the same, i'm trying to add all the amounts then output the manager name and the sum. Here are the entries in the sharepoint list Manager Amount 1 …
Jenimesh19
  • 1
  • 1
  • 1
0
votes
1 answer

Sharepoint Web Service Query

I'm creating an iOS app that queries a Sharepoint Webservice with GetListItems. I'm able to retrieve all of the records, but there are a lot of records > 4000. Is there a way I can retrieve 50 at a time? I'm using SOAP for this by the way.
Choppin Broccoli
  • 3,048
  • 2
  • 21
  • 28
0
votes
1 answer

What is 'PreCalc' in UpdateListItems?

I see some examples with
Brian Wren
  • 367
  • 5
  • 15
0
votes
0 answers

Caml query return text only

I need my caml query to return only text, e.g. now it's returning me this
Real Content.....
When I want Real Content..... only. Code I am using is, using System; using…
Mathematics
  • 7,314
  • 25
  • 77
  • 152
0
votes
1 answer

Does linq to sharepoint support document libraries?

I have a document libraries. I want to filter the documents based on some of the filter conditions. Its really difficult to generate the Caml query dynamically which will give the actual result depending on the filter values. The filter values are…
user1899731
  • 61
  • 2
  • 5
0
votes
1 answer

Caml Query for "Contain ALL Of" or "Contains Any Of"

So as an example let’s take the Title field and assume i want to set up a web part to display documents related to the search term American Civil War. The contains all of option would let me display documents that had all 3 words in the title i.e.…
user1899731
  • 61
  • 2
  • 5
0
votes
1 answer

SharePoint 2010, CAML query to see if a new item has been added to a list (Announcements)

all. I am trying to build a CAML query for a SP2010 list that will check the Announcements to see if anything new has been added (or a CAML query + some functionality). I do not truly understand CAML and SP yet and would be grateful for any help -…
WCS
  • 93
  • 1
  • 3
  • 17
0
votes
2 answers

How to add the align attribute to this line of code (inline) - HTML, JavaScript, and jQuery

I am looking to insert the align attribute for centering column data. I have several lines that are similar in composition to this: tdHtml = tdHtml + "" + PriorityFormat($(this).attr("ows_Priority_x0020_Number")); +…
WCS
  • 93
  • 1
  • 3
  • 17
0
votes
1 answer

CAML Query Documents for Workflows

I'm using Sharepoint 2007. Is there a way to CAML query documents (in this example with a ContentType of Invoice) that do not have any workflows assigned to them? I realize I can pull back all of the Invoices using something like this: …
dave wanta
  • 7,164
  • 3
  • 29
  • 29