Skip to main content
1-Visitor
Jul 31, 2018 6:08 AM UTC
Question

Enable audit recording for custom utility that downloads the PDF represenations

We have a custom utility using which we can download the PDF representations in bulk.

We are downloading the representation using the API  :

RepresentationHelper.service.getDefaultRepresentation()

 

We have enabled the audit logging for Download (READ_CONTENT) and View(VIEW) events  in the file configAudit.xml

We need to have this information logged in the audit report.

Is it possible accomplish this ?

 

 

Thanks,

Srikanth

4 replies

16-Pearl
Aug 1, 2018 9:17 AM UTC

Suggest to take a test for it. 

 

I think /wt.representation.ViewEvent/VIEW event will be called when user views the representation.

 

But I am not sure if the /wt.content.ContentServiceEvent/READ_CONTENT event will be called when customization utility to get representation. Thanks.

Translate
Sri1-VisitorAuthor
1-Visitor
Aug 1, 2018 9:56 AM UTC

Thanks for the response.

 

We tried with the API VisualizationHelper.getRepresentation()  to download the default representation. However we dont see any events recorded in the audit report.

 

Regards,

Sri

Translate
16-Pearl
Aug 9, 2018 3:21 AM UTC

So the  /wt.content.ContentServiceEvent/READ_CONTENT event  will not be invoked when downloading representation. The event seems to only for WTDocument content download action. I search many PTC materials and don't find presentation download event. Suggest to add customized code in download page code to record download times

 

 

Translate