Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Customising the Event Type list on the Query Audit Log page
Simon_Morris_(simonmorris_-_(deleted))
Hi all,Is it possible to customise the contents of the Event Type drop down list on the Query Audit Log page so that it contains only the events that are set to be monitored rather than the full list?CheersSimon
Find more posts tagged with
Comments
Greg_Griffiths_(ggriffiths_-_(deleted))
This can be done quite easily, the simplest is simply to update LLIAPI-AuditSubsystem-GetNameToEventAssoc from the following :function Assoc GetNameToEventAssoc() Object event Assoc retVal for event in .GetItems() retVal.( event.fDisplayName ) = event end return retValendto the following :function Assoc GetNameToEventAssoc() Object event Assoc retVal for event in .GetItems() if (event.fEnabledToAudit) retVal.( event.fDisplayName ) = event end end return retValendor just use the attached patch
Greg_Griffiths_(ggriffiths_-_(deleted))
Just to add a caveat to my sample above, the change mentioned above will only populate the CURRENT selected Auditable events into the dropdown list, so if you change the Auditable events lists and turn one item off, it will NOT appear in the dropdown on the Query Audit Log screen.