CAML query builder that supports inner joins?
-
16-10-2019 - |
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.
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