it helps some times You need to assign a variable, as your Text is overwritten in each For- Loop and only the last element is returned. A working example would be (although the usage of _attachment_count and @Attachments in this code is not necessary, as both have the same value):
To fix the issue you can do My requirement is to get the All the Contact details od one user from Lotus Notes. I am using Notes API. I want the code sample for getting contact details. , Out of my head...
Database db = session.getDatabase("names.nsf");
NotesViewEntryCollection nvec = db.getView("People").getAllEntries();
doc = nvec.getNthEntry(i).getDocument();
// get value of doc here
Powershell & Lotus Notes - change output of While Loop from Text to XML Output
To fix the issue you can do myDate is a String object. The replaceItemValue method does not know that you have put a date into that String, therefore it treats it as ordinary text. If uploadDBDate is a DateTime field, that causes a type mismatch during the computeWithForm operation. The Lotus classes for Java include a DateTime class. The Session class has a createDateTime method that you pass a "mm/dd/yyyy" string and return a DateTime object. Then you can pass that DateTime object into replaceItemValue instead of passing in myDate.
lotus notes/ibm notes/domino 9 - how make emails read/unread programmatically in lotus script?
wish help you to fix your issue To access the flag: flag = notesDocument.GetRead([username] ) Returns true if the current document has been read, otherwise false. Note This method is new with Release 8.5.
Access to content of Lotus Notes database without Lotus Notes software installed