Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
Ok, thanks for clarification. however in terms of priority, this might not be a top10 feature.
getDocumentByUNID throws an ERR 4091 if the document does not exist. It does not return Nothing.
And loading a document just to delete it takes more time than necessary. The C API has methods to delete a Note by note id and a bulk deletion method that takes an IDTable. The equivalent would be adding "removeDocumentByUNID" to NotesDatabase and a "delete" method to the NotesNoteCollection.
Currently there's only "remove" in NotesNoteCollection which just removes the note id from the collection/IDTable.
Two lines of code are too complicated ?
Set doc = db.GetDocumentByUNID( unid$ )
IF not doc IS NOTHING Call doc.remove (true)