SnTT: How can you tell if a view is used for soft deletions?

October 30, 2008 – 8:07 am

A Lotus Notes® database can be enabled to use soft deletions. This means that when a user deletes a document, it is moved to a special view for a period of time before it is actually deleted.

You create a view containing soft deletions by specifying its type as being “Shared, contains deleted documents” in the Create View dialog box. However, once created, there is no indication in Lotus Domino® Designer that the view has this purpose. How can you identify what views in a database are used for soft deletions?

A view used for soft deletions will have a $Flags value of “l” (lower case L). You can see this by right-clicking the view in Domino Designer and choosing Design Properties. Click the Design tab (third from left) and locate the $Flags field.

This and other $Flags values are undocumented and may change without notice.

Related posts:

  1. Folder has been damaged. Please close and reopen database to have it repaired
  2. SnTT: Track delayed adminp requests
  3. SnTT: Is database design hidden (Notes API Solution)
  4. More (Yet) Undocumented Database Properties
  5. SnTT: View Logging – What is it?

  1. 3 Responses to “SnTT: How can you tell if a view is used for soft deletions?”

  2. eine dumme Frage?
    wie kann ich “contains deleted documents” auswählen?

    Gruß
    Christian

    By Christian on Oct 30, 2008

  3. Hi Ulrich,

    The $Flags are documented in the C API Toolkit in a file called stdnames.h and I don’t think they change much, if ever.

    #define DESIGN_FLAG_DELETED_DOCS ‘l’ /* VIEW: Indicates that a view is a deleted documents view */

    http://www14.software.ibm.com/webapp/download/nochargesearch.jsp?k=ALL&S_TACT=104CBW71&status=Active&q=Lotus+%22C+API

    By Keith Smillie on Oct 30, 2008

  4. @Christian: Über den Ansichtstyp.

    By Ulrich Krause on Oct 30, 2008

Sorry, comments for this entry are closed at this time.