- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2019 01:20 PM
Hello,
I want to hide the box to add comments on an incident from Service Portal if any incident state is resolved or closed.
Please let me know how to achieve this.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2019 07:51 PM
Hi Arnab,
You can definitely do this by modifying the HTML script and server side script of your widget . (OOB Widget Name: Ticket Conversations). here are the steps:
1) Open your server side code and write code like this there:
Note : Change the value of the state to reflect the value of CLosed/Resolved in your instance. I am setting writable to false and then using that in HTML code to use ng-if
2) Open your HTML code and do the following :
Once you do this and change the state to Resolved then you will see screen like this :
Hit me up if you have any questions. beware this widget will affect other functionalities too. If you are using the same widget for Change, Requests then it will hide the conversations from that also. Narrow it down to only incidents if you want that way. Else you should be good to go man.
Please mark this answer as correct/helpful if this solves your problem.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2019 07:51 PM
Hi Arnab,
You can definitely do this by modifying the HTML script and server side script of your widget . (OOB Widget Name: Ticket Conversations). here are the steps:
1) Open your server side code and write code like this there:
Note : Change the value of the state to reflect the value of CLosed/Resolved in your instance. I am setting writable to false and then using that in HTML code to use ng-if
2) Open your HTML code and do the following :
Once you do this and change the state to Resolved then you will see screen like this :
Hit me up if you have any questions. beware this widget will affect other functionalities too. If you are using the same widget for Change, Requests then it will hide the conversations from that also. Narrow it down to only incidents if you want that way. Else you should be good to go man.
Please mark this answer as correct/helpful if this solves your problem.