Hi All,
We a have custom module and we want to get audit like when was it used and by which user. Is it possible using LAPI and store the audit in dauditnew Table.
We have LES 9.7.0.
Thanks,
Ankur
The traditional LAPI code with which one programs are easy to use discrete API calls.For e.g when one uses AddDocument it will call creating node and creating version.This will get recorded in audit if those events were audited.LAPI can be extended via oscript,if that is the case then the programmer is responsible to add any specific event auditing.If you do WantSummaryTimings=true you will see a very familar lapi signature of functions that get executed.You will be able to then deduce the series of events as well.If a document is added in livelink and if document add is audited then if you add it from the gui or program it willl be in dauditnew as almost undistinguishable.Sometimes programmers may add it to the description saying something like this got added by lapi ,but just as a best practice.
If you had added a custom lapi function (this is OSCRIPT that I am talking about) then you should use oscript to create a new event or use a event that is already available if auditing is important for you.