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

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...