Enable audit recording for custom utility that downloads the PDF represenations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Labels:
-
API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
