Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Using REST to find lists in an entire site collection (Office 365)

$
0
0

Is it possible to make a REST call to get all lists in a site collection that matches a particular list name?

I have a number of sites in a site collection and each site contains a custom list called 'SiteInfo'. I'd like to pick two fields from every 'SiteInfo' in the entire site collection.

Something like this:

/_api/lists/getbytitle('SiteInfo')/items?$select=Title,Phase

This works, but only gives me the list at the current site. I'd like to loop through the entire site collection to find all lists with this name. Is this at all possible?



Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>