- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:33 PM
Does anyone know how to add make a custom attachment button widget work on the service portal for the service catalog?
In Helsinki, this worked fine:
<a href="javascript:void(0)" class="panel-button sp-attachment-add" onclick="jQuery('#attachment_add').click();">
<span class="glyphicon glyphicon-paperclip"></span>
</a>
In Jakarta patch 6, the button no longer responds (it does nothing). Can anyone help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:57 PM
Check out the widget I've posted on ServicePortal.io, there I have an example of a custom widget that triggers the attachment.
https://serviceportal.io/downloads/require-attachments/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:49 PM
I've tried <sp-attachment-button> but it does nothing too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:56 PM
does something need to be injected to use <sp-attachment-handler>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 12:57 PM
Check out the widget I've posted on ServicePortal.io, there I have an example of a custom widget that triggers the attachment.
https://serviceportal.io/downloads/require-attachments/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2018 01:00 PM
So all of that is necessary in a widget now?
Talk about backwards progress...
Any insight on <sn-attachment-button> and what it does?