magritton
10/8/2014 - 1:25 PM

This is a CAML query to filter for a field that is not null and who is not a folder

This is a CAML query to filter for a field that is not null and who is not a folder

<Query>
<Where>
<And>
<Neq>
<FieldRef Name='ContentType' />
<Value Type='Text'>Folder</Value>
</Neq>
<IsNotNull>
<FieldRef Name='EmailSenderName'>
</FieldRef>
</IsNotNull>
</And>
</Where>
</Query>