How to throw a custom event and record in audit log ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How to throw a custom event and record in audit log ?
We have a custom utility to download the PDF representations. The usage of the tool must he captured and stored in Windchill audit record.
For the usage of the tool, a custom event must be emitted and the details must be recorded in the audit log table in windchill
Any suggestions ?
Thanks,
Srikanth
- Labels:
-
General Customization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I think we need to do two things here.
1. Create custom events. Follow link for the same.
2. Try adding this custom events in config audit file.
Curious to know the results. Thanks!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This should be no problem to do.
Is there anything special you want in the Audit Record or just the standard stuff?
Maybe something like the download was initiated using <custom utility name> (or whatever)?
I have this working.
I'm writing all the standard stuff to the the audit record plus:
- the name of the utility used to do the download
- the role Secondary
- the filename that was download
Can you post your code here or in a private message if you refer or just send it to me directly to windchill.developer@yahoo.com
David
