Home > Domino Tips > Administrator > Web > Using Sametime to chat-enable your Web site
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB

Using Sametime to chat-enable your Web site


Jens Bruntt
12.17.2002
Rating: -3.12- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let others know how useful it is via the rating scale at the end of the tip. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.


View member feedback to this tip.

I have been using Lotus Sametime for instant messaging at Convergens, the business partner I'm working with, since the product was released. We have a main office and a couple of consultants working from home, but often we also have consultants from our main office working at customer sites. We stay connected running running Sametime (Win32 client at our offices, the Java client at customers' sites).

We have recently chat-enabled our public Web site using Sametime and the Sametime Links toolkit. This means that all profiles of employees are available on the Web. When a Web user reads my profile, he will see a small dot that is color-coded to signify whether I am available, temporarily away, busy or not online at all. Clicking the dot will start a Sametime chat with me.

It's easy to implement this. Here's how:

Requirements:
To have this on a public Web site where no password is required to use the chat interface, you'll need the following:

  • Sametime 2.5 or later - I did this on release 3.
  • The Sametime server must have anonymous login enabled. You configure this in the Sametime Admin interface on the Community Services tab.
  • The Sametime server must be available on the Internet.

Disclaimer:
  • Be sure to configure and protect your servers properly when exposing them to the Internet.
  • You might not want to let Internet users use your Sametime environment anonymously. Therefore you need to do more configuring and coding than what you will see here. This would include registering the users and making Name and Password fields available on the Web site.
  • This was tested with MS Internet Explorer 5.5.



Code

Here's the ...


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Web
Display SharePoint data in a Lotus Notes Web application with Ajax
Top 10 Lotus Notes/Domino administration tips of 2008
How to create a dynamic SVG graph using a Lotus Notes agent
Hosting multiple Lotus Domino servers at one IP address without a VPN
Upgrading and patching Firefox: Security considerations for administrators
Admin2005 Learning Guides
Making old, new flavors of Domino SSO work
A fun site, with serious code
Creating corporate welcome pages with Lotus Notes
Domino Web traffic analyzers

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


code:

Where it says YOURSERVER you should put the DNS name or IP address of your Sametime server. The loginName can be anything you like, it will be displayed in the Sametime client when the Sametime user in the other end chats with the Web site user. The writeSametimeLink function is the one that writes the online dot and a text to the Web page, displaying your availability and which when clicked will start the chat session. Note that in my example I have used a canonical name (CN=), if you prefer the abbreviated format (you might have to if you are using Sametime 2.5) you should read the documentation - there is a link below.

You can do a lot more than what I have done with Sametime on your Web site, but this is the basic chat-enabling that will get you started. There is a comprehensive IBM redpiece on the available APIs - of which we have just been using the Sametime Links API - you find it here: Working with the Sametime Client Toolkits.

Jens Bruntt has been a developer and infrastructure advisor for Notes and Domino projects since 1994 and is an R6 Principal Developer working as project manager or consultant depending on the project's size and requirements. He has a Masters degree in Library- and Information Science. Jens is working at Danish Convergens as a senior consultant, primarily architecting Domino Browser based Internet, Intranet and Extranet sites.


MEMBER FEEDBACK TO THIS TIP

I think it would be good to include a "warning" with how the Sametime development kit is "interfering" with WebSphere Portal Enhance (at least 5). Adding Ssametime support to WebSphere Portal during install pre-define same "tags" as the Sametime dev kit, with strange behaviour as a result.

—Anders W.


Do you have comments on this tip? Let us know.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts