How to remove worknotes comments in widget

subhani6
Tera Contributor

Hi All,

In the incident at the bottom we have worknotes and additional comments (for comment parts)what we will give the info,in the comment section will be seen in comment section of portal.now my requirement is i should see only additional comment part in the portal.i dont need the worknotes(comments)  to be seen in the portal.Can any one help me on this?

4 REPLIES 4

Hemanth M1
Giga Sage
Giga Sage

Hi Subhani,

you will have adjust the widget code, if you are the admin

--->press ctr+right on the page where you see both additional comments and work notes

--->open the widget in editor, if the widget is editable look for the code where it renders work notes and comment that part

-----> if the widget is read only clone the widget, edit and bring the edited widget back to same page replacing older one

 

Please let us know if you need any additional info.

 

 Mark it as correct or helpful if it helps.

 



/Hemanth  

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Jaspal Singh
Mega Patron
Mega Patron

Hi Subhani,

 

You can apply an ACL of type Read on Incident table's Worknotes field so as to make it visible only to required set of user.

 

Willem
Giga Sage
Giga Sage

Hi Subhani,

Default behaviour is it will show the user that is logged in the portal the Worknotes if they have rights to it. So as an admin for example I see the Worknotes:

find_real_file.png

 

But as an end user I do not:

find_real_file.png

Here no worknotes only Comments.

 

And in the backend as admin for the same ticket:

find_real_file.png

 

I would suggest not changing this behaviour and look into the rights of the user. If you do not want them to view worknotes, secure worknotes. Otherwise they would still see it in the backend for example.

The default ACL for worknotes looks like this:

find_real_file.png

You can add a condition that for example a different role is required or the user must be in the Assignment group. Let me know if you need help with that.

 

Please mark as Helpfull👍 and Correct if you think it is! 🙂

Kind regards,

Willem

@subhani is this issue resolved? If so, can you mark answer as Helpful and Correct? This will close the thread.

If not, let me know how we can help 🙂

Kind regards,

Willem