Das Profildokument kannst du so aktualisieren:
set proDoc = db.getProfileDocument("pd") ' gecachedes Doc
noteID = proDoc.noteID ' NoteID merken
delete proDoc ' Doc aus Speicher werfen und über die NoteID wieder holen
set proDoc = db.getDocumentById(noteID) ' gespeicherter Inhalt, allerdings kein "echtes" Profil
set tmpDoc = net NotesDocument(db) ' Zwischenspeicher
call proDoc .copyAllItems(tmpDoc)
delete proDoc ' das proDoc aus dem Speicher werfen, da es kein "echtes" Profil ist, weil es nicht mit getProfileDocument geholt wurde
set proDoc = db.getProfileDocument("pd") ' gecachedes Doc (mit alten Daten)
call tmpDoc.copyAllItems(proDoc) ' in tmpDoc ist der aktuelle Inhalt
proDoc.timestamp = now ' irgend ein Feld verändern
call proDoc.save(false, false) ' damit es gespeichert wird
zugegeben nicht sehr elegant. Man benötigt dies aber z.B. wenn man einen "reopen" beim Editieren eines Profils ausführt.
Gruß
Roland