Q
Problem solve Get help with specific problems with your technologies, process and projects.

Display random tip on home page

I would like to display a random tip every time the Home page is loaded. I would also like to format it fontwise and size and place it at a particular location on the page. Can you give me a little help with this?
The good news is that this is fairly simple. While there are numerous ways to do, I have that is probably easiest to use a simple LotusScript agent in conjunction with the WebQueryOpen event of a form to do this. Put a field on the form that is computed for display and self-referencing, let's call it d_Tip. Then write a simple LS agent that based on the number of tips in the database (let's call this number "n"), generates a random number between one and "n". Then have the agent generate the HTML code to display the tip with the appropriate formatting, and write the output to the d_Tip field .This creates a very extensible solution.

Dig Deeper on Lotus Notes Domino Administration Tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchDataCenter

SearchContentManagement

Close