Bookmark opening redirect embedded frameset based on Reg value

405 pts.
Tags:
Bookmark.nsf
Formula Language
LotusScript
We have Bookmark set as the default opening page in Notes. What I'm trying to do is redirect the embedded frameset -Welcome- frameset depending on the users current location. So in the db opening script I am writing to the registery the users current location. If the location is not Office I am redirecting the embedded frameset. REG Formula I'm using: sLocation:=@RegQueryValue("HKEY_CURRENT_USER"; "Software\Notes\bookmark\location"; "current_location"); @If(@Contains(sLocation;"Office");"-OfficeFrameset-";"HP2") -OfficeFrameset- is a web page, Intranet and HP2 is a standard Notes client page. They are both framesets embedded within a master parent frameset. This formula is the frames "formula for name of named element" This all works as it should except the frameset is not redirected until the next time I open Notes or reload the window. I thought that by using the Db script Initialise and or Postopen event it would work. Has anyone any ideas on how to get this working?
ASKED: April 3, 2008  9:09 AM
UPDATED: May 13, 2008  5:23 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

to have a database opening on different framesets depending on the user the best is to create a one frame frameset as the opening frame set, and evaluate the only frame content as a computed named element.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Forgot Password

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

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

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

Thanks! We'll email you when relevant content is added and updated.

Following