We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Remove Attachment Activity on Service Portal

Prateek kumar
Giga Sage

Hello Community

Is there any way to remove attachment activity from Ticket Conversations widget?

Screenshot attached below.

find_real_file.png

Any leads appreciated.


Please mark my response as correct and helpful if it helped solved your question.
-Thanks
1 ACCEPTED SOLUTION

saigattu
Kilo Expert

Hey Prateek,

 

First clone the widget and add the below condition on line number 64 of HTML template

"ng-if="e.element != 'attachment'"

This how it looks after the change:

 <li class="timeline-item" ng-class="::{'timeline-inverted': e.user_sys_id == data.stream.user_sys_id} " ng-repeat="e in data.mergedEntries" ng-if="e.element != 'attachment'">

Below screenshot for reference

find_real_file.png

That should work, do let me know if you face issues.

 

Thanks,

Sai Gattu.

View solution in original post

5 REPLIES 5

vidhya_mouli
Tera Sage

Is it possible to do the same to Standard Ticket Tab?