- 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,426 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
06-16-2017 06:12 AM
You should be able to replace the SweetAlert 1.0 UI Scripts and Stylesheets with the SweetAlert2 ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2017 08:57 AM
Hi Justin,
Thanks for the reply.
That is what I thought, sounds easy, but can't get it working. Unfortunately there isn't a nice Update et for SweetAlert 2.
Installing SweetAlerts v 1 using the update set from Share creates the following ServiceNow components:
- Style Sheet - SweetAlerts.css
- UI Script - SweetAlerts-min (which contains the javascript)
- UI Script globalsweetalerts (which is global and points back to the css (sys_id) and the javascript library in SweetAlerts-min)
so I copied the files down from GitHub and manually updated ServiceNow replacing the script in SweetAlerts-min with the new script and updated the css with the new text, and not working
Anyone successfully got this working?
Regards
Paul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2017 10:02 AM
Can you post those files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2017 10:47 AM
It's now up on Share, packaged up and ready to go
Thanks for taking the time Matt.
Regards
Paul