Question

I'm Looking for a query builder that can assist me in creating CAML queries that will contain inner joins.

Does anything like this exist?

Update: To ask my question more clearly, I am looking for a software package that assists in writing these join queries more easily. Previously we had CAML Builder, but that doesn't support joins.

Was it helpful?

Solution

Yes, this was a feature added in SharePoint 2010. Take a look at the SPQuery.Joins property, and here's an example by Tobias Zimmergren.

This is also possible using LINQ to SharePoint, which generates the appropriate CAML behind the scenes.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top