No Batch No Problem

Developer Support

Gunjan Datta demonstrates how to expand sub-properties of an OData REST API request without using a batch request.


This post will go over how to expand sub-properties of an OData REST API request without using a batch request. This will be useful in SharePoint 2013+ On-Premise environments where the batch request is not available.

Demo Example

We will query a document set library with the following information:

  • Document Set library named Doc Set Demo
  • Document Set content type renamed to Dashboard Item
  • Document Set item created and called Test

The folders/files included in this item are:

Name Type Path
Document.aspx File /Document.aspx
Folder Folder /Folder
Document.aspx File /Folder/Document.aspx
SubFolder Folder /Folder/SubFolder
SubDocument.aspx File /Folder/SubFolder/Document.aspx
SubSubFolder Folder /Folder/SubFolder/SubSubFolder
SubSubDocument.aspx File /Folder/SubFolder/SubSubFolder/Document.aspx

Our goal is to get all of this information in one request.

Check out the full implementation here.

0 comments

Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon