Monday 28 October 2013

Add Comment Box in SharePoint Enterprise Wiki Pages

Hi Everyone,

Today I had a new requirement to add a Comment box for all the Wiki pages. It will be used to give feedback or comments for that Wiki page content.

In SharePoint we have a very powerful webpart for that its nothing but Note Board webpart.

I thought of adding it to the Page Layout and when ever a new page is created it will be created with the new comment box.

So below code has to added to added in the page layouts to include the Note Board webpart to the wiki pages.

<SharePointPortalControls:SocialCommentWebPart id="noteboard" ChromeType="None" runat="server" />

How To Add:

Edit the page layout in sharepoint designer and add it next to the <PublishingWebControls:RichHtmlField Tag.

After adding the the note board webpart save the page layout after saving it the Note Board Webpart will take a __Webpartid automatically.

Happy SharePointing... :)