Jul 21

Open Audit 1.0.0

I have finally released Open Audit. It only took me 2 months to get it out of beta but better late the never. Here are the features with Open Audit 1.0.0
  • Configurable audit key
  • Field filter and field exclusion filter, with wildcards
  • Field descriptions to assign more meaningful names
  • Retention based on days or number of versions
  • External audit database or current database
  • Backend audit class
  • Retention agent
I did not get a chance to implement the Java class yet but I will start working on it soon.  The screencast for Open Audit is structured a little different than the Toolbar Functions Screencast but hopefully they both will server the same purpose of helping you understand the application and how to use them.

So with 2 screencast done, should I continue making them?  Are they helpful?  Any recommendations for improvements?
Jun 14

Session.DocumentContext something isn't right

If you ran the following code in the Web Query Save agent that was assigned to a form with a subject field. The original value of subject was "Truck" and the new value entered on the web was "Car". The Web Query Save agent code was:
Dim Session As New NotesSession
Dim docBefore As NotesDocument
Dim documentContext As NotesDocument
Dim docAfter As NotesDocument

Set docBefore = Session.CurrentDatabase.getDocumentByUNID( "f02506889e2d5cfc8625712f001b02f9" )
Msgbox "Before: " +
docBefore.subject(0) Set documentContext = Session.DocumentContext
Msgbox "Context: " + documentContext.subject(0)
Set docAfter = Session.CurrentDatabase.getDocumentByUNID( "f02506889e2d5cfc8625712f001b02f9" )
Msgbox "After:" +
docAfter.subject(0)
I was expecting to see:
Before: Truck
Context: Car
After: Truck

What I saw was:
Before: Truck
Context: Car
After: Truck

Domino seems to read the document from the database until the DocumentContext is used at which the document is read from memory where the changes are allready made. This will make my job capturing what has change for Open Audit a litte hard, thus take a little more time.
May 25

Open Audit 1.0.0 Beta 1

Collage of configuration options I have created my second openNTF project which will allow developers to create audit documents when field changes.  All configuration will be controlled through a configuration document for a given form.  Open Audit is currently in beta, I am looking for some feed back to see if this will be useful for developers before I continue to develop the rest of the tool.  Currently on the Notes UI has been implemented, which is the toughest part (just my opinion).

Here is where Open Audit is at as of 1.0.0 Beta 1
New Features
  • Configurable audit key
  • Field filter and field exclusion filter, with wildcards
  • Field descriptions to assign more meaningful names
  • Retention based on days or number of versions
  • External audit database or current database
Not Implemented
  • Backend audit class
  • Java audit class
  • Retention agent