- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2020 02:36 PM
Hello Community
Is there any way to remove attachment activity from Ticket Conversations widget?
Screenshot attached below.
Any leads appreciated.
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2020 01:29 AM
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
That should work, do let me know if you face issues.
Thanks,
Sai Gattu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2020 01:29 AM
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
That should work, do let me know if you face issues.
Thanks,
Sai Gattu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2020 07:01 AM
Thanks Sai. This is working as needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2020 02:17 AM
Hi Prateek
You can try this
When removing an attachment from "Ticket Attachments" in the Service Portal, the activity "Ticket Conversations" is not refreshed.
Steps to Reproduce
- Submit a catalog request in Service Portal
- Navigate to Ticket Form and attach a file via the clipper icon
- Remove the attachment in "Attachments"
Expected behavior: The attachment is removed from the activity in "Ticket Conversation"
Please mark my answer correct and helpful , If this helps you in any way thanks in advance
Saurabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2021 01:51 PM
Hi