• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

Logging in Lotus Notes Application

I want to add logging capabilities in my Lotus Notes application. Basically I want to be able to log who make the change, when the change is made, and what field(s) is/are changed in a document. What is the best way to do this. I am thinking to also add this at the end of each document so the user knows who make the changes. Is this a good idea?
0
coronoahcoro
Asked:
coronoahcoro
  • 5
1 Solution
 
Sam654Commented:
Use LotusScript. I've done this before years ago, can't remember the method I used exactly, but what springs to mind now is to create a copy of the document when it's put in edit mode and then when the document is saved, compare the copy to see what's changed and make your list.
0
 
umeliCommented:
Hi
here is an example of how to implement it http://www.openntf.org/projects/codebin/codebin.nsf/0/71E930683C3401A3C1256F2F00611BAA

Another method is to use the notes versioning. It's in the forms properties, first tab: versioning.
0
 
coronoahcoroAuthor Commented:
How can I import the script library? I am in the designer and only have 'New Script Library' button. When I click File, I do not see an import function
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
coronoahcoroAuthor Commented:
@umeli: have you tried to use the class? I followed the instruction and able to generate the history when a document is created the first time but not any of the changes.

And I do not understand why the code is placed on the PostEvent area. I still cannot make sense how the code is actually working.
0
 
coronoahcoroAuthor Commented:
In the end I wrote some codes in the PostOpen and QuerySave to make the comparison and log the changes.
0
 
coronoahcoroAuthor Commented:
Find my own solution
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now