Sorry, probably an obvious one, but how do I do 4 ORs and an AND?
I know that 3 look like this
<And>
Many other Ands and Ors here
</And>
<Or>
A
<Or>
B
C
</Or>
</Or>
but 4 seems to be pretty confusing.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this community<And>
<And>
Many other Ands and Ors here
</And>
<Or>
A
<Or>
B
<Or>
C
D
</Or>
</Or>
</Or>
</And>
From the documentation:
The server supports unlimited complicated queries. However, any given Or element can have only two disjuncts; that is, only two child elements. If you need to disjoin three or more conditions, you must nest the Or elements