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
1 answer

Sharepoint 2010 Filtering a List Based on The Current User

I am pretty new at SharePoint. We are using SharePoint 2010. I need some help on some filtering. We have a library that we want to filter based on the current user and restrict everyone else. In one of the columns in the list is Department. I want…
Rusty112
  • 1
  • 3
0
votes
0 answers

SharePoint 2013 SPServices custom list script

UPDATED: This script now works and is a great reference for pulling custom list data with SPServices. I have a modified script that is working great thanks to the SharePoint Hillbilly . One script is for a title and description for a slider with…
0
votes
0 answers

Complex CAML query

I'm new to CAML type queries. I'm trying to integrate sharepoint calendar data into a SSRS report. I pretty much need to do the following WHERE clause (EventDate <= @StartDate AND EndDate >= @EndDate) OR (EventDate >= @StartDate AND EndDate <=…
chelta
  • 1
0
votes
1 answer

Sharepoint 2010 CAML-Query, Retrieve the description of an column

Is it possible to retrieve the column description data by using an CAML-Query in javascript?
danielrieske
  • 127
  • 1
  • 11
0
votes
1 answer

SPServices CAMLQuery is returning the ows ID with the value on lookup columns. How can I remove the ID from the results

I work on a project that requires me to pull data from a SharePoint 2013 list and displays that data into html table. All data is being queried and displayed, however two lookup columns are displaying an "ID;#". How can I remove this from the…
TFKai
  • 5
  • 1
  • 5
0
votes
2 answers

Retrieve all items from a SharePoint Field Choice Column with using ObjectModel

I know a similar question has already been asked, but that retrieves all the items for Choice field using Sharepoint Object Model. I dont have object model available to me. I want to do this using CAML or something. I couldnt figure out a CAML query…
shaibee
  • 213
  • 3
  • 11
0
votes
0 answers

cannot retrieve complete dates of single reccuring calendar event in sharepoint

I am using share point custom web part, i want to retrieve all the dates of single recurring calendar event. For example i have created a calendar recurring monthly event that will last from December 2013 to December 2016 i am able to retrieve dates…
Gokul
  • 3
  • 2
0
votes
1 answer

CAML query items in increments

I currently have a sharepoint2010 list that contains roughly 200,000 records. I want to get each record, tweak it, massage it, and store it in a SQL table. As of now, I am using the sharepoint 2010 web service method GetListItems like…
prawn
  • 2,643
  • 2
  • 33
  • 49
0
votes
1 answer

Add SPFolder in List Instance xml

I've create a custom list and included the basic pieces (schema.xml, list template,..) to package it as a .wsp. I have a list instance defined, but I would like to add some folders to the xml. I know you can add SPListItems using ..., but I'm not…
user177925
0
votes
1 answer

Eliminating values from a SharePoint collection

I'm having problems working with collections. I want to eliminate some entries from a collection based on the contents of another collection. I have two collections; one holds a set of workflow tasks I have obtained via SPQuery…
user3016698
0
votes
1 answer

Sharepoint Caml filter list

I want to apply a filter to Sharepoint list : (((user == currentuser) && (dept == "editor")) && ((status == published) || (status == edited)|| (status == printed))) this is my code
Maklei
  • 76
  • 15
0
votes
1 answer

Sharepoint 2010 CAML Query Person Lookup

I have a CAML query where I am trying to retrieve records based on the logged in users id. The following query works on my dev & qa environments, but not in my production environment. There is data that exists that matches the user. I have also…
Matt Holmen
  • 47
  • 1
  • 6
0
votes
1 answer

Using IN Element with other Elements in SPQuery

I'm trying to retrieve items from list using this Query: query.Query = @" " +…
Enam
  • 1,268
  • 1
  • 9
  • 16
0
votes
0 answers

A Dynamicaly created LONG CAML Query Gives An Error + Sharepoint 2010 ASMX Web Services+ SQL CLR Function

I am using SQL clr function to call sharepoint asmx webservices.. and passing CAML query for the filter from my function.. I am creating CAML Query dynamically by my SQL UDF functions and reporting by SSRS.. but if i choose in my parameter many…
Krishna Kumar
  • 21
  • 1
  • 8
0
votes
1 answer

how to autofilter a sharpeoint lists using SPServices

I am not sure if SPServices is the right framework to do the following. I have an application page which by default will show a sharepoint list which has 16,000 items. By default It shows the first 30 list items based on name. I want to put a…
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506