3

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

1 Answer 1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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