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

3
votes
1answer
4k views

Content query web part filtering on multiple content types

Is it possible to use the Content Query web part to filter on multiple specific content types that do not have a parent/child relationship? I have a requirement to show Events (from a calendar) and ...
2
votes
1answer
2k views

How to retrieve User Information List data

I would like to filter a list based upon a user group that the user may belong to and a specific value found in the User Information List for that user. I tried doing this with CAML in SharePoint ...
1
vote
3answers
1k views

Hard code group name into CAML query

I am trying to hard code a user group into a CAML query's where clause. The reason is so that I can apply additional criteria when the user is in one group, and something else if they are in another ...
1
vote
1answer
1k views

Sharepoint 2010: Full text plus faceted search over an External Content List using Search Services (or possibly FAST)

I have an External List over a products table in our database. I want to be able to build a search form over it via a full text search; in addition to being able to filter down on properties on my ...
1
vote
2answers
834 views

How to update a list item from web service using a where clause?

I have a scenario where I need to update a list item, but I don't know the internal ID of the list item - hence the following won't work for me: batchElement.InnerXml = "<Method ID='1' Cmd='Update'...
0
votes
1answer
980 views

How come GetListItems filtering on a field's equality to a value fetches this field's value as undefined/null

I think I found a bug. Please share if you know more about it. I use GetListItems operation to fetch items to display on an ajaxified form. Just an hour ago everything was fine, but now when I query ...
0
votes
1answer
820 views

Is SharePoint's ListViewXML syntax based on a standard?

Recently I had to change a ListView webpart and noticed the syntax that renders the HTML is not XSLT. Is this syntax documented somewhere? Example, <IfEqual> <Expr1> ...
3
votes
4answers
1k views

Best way to get CAML for a custom content type

I am trying to get the CAML for a custom content type that I am creating. What I am really doing is creating the content type in Visual Studio 2010 and then deploying that content type to my sandbox. ...
2
votes
2answers
3k views

“Person or Group” fields shows HTML instead of Display Name only

In Sharepoint Designer, I have a Data View Web Part which pulls data from a list. (In a normal situation) if I select a Person or Group field explicitly within the CAML for the Data Source, the ...
2
votes
3answers
1k views

CAML query filter for HTML BR tag

I am trying to create a CAML query that selects all list items that do not have just a BR tag in them. Whenever I create a query filter: <And> <Eq> <FieldRef Name="ThreadId" /&...
2
votes
2answers
662 views

How do I query several lists with the Object Model and merge the results?

Is it possible to with the Object Model query several lists at the same time and get the result merged together? Something like linked sources in SharePoint Designer? I have created a web part that ...
2
votes
2answers
2k views

How to get the last x number of splistitems changed for a SPWeb

I'm trying to pull back the last x number of list items in all non-hidden lists for a given web. My original code would go through all lists and run the following code: SPQuery query = new SPQuery();...
5
votes
1answer
3k views

CAML: Filter URL field on description (not on URL)

I have a list with an URL-field. Nothing special, just the OOTB Hyperlink-field. I want to execute a CAML-query that selects items with a certain value in the description part of the URL-field. CAML ...
6
votes
4answers
5k views

Where can I find a list of CAMLvariables and ServerVariables?

Having some trouble finding a list of these variables. Any help would be greatly appreciated. More specifically, when I see this on the page: <ParameterBinding Name="UserID" Location="CAMLVariable"...
1
vote
1answer
430 views

Visual Studio reports fake schema validation errors. How to clean SharePoint schema cache?

I have recently generated a couple of ListDefinitions using both SPSource and VSeWSS SharePoint Solution Generator. In both cases, surpisingly, Visual Studio reports fake schema validation errors in ...
0
votes
3answers
2k views

How to replicate a query join in CAML

In SharePoint 2007, if I had 2 lists with a master/detail type relationship (via a lookup column) how would I best implement a search query across these 2 lists (for a custom search and results page). ...