I have the following setup:

      Subsite1              Subsite2
        list1                 list2
    content type: News   content type: News

How can I retrieve the list items from the subsites and display them on my rootsite?

I was thinking to retrieve the content type and then retrieve the items?


For this process you should be using Search Results Webpart or retreiving Search Results from the Rest API. In 2013, you can focus on a content type, a list or anything you like. This will let you filter by the sites you want as well, to include any subsite or all subsites that the user has access to. This will also automatically trim the results for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.