< Back

Document Subject: QueryDocumentDelete overrules Delete Rights
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#QueryDocDelOverride or http://A555F9/nn.nsf/ByAlias/QueryDocDelOverride

If you would like a user to be able to delete documents in a controlled way, but not by using the Notes Client in a view, selecting (all) documents then pressing the Delete button and then F9, then this is a useful tip.




If a user or groups has delete rights then they can cause havoc on a database by deleting documents by mistake. Using soft delete in R5 is one option, but another is to use the querydocumentdelete functionality.

This can be used to prevent users from deleting the documents in the conventional manner but will allow a lotuscript button to email the owner and then delete the document in a more controlled way, or move the document to an archive and then delete the document.