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

Some site templates like the "Document Workspace" have an Announcements web part at the top of the page. The format of each item shows the title and a portion of the text contained in the body of the announcement.

I am trying to create the same format in a Publishing site that I am working on. I created an announcement list and added the List View web part but the body does not show up. I went through all the settings of the web part in each page and don't see any difference so I want to know how to format it to display the body.

share|improve this question
    
Did you add the body column to the view being displayed? –  PirateEric Jan 27 '11 at 13:29
add comment

3 Answers 3

up vote 2 down vote accepted

To me, the easiest answer is to use a Data View Web Part (DVWP). You probably won't really want to show the full body because some of them will be very long. Take a look at my blog post on this: http://sympmarc.com/2010/07/13/displaying-the-first-n-words-of-announcement-bodies-with-xsl-in-a-dvwp/

share|improve this answer
    
Thanks will do. However I still would like to know how it does it using the List View part. –  ChiliYago Jan 27 '11 at 0:10
    
The LVWP is a sealed Web Part and it has its own code for this. I suppose if you wanted to use Reflector or something you could figure out how it works under the hood (not that I'd recommend that). –  Marc D Anderson Feb 1 '11 at 13:02
add comment

Choose "summary view" in the web part settings

share|improve this answer
add comment

edit the web part view and make is summary.

share|improve this answer
1  
Can you expand to make it clear what you mean? Thanks. –  SPDoctor Sep 6 '12 at 22:56
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.