Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Collaborative Application Markup Language (CAML) is an XML-based language that is used in Microsoft SharePoint Foundation to define the fields and views that are used in sites and lists.
0
votes
3
answers
498
views
Is there a way to say getitembyid and use caml query to get no fields?
I don't want to actually read any of its field values, so I was wondering is there is a way to get an item by its id, and use a viewfields caml query to say, get this item without any fields. …
5
votes
3
answers
7k
views
How to get caml query to return list items created by the current user?
I want a caml query that only retrieves items created by the user currently logged in. …
0
votes
1
answer
235
views
How to filter document libraries using CAML query?
In my powershell script, I get all lists, then loop through and filter based on if its a document library and if its a certain content type, but I want to do this through CAML. … library and it's content type is what we want
if($sourceList.BaseType -eq "DocumentLibrary" -and $sourceList.ContentTypes[$DocLibContentType] -ne $null) {
}
}
How can I do the same thing with CAML …
1
vote
2
answers
6k
views
How to check checkboxes in caml query?
In SharePoint 2010 client object model (JavaScript), I am using this caml query to download list items. …
3
votes
How to check checkboxes in caml query?
Change <Value Type='Boolean'> to <Value Type='Text'> or <Value Type='MultiChoice'>.
Source:
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopmentprevious/thread/b20b1945-4b73-4320-8666- …
0
votes
1
answer
142
views
How to check if managed metadata has a keyword in CAML query?
I want to make a caml query that checks if a managed metadata column (which is a list of phrases) contains a certain phrase. …
3
votes
1
answer
4k
views
How to get only the first x items starting at position y from a list, using CAML query?
In sharepoint 2010 client object model in javascript, I want to create a caml query, that can download items from a list. … Is this possible to do in CAML query? …
3
votes
2
answers
4k
views
SP 2010 - Client object model (javascript) - How to use get_listItemCollectionPosition for p...
function runCode() {
clientContext = new SP.ClientContext();
web = clientContext.get_web();
targetList = web.get_lists().getByTitle("Marketplace");
query = new SP.CamlQuery();
var CAML … query.set_viewXml(CAML);
listItems = targetList.getItems(query);
clientContext.load(listItems,CS);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),Function.createDelegate …
5
votes
2
answers
2k
views
How to use SPServices search sql query - getting malformed query
I am using the SPServices javascript library to make a search request to sharepoint 2010 search. I am trying this query:
queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>" …
-2
votes
How to use SPServices search sql query - getting malformed query
I got it working with the code here (from the solution post)
0
votes
1
answer
293
views
SP 2010 Visual Webpart - How to get all documents in a folder and sort them by caml query?
I want to do this by CAML query instead of using a view.
I am currently doing this by return library.GetItemsInFolder(library.DefaultView, folder);. … It doesn't seem to contain a parameter for a CAML query.
Does anyone know how to do this?
Thanks. …
1
vote
2
answers
1k
views
How to write a caml query that filters by .pdf or folders?
How can I write a CAML query (for javascript ecma) that filters by only pdf documents or folders in sharepoint 2010?
(this is for document libraries)
Thanks. …
1
vote
0
answers
55
views
SP2010 - Visual Web Part - Storing metadata in folders in document libraries
I noticed these three pages
Get Property
Set Property
Add Property
And I want to know if it's possible to use these to add a number to the folder, and then in a CAML query, get the folders ordered …