0

i got a CAML-Query, which (essentially) pulls the IDs from a lookup field. Then i got another one, which querys the target of the lookup to get the date from that list.

So is there a possibility to design the CAML-Query in a way, that i get the referenced (lookedup) target list with one query instead of two?

1

You can join lists together like you can tables with CAML. Please refer to the MSDN link.

CAML Joins MSDN

  • Uh well - somehow i didn't manage to use the word "join" in sharepoint. I will post some results later... – TGlatzer Oct 29 '12 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.