405 pts.
 Bookmark opening redirect embedded frameset based on Reg value
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?

Software/Hardware used:
ASKED: April 3, 2008  9:09 AM
UPDATED: May 13, 2008  5:23 PM

Answer Wiki:
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.
Last Wiki Answer Submitted:  May 13, 2008  5:23 pm  by  TS7578   25 pts.
All Answer Wiki Contributors:  TS7578   25 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _