Confidential settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 05:35 AM - edited 03-10-2024 05:38 AM
Hello Community,
Hope you are doing well!
We received the requirement to display the 'user name' as 'anonymous' in the 'activities' for requested item form if requester select the 'confidential' field value as 'yes'. is there any solution without manipulating DOM. Please suggest.
eg.
Requester name and avatar should be display as anonymous.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 07:28 AM
No the activity macro is not visible to anyone, so you can't modify it and you'd be forced to do something on DOM side.
What is the exact requirement with the confidential option? If there are people who are not allowed to see the content, then instead you could have them work on task level and copy the comments and values on the main ticket to the task and inside the script that handles the copying, you can make the script impersonate a "Anonymized" user to post the commets as anonymized.
Not the ideal solution, but it's something relatively easy to do and if there's confidential information on a record, it makes sense to prevent unrelated users from accessing such record completely.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 08:18 AM
Hi @Weird,
Please find below requirement
Create new field confidential variable with two option ‘Yes’ and ‘no’ in catalog item form.
If requester selects yes, below field values should be visible as ‘anonymous’ in requested item form and same rule should be applied in activities of RITM as well.
-> Requester for
-> Opened by
-> Created by
Note: Same condition should be applied for list view as well.
Example:
@Alikutty A , @Chuck Tomasi ,@Pradeep Sharma @ Ankur Bawiskar Please help me for above requirement.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 12:40 PM
Yup, your options are very limited here. On portal side you could hide more information, but on core view you're limited heavily because you can't access the macro. You'd have to ask Servicenow directly for a solution if you can't use DOM manipulation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2024 07:55 AM
Hi,
Please find below requirement
Create new field confidential variable with two option ‘Yes’ and ‘no’ in catalog item form.
If requester selects yes, below field values should be visible as ‘anonymous’ in requested item form and same rule should be applied in activities of RITM as well.
-> Requester for
-> Opened by
-> Created by
Note: Same condition should be applied for list view as well.
Example: