Hi designers,
this is a 2nd posting - the first was before xmas … and everybody has “more important” things to do than reading iris forum… 
I am programming sth for a welcome page:
Open a db’s view in a 2 column frameset.
that view “refreshes” to a form … in the same frame.
To achieve this I have to know the frame name of the frame the view is in:
(snippet from the view’s postopen):
=============================
Dim workspace As New NotesUIWorkspace
Dim db As NotesDatabase
Dim session As New NotesSession
Set db = session.CurrentDatabase
workspace.SetTargetFrame(“split2main”) '— this is the (hardcoded) frame name, got it from the bookmark ntf
Call workspace.ComposeDocument(db.Server, db.FilePath, “HVTeaser”,False )
=============================
I really do not like to place the SetTargetFrame hardcoded there - but I do not find a way to get the “current frame name”. Or does Notes have a reserved word for TargetFrame=Sameframe, like the “_self” for the browser?
Thanks for any help in advance,
Uwe
Subject: RE: is there a chance to get the name of the current frame (in LS)?
If _self doesn’t work, I don’t think there is a way. However, I don’t understand why you want to display a view and then immediately navigate away from it. Why not just design the frameset to point to the form?
Subject: RE: is there a chance to get the name of the current frame (in LS)?
Hi Andre,
thanks for your quick reply
I used this way because created a “company welcome page” and there I only have the choice of application views/folders.
I could open the form in that welcome page Frameset via a notesURL - but my tests were quite disappointing, notes hangs, crashes …
Or do you see another way to deploy a company welcome page (inbox plus intranet news)?
Uwe
Subject: RE: is there a chance to get the name of the current frame (in LS)?
I would’ve thought a Notes URL would work just fine, too. I don’t know of any crashes that would be caused by that. Of course, it could be there’s something on your form that’s causing a problem when you combine it with opening at the same time as the frameset, but I don’t know offhand what that might be.
Subject: it is not a frameset in a database …
… but a Welcome Page Frameset. Created with the admin in a companybookmark.nsf and distributed via Policy Desktop setting.
It is identical to the setup of a personal welcome page, using frames. There I can only choose views/folders (or urls).
Uwe