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

I created a datasource that points to an XML file at the top level Sharepoint site. I then associated a treeview in a masterpage with the new datasource. It works fine on the home page but not on subsites. I gather that it has something to do with the XML file being stored at the top site and is not available to the other sites?

Can anybody recommend how to deal with this?

share|improve this question

I found an answer. It is to setup the xml file as a sitemap datasource and reference it in the Web.Config

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.