Linked Questions

5 votes
5 answers
55k views

Get all items from a folder using REST

Currently I am using REST in order to get item titles in the Pages directory. The problem is that it is pulling all the elements that are in the pages directory and I only want it to pull from a ...
user60232's user avatar
4 votes
2 answers
19k views

Retrieve folders and sub folders from document library by REST call

I need to get a list of folders and sub folders from document library. I feel that approaching this problem using REST call would be easier than the traditional CSOM query. Please suggest a relevant ...
Mancy Desaee's user avatar
  • 1,807
3 votes
1 answer
13k views

sharepoint rest api, serverRelativeUrl, extended properties on all files

Is there a way to write the service call in example A to get the file properties in example B? Currently the folder isn't a named list. If it were would that help? This question is similar to: Is it ...
steve's user avatar
  • 55
3 votes
3 answers
17k views

With REST recursively retrieve file and folder directory structure

I have a site which is running under SharePoint 2013. Via REST I am trying to retrieve the file and folder directory for that site. There are several similar questions on this site related to ...
ahsteele's user avatar
  • 131
0 votes
2 answers
1k views

Sharepoint 365 Rest Api cannot see any document or element

I'm using Sharepoint online (included in office 365) I'd like to use sharepoint as a document repository. I've created some test folders&Docs on my created test site: I have created my auth ...
bodtx's user avatar
  • 103
1 vote
1 answer
2k views

List all Files with all Properties/Fields for a given folder Path

I'm trying to list all files with all properties/fields (ListItemAllFields) for the given server relative path. Problems: I'm using this method to list files: https://<sub-domain>.sharepoint....
Dhruvin's user avatar
  • 13
2 votes
1 answer
1k views

Full Tree View in SharePoint Online

I want to achieve a full tree view of my site hierarchy and the documents in there. So I would be able to see the full tree view of the site hierarchy from any site. It isn't possible to do with the ...
clean's user avatar
  • 21
0 votes
3 answers
902 views

Get items in folder using REST

I need to get all the items in a specific folder in a list. I have tried few api like but it does not give me items in list. I need to get items so that I can get total length of folder. /_api/web/...
KumarV's user avatar
  • 2,690
0 votes
1 answer
882 views

How to get documents from folder in document library sharepoint online

Is there a REST way to get all the documents with its properties under a specific folder into a document library ? I'm doing it like so: var url = _spPageContextInfo.siteAbsoluteUrl + "/_api/lists/...
Emmanuel Villegas's user avatar
1 vote
1 answer
546 views

Unable to read sub folders inside document library with REST

I have a document library with files and folders. I am using the below code to try to get the list of files inside a specific folder that sits in this document library using the SP REST API. I am ...
jaysonn's user avatar
  • 17
1 vote
0 answers
110 views

SharePoint 2013 - Share document library files to external web application/website

I'm quite a newbie on SharePoint. I've a server with SharePoint Foundation 2013 installed. We have also a company website, not based on SharePoint and hosted on another server in our network. The ...
Pepozzo's user avatar
  • 1,073