- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2017 01:22 PM
Hi, I'm currently using SweetAlert which is available from Share as an Update Set from:
SweetAlert 2 is now available from Share:
it has a few extra features I'd like to use, just can't get it working in ServiceNow
Any advice appreciated,
Regards,
Paul.
Regards
Paul
Solved! Go to Solution.
- 6,570 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2019 01:16 AM
Hi jralph
I now have it all working in both London and Madrid.
The Update Set I've used is v2.3 which is available form Share here:
No extra config was required just installed the Update Set and works a treat. Finally I can use Question marks 🙂 Some of the new features are great, a big improvement on Sweet 1
I've only used it in Chrome so if you are using it in IE11 you may have issues according to the comments from other on the Share page.
You will also find the resources here useful: https://sweetalert2.github.io/
It comes with a great sample table as well:
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 02:40 AM
Hi I have recently implemented this and worked great in native UI. However I am having issues using this in Service Portal. I can see the update set automatically added the widget depencies but still no luck. I even added the JS CDN url as mentioned in the article below but still no joy. Would anyone know what I may be missing? Greatly appreciate any help. Thanks - Regina
https://community.servicenow.com/community?id=community_question&sys_id=db44cf29dbd8dbc01dcaf3231f96191d

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2020 03:00 AM
Hi Guys ,
Sweet Alerts is fabulous ! Is there a way to get it working on Service Portal as well ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2020 03:42 AM
Yes we have it fully working, just make sure you have it defined in the dependencies on each widget that uses Sweetalert.
For defining dependencies this is a great article: https://community.servicenow.com/community?id=community_article&sys_id=78cb624fdb5edbc0fc5b7a9e0f961...
See post above by reginabautista which lists the exact entries required for Sweetalert
Regards
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2020 07:14 AM
Hi Paul ,
Works cool now ! thank you.
Instead of adding UI script on the widget as a dependency , I added the UI script as 'JS includes' on the sp_theme record of your portal .
Thanks
Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2021 11:39 AM
Can we add a vertical scroll bar to the sweet alerts?