Where is the listener of "sp.attachments.update"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello everyone,
Inside the Ticket Conversation widget's client script I see a $broadcast for "sp.attachments.update" but I can't seem to find any where that is listening on this event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hey @trangdan106,
The sp.attachments.update event is an OOTB broadcast that notifies the platform's internal attachment handler when attachments change—it's not meant to be caught by your custom widget's client script.
The listener is built into ServiceNow's framework-level attachment directives (like sp-attachment components) that manage file display and synchronization . These components automatically refresh when they receive this broadcast.
To trace it, use browser dev tools to search the page's Angular event listeners.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
what's your actual business requirement?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader