Openframeset in script from another db stpped working, solved bij adding extra set ws = new notesuiworkspace

I use this code to open a frameset from another database, worked from r6 to r8.0.2. But now the frameset is unknown.Db to open is “FrameDb”, frameset to open is “Frameset”.

Set FrameDb = New NotesDatabase( db.server,Filename$ )

Set DummyView = FrameDb.GetView(“(DummyView)”)

Set DummyDoc = DummyView.GetFirstDocument

Set DummyUIDoc = WS.Editdocument(False, DummyDoc)

Call ws.OpenFrameSet(“Frameset”)

Call DummyUIDoc.Close

solved: added an aextra set ws = new notesuiworkspace before the call ws.openframeset

Subject: Thanks for this solution

I also was struggling with this issue, Get uidocument in Notesuiworkspace, create new document in other database, open page in current database. All accessed in an agent. Error: page not found. With your solution it got it working!

Koos