Forum Discussion

Patrick Borgschulte's avatar
Patrick Borgschulte
Brass Contributor
Sep 18, 2019

Retrieving list data from multiple sub-sites using same site content type with JavaScript

Dear all,

 

I'm running a SharePoint site for projects where every project is created as a sub-site with a number of lists. Each sub-site has a list with one list item including the most important project data. This list is using a Site Content Type. I'd like to pull the data from all those lists and write it to one list on the parent site, e.g. by a weekly run of a workflow or manually.

 

Can this task be done by using JavaScript, Rest API, etc.? Has anybody done something similar?

 

Thanks for your tips.

2 Replies

    • Patrick Borgschulte's avatar
      Patrick Borgschulte
      Brass Contributor

      Found some very good pages for achieving this:

       

      https://www.eliostruyf.com/part-1-create-first-search-refiner-control-template 

      https://github.com/SPCSR/DisplayTemplates 

       

      I got it working finally!

       

      Patrick

Resources