To get all list items in a list (or library) in SharePoint Online with the client side object model, a simple caml query is needed. I usually use this one:


<View>
  <Query>
    <Where>
	  <Gt>
	    <FieldRef Name='ID' />
		<Value Type='Number'>0</Value>
      </Gt>
	</Where>
  </Query>
</View>

Advertisements