locked
How to create a custom list view RRS feed

  • Question

  • Creating a standard Announcement list gives a standard list view for a start page.
    In our announcement I would like to add some more columns (not a problem) och rearrange the look of the start page list.

    Is it possible to create a "My custom announcement View" which the administrator can select in the "Choose a view format" when he createsa a new view for our custom announcement list?

    Thanks,

    Mike

    //Micael
    Wednesday, October 1, 2008 3:37 PM

Answers

  • Content Query WebPart (CQWP) can help you. You can customize CQWP to change the rendering of each field. Following link will show you how to customize CQWP:
    http://www.heathersolomon.com/blog/articles/customitemstyle.aspx


    -Sridhar http://sridharu.blogspot.com
    Friday, October 3, 2008 12:00 PM
  • SharePoint Designer as well..
    Just open a page and open your List in the Data Sources view. Right click on announcements and click "Show Data". Drag the fields you care about onto the page and you can change the formation/layout etc..


    Posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, October 3, 2008 2:55 PM

All replies

  • Hi,

    Please look at the following project - 
    http://www.codeplex.com/sushi

    It replicates a SharePoint List View from one SharePoint list to another.  Also, allows the user to add to favorites.

    Although, it is not exactly same as your requirement, to create view template. However, it works on the concept of view copy.
    Rajendra Shekhawat http://rajendrashekhawat.blogspot.com
    Wednesday, October 1, 2008 7:32 PM
  • Thanks for your reply, but it doesn't help me.

    I would like to create an announcement View with the following look:

    Title (bigger font)
    Short description of announcement (2-4 rows). Optional image on the right.
    Date and creator of announcement. (smaller font in grey)

    //Micael
    Friday, October 3, 2008 7:22 AM
  • Content Query WebPart (CQWP) can help you. You can customize CQWP to change the rendering of each field. Following link will show you how to customize CQWP:
    http://www.heathersolomon.com/blog/articles/customitemstyle.aspx


    -Sridhar http://sridharu.blogspot.com
    Friday, October 3, 2008 12:00 PM
  • SharePoint Designer as well..
    Just open a page and open your List in the Data Sources view. Right click on announcements and click "Show Data". Drag the fields you care about onto the page and you can change the formation/layout etc..


    Posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, October 3, 2008 2:55 PM
  • Sridharu said:

    Content Query WebPart (CQWP) can help you. You can customize CQWP to change the rendering of each field. Following link will show you how to customize CQWP:
    http://www.heathersolomon.com/blog/articles/customitemstyle.aspx


    -Sridhar http://sridharu.blogspot.com


    Interesting article about CQWP, only one problem: I am running WSS 3.0 and though the article says it is for MOSS 2007 and WSS 3.0 I can't get it to work. I can't find CQWP. Some comments to the article says that CQWP is not supported in WSS.

    But it gave me som good reading from Heather Solomon. Several real good articles about SP.

    //Micael
    Sunday, October 5, 2008 6:16 PM
  • Michael Washam - MSFT said:

    SharePoint Designer as well..
    Just open a page and open your List in the Data Sources view. Right click on announcements and click "Show Data". Drag the fields you care about onto the page and you can change the formation/layout etc..


    Posting is provided "AS IS" with no warranties, and confers no rights.


    Thanks Michael. I have tried you suggestion but I haven't really found the solution I am looking for.
    First I followed your steps on a Announcement I have on the start page. But I couldn't drag Datasource fields to the Announcement ListViewWebpart. But I could drag them to the startpage itself and thus creating a DataFormWebPart. With this I could move around fields. So far so good.
    I also tried to change my Announcement ListViewWebPart into a XsltViewWebpart and then I could add fields. So far so good.

    The problem is that I want to keep all List settings such as filters, sorting, etc. That is why I would like to create a custom List Style. If you open a View to a List you have the sections for columns, sort, filter etc.  Another three sections down there is Style with some selections like Newsletter, Shadow and Standard.
    I would like to create a "Newsletter advanced" style and then the administrator of the site can use my style along with the other settings for a View.


    //Micael
    Sunday, October 5, 2008 6:29 PM
  • I found an article describing what I want (I think), but it is for Sharepoint 2003. Does anyone know if this can be used for WSS 3.0 ? or a similar article for WSS 3.0.

    Article "Adding a Custom View Style to Windows SharePoint Services"
    http://msdn.microsoft.com/en-us/library/ms916812.aspx
    //Micael
    Monday, October 6, 2008 7:25 AM
  • Hi Micael,

    Did you get an answer to your question regarding the applicability of the article you quote from WSS 2.0?
    Alternatively did you find an equivelent article for WSS 3.0?

    Thanks
    Martin
    Friday, August 7, 2009 2:17 PM