Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In WCM, I have a list (or two) that I would like to have appear on every page of the site using SPD. I would like this list to be dynamic, based on and existing list.

How do I add this list to all pages? Do I add it to the master page? To the page layout?

Is there a better way? I don't want to have to add it manually to every page.

share|improve this question
    
I can't believe there is not answer for this. –  mmcglynn Oct 5 '12 at 20:33

2 Answers 2

As usually the answer is it depends.

To show the list I'd probably use the ContentByQueryWebPart, but that also depends on what you need.

If you want the list(s) to show up on ALL pages in the same location (and you have an easy way of putting them in the right place using ContentPlaceHolders or directly) then adding it to the masterpage is the solution.

If you want them on all/most content pages then putting the web parts into the page layouts may be the best solution. But this may only affect new pages.

Adding the webparts to pages using code may also be a good solution.

And finally configuring the web parts to look right, then exporting them and adding them to the web part gallery will be a great solution for making it easy to add them where you want them on a lot of pages.

share|improve this answer

Why don't create a console app that will add your list to every page of your site collection or web application ? it shouldn't be hard if you got visual studio and doing in on server where sharepoint is installed already.

share|improve this answer
    
I think if I have to do that my approach must be deeply flawed. –  mmcglynn Oct 5 '12 at 20:33

Your Answer

 
discard

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.