may help you . No, you don't need to "Publish" it. But you do need to find an old book on Lotus Notes development and read about templates. Since you state that you are new to Lotus Notes, you should not be attempting anything without having at least read one book to learn the basics about something that has been around for more than 25 years. (And not just about templates!)
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
Lotus Notes : Insert date value in Lotus Notes form using java agent
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