XMPP chat in the SAP Portal
The SAP Portal comes with a build-in chat application. This application once was a very nice additional feature, not really user-friendly, but useful for easy out-of-the-box chat in the portal. Unfortunately, the chat application received a feature freeze some time ago and today looks just … old. It`s one of the portal functionality ready to use, but no one does. That`s sad, considering that a chat application inside the portal can add some nice functionality to the end-users portal experience.
Partly the chat application is to blame (see screenshot above), but still: chat in a portal can add serious value and drive user adoption. Most chat applications have to be installed on the desktop or the online version requires a new window or consumes too much space to be easily integrated into a portal page. If you are familiar with Liferay you already know the chat functionality available there and how easy it integrates with the portal pages (of the facebook chat).
Besides having a nicely integrated chat application in the portal and therefore raising the acceptance by end-users, an integrated chat can be used as a communication channel. Integrate a chat room on a portal page gives the users the possibility to ask instantly questions about the application or content, without the need to open a support message.
Is this possible with the SAP Portal and how does this look like?
Short answer: of course that’s possible!
- People can log on anonymously to the chat or with their credentials.
- History can be kept so that new joiners can browser previous questions and answers.
- The user can click on the chat area to enter the chat group for that page / LoB and asks for help.
- As the chat application can be put everywhere, it can serve as an additional online collaboration feature for the collaboration rooms: documents and the meeting notes, member list for the static content and to escalate the collaboration the chat can be used.
- The support stuff can use their preferred chat client (here: Pidgin) to receive and answer questions of the users in real time.
The answers will pop up automatically at the chat window of the users logged on to the chat room.
A hidden feature is the ability to send messages to all registered users. Just put the chat application with automatic logon on a static part of the portal and send a message to all users connected.
The message pops up automatically:
The anonymous users are listed as session users, but not with their user Id. The user Id of the portal user can be used as the nickname when registering to the chat room. Therefore the username can be found in the chat room administration.
Other use cases: this chat application can also be used to track the actual number of users active in the portal and, with real log on to the chat, to interact with them.
I implemented the chat application using
- Openfire 
- Some magic
There is also a mobile version of Jappix available. Combined with the portal navigation this can be used to redirect mobile users to a mobile support forum.
 Maybe with the new SCN we also get a chat app? Openfire is from Jive, and after SAP decided to use almost no SAP Portal functionality besides the bare framework for integrating application and to go full Jive: Jive powered chat app in the SAP Portal. http://www.igniterealtime.org/projects/openfire/
 My magic didn’t work too well for IE (irony), but that’s related to the CSS used.