SharePoint 2010 Chat Webpart using COM

SharePoint 2010 Chat Webpart using COM

Project Description SharePoint Chat is a jQuery plugin for SharePoint 2007 that places a chat application onto a SharePoint webpart page. The plugin uses jquery to add messages to a list and display them in real-time on a list-view web part. It’s simple to install and customize.
SharePoint Chat is also assembly-free. This means you don’t have to install anything on your SharePoint server. It is a %100 jQuery/Javascript solution that can be implemented into a Content Editor Web Part.
To setup, start by adding references to jQuery, ‘livelistdata’ (a very nice plugin that refreshes web parts), and the SharePoint chat plugin: You can download the livelistdata plugin here: <script src=”/path/jQuery%20Libraries/jquery.min.js” type=”text/javascript”></script> <script src=”/path/jquery.sharepoint.livelistdata.js” type=”text/javascript”></script> <script src=”/path/” type=”text/javascript”></script>
Then create a custom list with a single (multi-line) column entitled “Message”. Then get the GUID of the list you’ve created.
Then add the following code to a CEWP (Content Editor Web Part) of the page on which you want the chat window displayed.. It’s best to place this web part directly above the list-view web part that displays the chat entries. Edit the source and enter the following code: <script type=’text/javascript’>    $(document).ready(function() {       $.chat({listguid:”{EAD2CD7E-C4F0-4F9C-8281-D6A9569186FB}”});    }); </script> <h3>Chat Box</h3> <div id=’jQueryChatBox’></div>
Then, save your page, and start chatting!


About sharepointsriram

9+ Yrs of IT experience
This entry was posted in Sharepoint 2010 Web Parts. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s