SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I access list that is located at the root site from a sub site?

share|improve this question
Can you explain how you need to access it? I.e. in code, via rollup, OOB webpart, etc.. – Dave Wise Sep 19 '12 at 20:19
type its url in the browser. – Derek Gusoff Sep 19 '12 at 21:23
I wanted to have a list on the root that several subsites could use the data in that root list as look up values in subsite specific lists. – Jjp Sep 20 '12 at 12:24
up vote 1 down vote accepted

Using C#, dead simple:

SPWeb rootWeb = SPContext.Current.Site.RootWeb;
SPList targetList = rootWeb.Lists["MyTargetListName"];
share|improve this answer
Thank you - but I need an out of the box solution or a solutions that uses designer. – Jjp Oct 3 '12 at 15:01

For security reasons (and technical ones as well) SharePoint does not support using lists outside of the current site as a lookup list.

You could do one of the following:

1) Create a template of the main list with data and use that to replicate the list everywhere you need it

2) Use an InfoPath form. The lookup would happen within the InfoPath form, not in the SharePoint column itself. InfoPath can use list data from other SharePoint sites in its data connections.

share|improve this answer

Your Answer


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.