Reputation: 267
I have both notes native apps and Xpages apps. When I tried to open Xpages app from Notes Browser Plugin workspace, it opened just notes native view(like basic client). I changed launch option like below. Both didn't work.
Can I open app as Xpage when I'm using Notes Browser Plugin?
Upvotes: 2
Views: 158
Reputation: 3524
As Paul writes: if you want XPiNC, then you can't.
We use short trick to launch XPages application in browser even from workspace. Use this PostOpen database script:
Sub Postopen(Source As Notesuidatabase)
On Error GoTo errHandler
Dim ws As New NotesUIWorkspace
Dim url As String
url = ... ' use some parameter to get application url (profile?)
If url = "" Then url = "https://your base web url/" + Replace( Source.Database.FilePath, "\\", "/" )
ws.Urlopen url
Source.Close
Exit Sub
errHandler:
Print Erl, Error
Exit Sub
End Sub
This will open XPages application from basic client.
Disclaimer: PostOpen event is skipped in case user follows a doclink or uses "Application/Goto" to open specific view.
Upvotes: 2
Reputation: 15729
Notes browser plugin is effectively the basic client. The basic client can't display composite applications or XPiNC applications, so the Notes settings won't work. And because the browser plugin is effectively a wrapper for the basic client, the "When opened in browser" option is not used, because it's in the basic client wrapped within the client.
One option is to use another "workspace" like this project on OpenNTF http://openntf.org/main.nsf/project.xsp?r=project/XPages%20Application%20Catalog.
Upvotes: 3