Manage Learn to apply best practices and optimize your operations.

Create a personalized greeting for Lotus Notes database users

Create a personalized note using LotusScript code and a PostOpen event to greet Lotus Notes database users by first name and time of day upon logging on.

By using LotusScript code and the Database Script PostOpen event, you can generate a personalized greeting for your Lotus Notes database users. Upon logging on, users will be greeted by first name and time of day.

Related resources from
Tutorial: 30 LotusScript tips

LotusScript Learning Guide

LotusScript Reference Center

To begin, copy and paste the following code into the PostOpen event of the Lotus Notes database you would like to contain the greeting.

Note: This database script takes a while to update. Be sure to save and close the script. You must re-open your Lotus Notes database for the changes to take effect.

LotusScript for first name greeting
(Click on code for enlarged view and script download.)

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

This tip was submitted to the tip library by member Gary Cronin. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on LotusScript



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...