In is a lesser known CAML operator that I’d like to bring to more peoples attention. When writing CAML and you want to restrict the results by a multi value field equaling two or more values, you’d write something like: <Where> <Or> <Or> <Eq> <FieldRef Name="Country" /><Values><Value Type="LookupMulti">Scotland</Value></Values> <Eq> <Eq> <FieldRef Name="Country" /><Values><Value Type="LookupMulti">England</Value></Values> <Eq> […]
↧