Skip to main content link. Accesskey S
  • Translate Page ▼
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • WebSphere Portal Family wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.0
  • 6.1
  • 6.1.0.1
  • 6.1.5
  • 6.1.x
  • 7.0
  • 7.0.0.2
  • 8.0
  • accelerator
  • accelerators
  • ActiveInsight
  • administrator
  • administrators
  • advanced configuration
  • API
  • authoring
  • Banking template
  • basic configuration
  • best practices
  • builder
  • building a site
  • calls
  • cluster
  • customizing
  • demo
  • demos
  • deployment
  • deployment scenario
  • developer
  • developing
  • development
  • Enable
  • Express
  • Extend
  • Factory
  • feature
  • feature set
  • fix pack 2
  • Government to Business template
  • information center
  • install
  • installation
  • installing
  • known issues
  • LDAP
  • Learning
  • Lotus
  • Lotus Web Content Management
  • management
  • media portal
  • media toolbox
  • media wcm
  • message catalog
  • messages
  • migration
  • migration tool
  • mobile
  • mobile experience
  • Mobile Portal
  • Mobile Portal Accelerator
  • mobile webkit
  • model
  • MPA
  • multiplatform
  • multiple LDAPs
  • PDM
  • performance
  • planning
  • portal
  • Portal 6.1
  • portlet
  • product doc
  • Redbooks
  • Redbooks Wiki
  • Retail Vendor template
  • SAP
  • search
  • security
  • set
  • SharePoint
  • SharePoint integration
  • solutions catalog
  • test infrastructure
  • theme
  • theme optimization
  • troubleshooting
  • video
  • WAB
  • WCM
  • WCM 6.1
  • web application bridge
  • web content
  • Web Content Management
  • websphere
  • WebSphere Portal
  • WebSphere Portlet Factory
  • Workforce
  • worksheet
  • z/os
  • zos
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > WebSphere Portal > Unread email indicator in a WebSphere Portal Theme
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Unread email indicator in a WebSphere Portal Theme 

expanded Abstract
collapsed Abstract
No abstract provided.
If you have a Domino Mail server and Domino Web Access Templates for users, it could be interesting to present to the user an indicator of unread emails.

This code works for the moment only on IE.

Something as below :

We've got 2 new mails

To do that easily, I have used the XML representation of DWA.

You can obtain that with that url :

http://servername/mail/userdb.nsf/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox)

In this XML file, you have the information if an email is unread.
As shown below :

XM Representation

After that, you just need to parse that file and count the number of unread emails. To do that, you use a small JavaScript piece of code.

Code

If you also want to add a link to the Mail Page, you can add the following lines. These lines generate a URL to the page “ibm.portal.Mail”, and I also use NLS bundle to add some text before and after the number of unread emails.

NLS Code

You can find all the source code, here.


expanded Article information
collapsed Article information
Category:
WebSphere Portal
Tags:
6.0, 6.1, themes and skins, unread mail, Domino, portal

This Version: Version 15 October 23, 2009 3:49:33 PM by Craig Lordan  IBMer
   
expanded Attachments (2)
collapsed Attachments (2)

 


File TypeSizeFile NameCreated On
application/pdf 38 KB Code_Source.pdf 8/14/08 10:29 AM
text/plain 1 KB Source_Code.txt 8/14/08 10:29 AM
expanded Versions (14)
collapsed Versions (14)
expanded Version Comparison
collapsed Version Comparison
     
Version Date Changed by               Summary of changes
This version (15) Oct 23, 2009 3:49:33 PM Craig Lordan  
13 Nov 5, 2008 2:20:32 PM DeAnna Steiner  
13 Nov 5, 2008 2:20:32 PM DeAnna Steiner  
12 Aug 14, 2008 11:07:54 AM Vincent V PERRIN  
11 Aug 14, 2008 11:04:14 AM Vincent V PERRIN  
10 Aug 14, 2008 11:02:39 AM Vincent V PERRIN  
9 Aug 14, 2008 11:01:53 AM Vincent V PERRIN  
8 Aug 14, 2008 10:56:22 AM Vincent V PERRIN  
7 Aug 14, 2008 10:53:19 AM Vincent V PERRIN  
6 Aug 14, 2008 10:52:18 AM Vincent V PERRIN  
5 Aug 14, 2008 10:50:10 AM Vincent V PERRIN  
4 Aug 14, 2008 10:47:44 AM Vincent V PERRIN  
3 Aug 14, 2008 10:45:21 AM Vincent V PERRIN  
1 Aug 14, 2008 10:36:28 AM Vincent Perrin  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Tip: When linking to articles use the original title, not the edited title. The alias for the link can be the edited title.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • Lotus Technical Information and Education Team Blog
  • Lotus Tech Info on Twitter
  • Lotus Tech Info on Facebook
  • Lotus product forums
  • Lotus Tech Info blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use
Return to English
Arabic
Chinese Simplified
Chinese Traditional
French
German
Italian
Japanese
Korean
Portuguese
Russian
Spanish