CAML Query that filters against a Lookup Column
<Where>
<Eq>
<FieldRef Name=”Category” />
<Value Type=”Lookup”>My category</Value>
</Eq>
</Where>
By ID:
<Where>
<Eq>
<FieldRef Name=”Category” LookupId=”TRUE” />
<Value Type=”Lookup”>1234567</Value>
</Eq>
</Where>
Comments
Post a Comment