Menu

access selected document

higgipop
2007-05-29
2013-06-03
  • higgipop

    higgipop - 2007-05-29

    Hi,

    i'd like to access the document (mail) that is currently selected in the notes-client. I'm already able to read the database (working with the examples), but i dont have a clue how to say what document is selected.
    Any idear?

    Regards

     
    • Kurt Riede

      Kurt Riede - 2007-06-29

      Hello higgipop,

      a 'selected' document only has a sence in a context where selecting a document is possible, e.g. in a UI. But the Lotus Notes Java API is a backend API that doesn't know anything about the UI of the Notes client. UI classes are only available in Lotus script. The only exception is when implementing a Notes Agent in Java (also possible with domingo), that runs on 'selected documents', but such an agent must run inside of Lotus Notes. So when running outside of Lotus Notes, it is not possible to access the selected document.

      Hop this helps.

      Best regards

      Kurt

       
    • Nobody/Anonymous

      Thanks Kurt,
      i think i will display all documents in my own gui and have the user select one there then.
      Kind regards,
      Higgipop

       

Log in to post a comment.

MongoDB Logo MongoDB