Ask the Expert

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.

This was first published in January 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: