Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Have LIST created under one site, can the same LIST be used to fetch data from other site using CAML Query.?

eg:

Consider a LIST "xxx" created under SitePages/AAA/Lists/

Can i access the LIST "xxx" from other site i.e SitePages/BBB/

To Summarize, Is it possible to access the LIST across parent and child sites, vice-versa.

Thanks in advance

share|improve this question
add comment

1 Answer 1

you can perform a search of list by specifying its content type or/and ID or something similar to identify your list from the root web. If do a recursiv search there will be your list item returned from the web. After you need to just open a list using API.

See this post for the code.

Hope it helps,

Andrew

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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