none
Sub-site filtering .master XMLdatasource RRS feed

  • Question

  •  

    First I am so green you will need to type slowly so you don't loose me...

     

    Second we have WSS 3.0 and I'm designing using SharePoint Designer 2007 (Trial)

     

    Third, I setting up a multipaged manual with chapters, sections, and figures were my chapters are sub-sites and each subsite contains the Section/Figures which I want to display in the left Nav bar on my masterpage.  Currently I have one XML file as a datasource bound to a Treeview object in my master page, this XML file I want to use as the single data source for the Left Nav bar.

     

    sound simple?  Well here is the catch..., I want to keep the single XML file and have it filtered per chapter.

     

    Example

     

    Sub-site 1 (TreeView filter so only ch1 Sections can be displayed)

    Section 1

    Figure 1

    Figure 2

    ...

    Section 2

    ...

     

    Sub-site 2 (ch2)

    Section 1

    ...

    Section 2

    ...

     

    I Could use XPath to filter the data, but I don't want to have each subsite maintain it's own treeview object and a seperate datasoure attachement.   I was hoping to filter the masterpage Treeview on the current sub-sites related content.

     

    If this is too complex I would settle for having the whole Chapter/Section/Figure Tree expand and collapse based on the current chapter sub-site.

     

    All help is appreciated.

     

    Thanks

    Thursday, April 24, 2008 5:17 PM