Autor Thema: (C-API) Dokument anhand von note-ID öffnen (Verknüpfung kopieren)  (Gelesen 1815 mal)

Offline Micknick79

  • Frischling
  • *
  • Beiträge: 3
  • Ich liebe dieses Forum!

Hi there!

I have a problem with programming lotus notes with c api! I want to code a program, that get the e-mail-address from then sender of the e-mail, via the universalid, I get from a link i produced before.

I click with the right mouse button on an e-mail and select „make a link“. After that, the text which is in the clipboard is following:
__________________________________
Marc Power- test mail
<NDL>
<REPLICA C1256E43:004DCC6A>
<VIEW OF6C2EF04E:2A82398B-ON802569AA:004E66E4>
<NOTE OF1A4296C5:3FA14252-ONC1256E43:004E2251>
<REM>Datenbank Marc Power, Ansicht 'Inbox', Dokument 'test mail'</REM>
</NDL>

In my opinion I have to do this with this part:
<NOTE OF1A4296C5:3FA14252-ONC1256E43:004E2251>

But I don’t know, how I can open a document with this id.
Has anybody got an idea?????
If it’s possible it would be great if you send a little bit of sourcecode....

Nice greetings

Micknick79


Offline eknori

  • @Notes Preisträger
  • Moderator
  • Gold Platin u.s.w. member:)
  • *****
  • Beiträge: 11.730
  • Geschlecht: Männlich
I'd suggest to use C++ api;

LNSTATUS GetDocument( const NOTEID idnote, LNDocument *doc )

is the easiest way do get a Notes Document ba NOTEID

Ulrich
Egal wie tief man die Messlatte für den menschlichen Verstand auch ansetzt: jeden Tag kommt jemand und marschiert erhobenen Hauptes drunter her!

 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz