Q

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:

@IsNotMember("[Admin]"; 
@UserRoles)

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

Dig deeper on JavaScript for Lotus Notes Domino

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.

0 comments

Oldest 

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:

SearchWinIT

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

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close