Sharepoint 2010 Discussion Board Features

Posted on  by 



Discussion boards provide forums for site participants to converse about topics. Most Microsoft Windows® SharePoint™ Services site templates include the ability to create discussion boards, and many sites and workspace sites have a built-in discussion board called General Discussion. Unlike other lists in SharePoint 2010, discussion boards have two levels of list items. A new subject is actually a folder, whereas replies (messages) are items in those folders. This allows for the replies to be contained within the original subject in the various views that are available in discussion boards. 'Mark as Answer' feature in SharePoint 2010 Discussion boards SP 2010 Discussion boards is enhanced from earlier versions, still it is just another type of list template which enables saving posts and replies. Between the SharePoint forum lists and real Discussion Boards services (like those available on the internet) is quite big, and include some very basic and critical missing features such as: There is no discussion board index that enables managing multiple discussion boards under. With discussion boards. The 2013 discussion board (with Community features enabled) creates and engaging “Facebook-like” activity stream, which is far more user-friendly than the same feature in SharePoint 2010. The added visual appeal is important because getting people to use the discussion board instead of commonly used “who you know”.

SP2010 Discussion boards is enhanced from earlier versions, still it is justanother type of list template which enables saving posts and replies. The gapbetween the SharePoint forum lists and real Discussion Boards services (likethose available on the internet) is quite big, and include some very basic andcritical missing features such as:Sharepoint 2010 discussion board features examples
·There is no discussion board index that enablesmanaging multiple discussion boards under groups/subjects.
·No ability to control the visibility of specificdiscussion boards
·No out-of-the-box ability to manage abusive posts
·Limited Look N feel - very far from Internet-styleforums
Ifwe have to extend all rich functions, we need to opt for “Third party tools”.However, some of the features (with limited look N feel) can be managed by few customizations.Below customization is to achieve “Mark as Answer” feature without much customcoding.
1)Create List (OOTB) of type“Discussion boards
a.It contains two contenttypes, “Message” & “Discussion”. Add new column of type “Yes/No” with name“MarkedAnswer”under “Message” content type.
b.List contains three views (Flat,Subject, and Threaded). Edit the “Flat” View and make newly added column“MarkedAnswer” as visible. It would appear as below..
3)Discussion boards use“Thread.xsl” to display above layout.
4)Take a backup of“C:Program FilesCommon FilesMicrosoft SharedWeb ServerExtensions14TEMPLATELAYOUTSXSL” folder before updating any xsl file,as it will impact globally to farm.
5)Open “Thread.xsl” file andfind template “<xsl:templatename='StatusBar'>”
6)BoardAdd below code between<td> and <div> tag to highlight background

<xsl:choose>
<xsl:whentest='$thisNode/@MarkedAnswer = 'Yes''>background-color: #00bb00</xsl:when>
</xsl:attribute>
------OR---------Add add answered image as below-----------------
<xsl:choose>
<xsl:whentest='$thisNode/@Mark_x0020_as_x0020_answer = 'Yes''>
<imgsrc='/_layouts/images/kpinormal-0.gif'alt=' />
</xsl:choose>
7) Save the Thread.xsl file and “Restart IIS” toreflect this change on site. This should display as below…

Today I ran into an error when trying to enable the “SharePoint Server Publishing Infrastructure” feature on an existing SharePoint site. The logs told me:

Sharepoint 2013 Discussion Board Features

“Feature Activation: Failed to ensure feature dependencies for feature ‘PublishingSite’ (id: ‘f6924d36-2fa8-4f0b-b16d-06b7250180fa’), exception thrown: Microsoft.SharePoint.SPException: Provisioning did not succeed. Details: Failed to create the ‘Site Collection Documents’ library. OriginalException: A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. —> Microsoft.SharePoint.SPException: A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title. —> System.Runtime.InteropServices.COMException (0x81020012): A list, survey, discussion board, or document library with the specified title already exists in this Web site.”

Sharepoint Add Discussion Board

I had never created that library or tried to activate the feature before. So I fired up SharePoint Designer to check what was going on. It seemed that a folder by the name SiteCollectionDocuments existed in that site. It was created by a Silverlight webpart project which I had deployed to that site. I deleted the folder, activated the feature and then redeployed the silverlight webpart and voila: everything was great again!





Coments are closed