Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can LAPI help to add a new event into the audit of an object ? 2

Status
Not open for further replies.

smallredville

Programmer
Aug 18, 2008
115
SG
Hi All,

Through this post, I would like to check whether it is possible to use LAPI to add a new event into the audit of an object?

I understand that in oscript, there is function call :
$LLIAPI.AuditSubSystem.Audit( \
$AuditSendToMeet, \
prgCtx, \
node_copy, \
node_copy.pSubType, \
Undefined, \
forums, \
service \
)

Does LAPI has the functionality like above?

I am attaching pic for a clear pic of what I mean by saying "adding event". (Please see attached)

I hope someone who has idea about this, can share with me on this forum.

Many thanks in advance,
smallredville
 
Anything in lapi can be constructed using your own api call.It involves creating the api call and the corresponding oscript call.I am guessing your qn is whether or not OT produced lapi code base has what you are looking for and I am almost certain there ain't.For the methods to create your own api look in the communities developer area on how to create your own api article.While I am writing this let me re-iterate that LAPI will not get any new additions from OT developers as they are told to embrace Enterprise web services and Enterprise Library services,so if you are doing something in oscript I would use EWS to do your intended changes.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008
 
If you need to create you own LAPI API then see as AppNair says the push is for Web Services rather than LAPI going forward.

LAPI does not currently expose an "Audit" method, instead the methods that you call, such as "Add Document" etc will handle the Auditing for you within their OScript interface.

As such you would need to either :

1. Update the OScript back end for the LAPI function you are calling and add the extra auditing you need
2. Create a new API using the example above to expose the Audit system to external users.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Hi Ggriffit & Appnair,

I would like to thank both of you for the great inputs.

Thank You,
smallredville
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top