Incident activity log Formatter and activity.xml, hide internal comments (work notes)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2018 02:13 AM
Hi,
The incident form Default view for the activity log section uses the formatter activity.xml.
This activity.xml is a black box, I cannot access the code or find any information on its structure. I need to restrict visibility of certain work notes in the activity log for a type of user. Is it possible for example to overwrite the database query sys_journal_field that is passed into the activity.xml? Does the activity.xml formatter use table [sys_journal_field]? Can this be achieved by creating a UI Macro, calling the activity.xml formatter and passing it the DB query?
I would appreciate some insight, or any suggestions on how restricting visibility of specific work notes (internal notes) for a type of user can be achieved.
Thanks
Rhiannone

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2018 02:17 AM
Hi,
you are right about the activity formatter. It is a black box, that you are not able to adjust/modify in any way. I'm not sure what you mean by the term "certain work notes" but what you can do is basically adjust ACLs on work_notes itself. This way you can restrict the visibility of all work notes on specific record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2022 08:34 PM
About your question,Is there a solution now?
I have a similar problem。