Manage Learn to apply best practices and optimize your operations.

Change Web launch properties of a database

This tip describes how to alter the Web launch properties of a database.

Have you ever wanted to change a databases' Web launch properties from a browser or just from a LotusScript agent?

Well here is an easy to use LotusScript agent that allows you to do this.

You would call this agent via a link in your web page or a button. You could also create an agent to run on the last day of the month at mid night to change the web launch page to an appropriate page for the new month.

This is a simple script and can be modified to allow the Web user to change the Web launch option to any page that is in the database by passing in a query string.

For exapmple:

Dim session As New NotesSession
 Dim db As NotesDatabase
 Dim docIcon As NotesDocument
 Dim path As Variant
 Set db = session.CurrentDatabase
 Set docIcon = db.GetDocumentByID
 = "construction.html"
 docIcon.~$Flags = docIcon.~
$Flags(0) & "F"
 Call docIcon.Save(True, False) 
 path = Evaluate(|@LowerCase
 Print"["+path(0) + "/mypage?openpage]"
end sub


Dig Deeper on LotusScript

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...