v5 alternative to client.Sites["site-id"].Drives["drive-id"].Items["folder-id"] #2281
-
In v4, I used the following query to get the children within a subfolder of a document library in SharePoint. It doesn't appear v5 included an 'Items' request builder for specifying the folder id so looking for an alternative in v5. TIA!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
User error - found it in the migration guide to drop the Sites reference:
|
Beta Was this translation helpful? Give feedback.
User error - found it in the migration guide to drop the Sites reference:
var result = await this.client
.Drives["drive-id"] // Documents library
.Items["folder-id"] // Sub-folder in Document Library
.Children
.GetAsync();