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 SearchDomino.com:
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 SearchDomino.com 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

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

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

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close