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

Problems closing a page with a JavaScript function

I am presently working on a new Lotus Notes project using version 6.5. I'm using Web pages, not Lotus Notes client. I'm having difficulty closing a page with a JavaScript function and hiding some page elements depending access control of the logon user. Do you have any pointers?
Closing a Web page using JavaScript -- you could use window.close(0). When hiding elements on a Page (which is a design element in a Lotus Notes database), I would have a look at the property box. Say, if you want to hide some text, mark the text, open the property box (Edit-> Properties), then switch to tab number five, it will say "Hide paragraph from" at the top of this tab.

Click "Hide paragraph if formula is true." Then fill in a formula in the formula window at the bottom of the tab. Here is an example:


This example will hide the text if the user does not have the [Admin] role in the ACL of the current database.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on JavaScript for Lotus Notes Domino

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




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