Click here to Skip to main content
Licence CPOL
First Posted 31 May 2009
Views 17,870
Bookmarked 1 time

Sticky posts in SharePoint Discussion boards

By | 2 Jun 2009 | Technical Blog
Helps to mark the posts as Sticky in Sharepoint Discussion Board.
A Technical Blog article. View original blog here.[^]
If you have used SharePoint discussion board in your team site, then you would have wondered that there is no option to make the post as sticky.
By default SharePoint doesn't provide this facility, but it can be acheived easily with the out of box options available with the Discussion board list. After making this changes the discussion board will look like below.

Step 1 Create a Column in the list

Goto the list settings and create column.

Name the column as "Sticky", and choose as
checkbox (Yes/No). We are going to give the option to the owner of the post,
while creating the post whether it should be set as sticky or not.

Step 2 Create a View for Sticky posts

Goto the settings page and create the view and name its as "Sticky", set is as
public view

Another important thing in the Sticky view is changing the sort columns. First
sort coumn should be "Sticky", that is the intention of having the sticky posts.
Sticky posts should be always shown on the top and then followed by the Last
updated posts. So set the "Then sort by column" to Last Updated column. as indicated below.
Step 3 Selecting the Sticky view

Whereever we are showing the discussion board, that is the List View webpart.
Click on modify share webpart menu and change the selected view to "Sticky"
which we created in Step 2.

Now we have the Discussion board ready with the Sticky option.




All the posts which are marked as sticky will be shown on top always.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Rajesh.Sitaraman

Architect
Indian MNC
United States United States

Member

I'm interested in C#, AJAX, SilverLight,and SharePoint now. I enjoy listening to music, movies, driving.
I love posting answers to forums, especially questions related to SharePoint Technology. Started career as c++ developer, then .Net Mobile Technologies and SharePoint now.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Questionwss install error Pinmemberraghu_nandan12:27 12 Aug '10  
Questionhow to access sharepoints discussion board using web services. Pinmemberaddepalli18:15 2 Jul '09  
AnswerRe: how to access sharepoints discussion board using web services. Pinmemberaddepalli21:01 2 Jul '09  
GeneralRe: how to access sharepoints discussion board using web services. PinassociateRajesh.Sitaraman8:15 5 Jul '09  
GeneralRe: how to access sharepoints discussion board using web services. Pinmemberaddepalli17:35 5 Jul '09  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 2 Jun 2009
Article Copyright 2009 by Rajesh.Sitaraman
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid