How to build a webpart to list subsites RRS feed

  • Question

  • Hi, I have a requirement to build a webpart which will list links like a table of contents webpart only it will only show subsites of a certain type.

    I intend to use some code that will iterate through all subsites and only add sites using a certain webtemplateid value to the webpart. How would I go about building this? I would like to ensure that links are security trimmed. 

    I don't believe that any ootb webparts will do what I want. I don't want users to have to add links manually to a summary links webpart. The toc webpart shows all types of subsites/lists which is no good to me. 

    Should this be a fairly easy task to complete?

    Saturday, June 2, 2012 3:10 PM


All replies