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

So lets say you have a list and that list has multiple views. Is there a way to give each view a description? Whether that is in the drop down list of views as you hover over it or when you open a specific view.

I am a fairly new site curator responsible for maintaining a lot of lists and one particular list has 15+ views and not all the views are named based on what they are showing.

I have infopath and SharePoint designer installed but have not used them. So really looking for a none coding option if possible. Maybe this can be done with a CEWP (not that i know the code for it).

SharePoint 2007 list

Thanks ahead of time.

Oct 30: Learned that SharePoint Designer/Infopath is locked down (for me at least).

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

The views themselves can't have descriptions, but if you're satisfied with the desciption being on the view page you have a couple of options:

  1. You can use SharePoint designer to modify the page generated by the view to contain any text/html you want. This has the downside of customizing the page, which may cause problems during upgrades.

  2. You can edit the page and insert a CEWP on the page with any text/html. This has the downside of confusing code using certain methods (SPWeb.GetListFromUrl/SPWeb.GetListFromWebPartPageUrl) which assumes that the first web part on the page can be used to identify the list.

The steps to achive number two are:

  1. Create the view unless it already exist
  2. Go to the view
  3. Select "Site Actions" | "Edit Page"
  4. Click "Add a Web Part" (above the "real" content of the view)
  5. Scroll down to the "Miscellaneus" section and put a check mark in front of "Content Editor Web Part"
  6. Click "Add"
  7. Click the link "open the tool pane" or in the title part of the CEWP select "Edit" | "Modify Shared Web Part"
  8. Click "Rich Text Editor..."
  9. Create your desciption to shown above the view
  10. Click OK (twice)
  11. Click "Exit Edit Mode" (below "Site Actions")
  12. Repeat for other views
share|improve this answer
    
After checking it appears SharePoint Designer is locked down so would have to use CEWP though I have no idea how to code this. –  SP2007User Oct 31 '12 at 18:43
    
Answer expanded –  Per Jakobsen Oct 31 '12 at 19:40
    
Thanks for quick response. This totally works and suits my needs. –  SP2007User Oct 31 '12 at 20:25
add comment

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.