Thus, the navigator frame of the site's frameset will vary depending on the database Role of the currently attached user.
Here's what to do (steps indicated by the '-' symbol):
-Configure the database to force authentication, so it can determine associated rights and Roles for each specific user. - Create two (or more) forms with appropriate navigator links, each dependent on the role of the authentic user; i.e. Techie_TOPNav_Form (for MIS personnel) and say NonTechie_TOPNavForm (for Sales personnel) - Create another form called WebLaunch_Form. This form will contain both a) QUERY_STRING and b) $$HTMLHEAD field a) The content of the computed for display QUERY_STRING field is as follows: REM "This is a CGI variable field automatically populated by the browser with a value from its URL address"; QUERY_STRING b) The content of the computed for display $$HTMLHEAD field is as follows: REM "http://<IP Address>/<directory>/dBase.nsf - represent the IP Address/DNS name of the Domino server and the directory path to the database."; @If(
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
@IsMember( "[TechnicalRole]"; @UserRoles ) | @UserRoles =
"[TechnicalRole]";
@Do( "[<FRAMESET FRAMEBORDER=0 BORDER=0 BORDERCOLOR='FFEFCE'
ROWS='105,592'> <FRAME FRAMEBORDER=0 SCROLLING=no
NAME='NavFrame' SRC='http://<IP
Address>/<directory>/dBase.nsf/Techie_TOPNav_Form?OpenForm&Ba
seTarget=MainFrame'> <FRAME FRAMEBORDER=0 NAME='MainFrame'
SRC='/prodmkt/pmrt.nsf/View/" + @Right( Query_String; "&" ) +
"?OpenDocument'> </FRAMESET>]" );
@Do( "[<FRAMESET FRAMEBORDER=0 BORDER=0 BORDERCOLOR='FFEFCE'
ROWS='105,592'> <FRAME FRAMEBORDER=0 SCROLLING=no
NAME='NavFrame' SRC='http://<IP
Address>/<directory>/dBase.nsf/NonTechie_TOPNav_Form?OpenForm
&BaseTarget=MainFrame'> <FRAME FRAMEBORDER=0 NAME='MainFrame'
SRC='/prodmkt/pmrt.nsf/View/" + @Right( Query_String; "&" ) +
"?OpenDocument'> </FRAMESET>]" ) )
- Create a document using this WebLaunch_Form form.
- Label this document with an additional field such that it is the
first document list in a specific view
- Configure the properties of the database, such that the 'Opened in a
browser' option is selected as:
'Launch first document in view' and reference the view in which the
WebLaunch_Form document resides, as in the previous step above
- Any e-mails then dispatch to personnel, should contain the URL to various
documents with the following URL structure:
http://<IP Address>/<directory>/dBase.nsf?opendatabase&<DocumentID>
NB: <DocumentID> is the Universal Document ID of the referenced document to be accessed
When the user clicks the URL on the e-mail, the frameset as referenced in the
WebLaunch_Form document via the database properties is opened in the user's
browser. This WebLaunch_Form document obtains reference to the e-mail's
referenced document in the e-mail via the Query_String (parsed from the URL
address) and is then opened in the 'MainFrame' frame part of the frameset.
This was first published in April 2001