How do I hide work notes only on Service Portal incidents and keep it in back-end ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 07:13 AM
Hello,
I am trying to hide work notes in the activity stream on an incident on the Service Portal so users cannot see these on the portal, they should however, still be visible in the backend when viewing an incident
What is the best way to achieve this?
Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 07:20 AM
Hi @mausser ,
not sure about the reason for hiding the work notes on the service portal. If you're worries about end users seeing them it should work the same in SP as it does in the standard ui where only users with the itil role see the work notes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 07:55 AM - edited 02-29-2024 07:56 AM
Hi,
You can create a onLoad client script with UI type as All or Service portal.
function onLoad(){
g_form.setMandatory('field', false); //if the field is mandatory otherwise can remove this line.
g_form.setVisible('field', false);
}
Please mark it helpful if I could help with your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 07:58 AM
Hi @mausser
Work notes are not for end user so nothing to work, may be provide some screenshot what your are referring.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************