Skip to content

Instantly share code, notes, and snippets.

@BipulRaman
Last active July 3, 2018 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BipulRaman/99fb59353a8a894834cbddc9ebd8a8fa to your computer and use it in GitHub Desktop.
Save BipulRaman/99fb59353a8a894834cbddc9ebd8a8fa to your computer and use it in GitHub Desktop.
www.bipul.in | Sample SharePoint CAML Query
<View>
<Query>
<Where>
<Eq>
<FieldRef Name="Title" />
<Value Type="Text">Test</Value>
</Eq>
</Where>
<OrderBy>
<FieldRef Name="Title" Ascending="True" />
</OrderBy>
</Query>
<ViewFields>
<FieldRef Name="Title" />
<FieldRef Name="Code" />
</ViewFields>
<QueryOptions>
<ViewAttributes Scope="RecursiveAll" />
</QueryOptions>
<RowLimit>3</RowLimit>
</View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment