Skip to main content
BlueMix free trial
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: edit history...anyone tried this method?
Kevin Pettitt 7.Apr.07 12:50 AM a Web browser
Domino Designer All Releases All Platforms


Chris's approach is quite innovative and certainly ideal if a more complete and water-tight audit trail is your goal. However, since you seem to be aiming for a more "traditional" list of who changed what when, I would highly recommend Michael Woehrer's "History Class" posted on the OpenNTF code bin (here: http://www.openntf.org/Projects/codebin/codebin.nsf/CodeSearch/71E930683C3401A3C1256F2F00611BAA).

The approach taken is to define a static array of field names and corresponding field labels in the PostOpen, and then use some other Lotusscript trickery to capture any changes in just those fields during that edit session. If you change a specific field multiple times, saving each time, only the final value will appear in the audit trail.

It works very well in the form demonstrated in the download database, but I wanted to be able to use a configuration document for each form to define which fields to track, rather than hard code the arrays element by element on the form itself. So I modified the code accordingly and encapsulated all of the form code into a subform that can be dropped on any form and "just work". If you'd like that code email me at kevin dot pettitt AT g mail dot com.

I will also be posting the code as part of a much larger OpenNTF project called "SuperNTF", so for those of you reading this in the future, you can check there as well,

-Kevin
www.lotusguru.com




edit history...anyone tried this me... (Matt Smith 6.Apr.07)
. . RE: edit history...anyone tried thi... (Andrei Kouvchin... 7.Apr.07)
. . RE: edit history...anyone tried thi... (Chris Doig 6.Apr.07)
. . RE: edit history...anyone tried thi... (Kevin Pettitt 7.Apr.07)
. . RE: edit history...anyone tried thi... (Jon Drake 9.Apr.07)
. . RE: edit history...anyone tried thi... (Simon Mottram 9.Apr.07)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite