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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Thanks Kurt,
i think i will display all documents in my own gui and have the user select one there then.
Kind regards,
Higgipop