Howto: Open a doc from another doc?

Discussion in 'Lotus Notes Programming' started by Jens, Feb 18, 2005.

  1. Jens

    Jens Guest

    Hi Guru’s

    Is there a way to open a document from another document using
    @functions? Say, I'm in DocA (it doesn’t matter if the document is in
    read or edit mode) and by pressing a button I want to open DocB. No
    problem when using LS, but how to do this using @Func?

    @Command([OpenDocument];0; UNID) is only working from a view and that
    view must contain the document I want to open, so this way is a NoGo :-|

    br
    Jens
     
    Jens, Feb 18, 2005
    #1
    1. Advertisements

  2. Jens

    frank Guest

    although i'm not a guru, let me suggest:
    open a Notes-URL could be the way to avoid opening explicitly a view.
    Build the url
    notes://server/path/database.nsf/view/UNID?OpenDocument

    The Notes document with 'unid' has to be in the view.
    @URLOpen(theURL) opens the document in a client window.

    best regards
    Frank
    --
     
    frank, Feb 19, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.