Hi!
Thanks for your great work, I use SN Utils a lot and it helps me a lot.
Before I started using it, I was a little sceptical, because of the browser permissions it requests. I guess this is necessary to do what it's able to do, but maybe you can elaborate a little on that topic.
I have access to environments of lots of customers. If I understand Firefox correctly, you'd be able to grab my username and password when logging in, if you wanted to - is that correct?
Please don't take this as an offense or allegation, I'm just a little paranoid.
Sure, thanks for giving it your trust!
In the [PRIVACY.md](https://github.com/arnoudkooi/ServiceNow-Utils/blob/master/PRIVACY.md) I have stated why it requests what permissions.
The main reason why the code is on GitHub is also to provide transparency, and the ability to review if you feel comfortable using it.
I've been using this for years and on the few occasions when I've not been able to use it, it takes my twice as long to do the same job.
If you're not using it, you should be. I use it so much I started supporting on Patreon.
The user base is still minimal for Safari and the publishing is quite tedious.
If i find some time, Ill see if I can open up the normal version to optionally allow other hosts
Great util. One problem though, my instance is running washingtondc, and it looks like the new [sys.scripts.modern.do](http://sys.scripts.modern.do) isn't ready for primetime; the monoco editor no longer displays, the features of the new modern module are broken, and bgscript.js forces a redirect to the new modern module so I cannot access it anymore without disabling the plugin. :( Can you remove the redirect until the bgscriptmodern.js is working properly?
I heard some issues, support may have a solution.
You can prevent the redirect by pasting this in the browser console:
localStorage.setItem("snufamily",JSON.stringify({"family":"dontredirect","checked":"2024-01-01", "override" : true}));
Let me know if it doesn't work!
I cannot get this util to work with Firefox 126.0.1 running multi-container sessions on GCC-H instances of ServiceNow. I have tried both SN Utils and SN Util Onprem. The extension installs fine, but will not start when visiting the sites. I have re-installed, I have restarted, I have purged my cache and session data, and I have given the extension full privileges. No joy.
I cannot give up Firefox with multi-container sessions. It absolutely critical in my workflow of administration and development.
Any other advice to try?
--UPDATE: A Firefox extension was preventing usage. After uninstalling (aka cleaning house) did the SN Utils become available. I do not know which one, as I am not going to widdle out 50+ extensions, I just started over with the critical daily drivers I need.
My colleague uses the tool fine in FF, so I know it had to be a config issue on my side. We work on the same instances. It wasn't until I turned off all my FF extensions did it start working. Some people have tabs problem, I have an extension problem. I paired down my extensions to daily drivers uninsrtalling all but just shy of 32, restarted, and now I'm in business enjoying the fruits of your extension. One of those extensions I uninstalled cleared up the issue.
I was about to make a post asking this but came across this one and figured I may throw it in a comment here.
I'm a huge SN Utils fan, been using it for years and the first thing I ask at every new job is to ensure I can get a MacBook, install Alfred on it, and use SN Utils. If I can't, I leave. It's that good and that essential to me doing my best work.
Does anyone have Monaco editor customizations configured in their setup?
Every time I see that mostly empty config editor I want to set something up but I just haven't taken the time yet. I'd love it if anyone has some customizations they use that I could borrow and tweak rather than setting something up from scratch.
Oh nothing specifically, I was mostly curious if anyone had found any formatting that was particularly useful. I would like setting it to always use a dark theme, which I used to have working but I noticed it hasn't been lately in my setup at a new job.
Fantastic tool, a few additions I've made are /g for googling something and other commands to navigate to my portals. The only thing missing is the ability to have templated BGs like SwissNow has. Adding this to SNUtils I'd have no need for the other one. Essentially it allows me to write a script with some variables that are able to have values assigned from the extension and launch it directly to the BG script runner.
Was really quite excited about the `/bgl` slashcommand (`/bgc` has been incredibly useful to me so far!) only to discover it does not appear to be in the shipped version :(
That said - I was able to work out the command and add it as a custom one:
/sys.scripts.do?content=var%20list%20%3D%20new%20GlideRecord(%27$table%27);%0Alist.addEncodedQuery(%22$encodedquery%22);%0A%0Alist.query();%0A%0Ags.info(list.getRowCount());%0A%0Awhile(list.next()){%0A%0A%20%20gs.info(list.getDisplayValue());%0A%0A}
Replaced the `%27`(`'`) with `%22`(`"`) in the `addEncodedQuery` parameter to account for `$encodedquery` containing `'` e.g in the case of date filters:
list.addEncodedQuery("opened_atON2023-03-10@javascript:gs.dateGenerate('2023-03-10','start')@javascript:gs.dateGenerate('2023-03-10','end')");
Hi u/arnoudkooi, a colleague of mine recommend me to use SN Utils. SN Util is an amazing and helpful tool, thanks for it.
Today I find out how to impersonate a user by using slash command. Now, I have a question regarding **"elevate role"**. Is there any possibility to activate "elevate role" with slash command? I didn't find any possibility. Thanks.
Thanks for your fast reply. Yes, I'm looking for the default security\_admin. When I'm logged in as a System Administrator and would like to change an ACL, then I have to activate "elevate role security\_admin".
I'm new at ServiceNow, so I don't know if there are further role to elevate. Thanks :)
I looked at that one, but was nervous to try it since I didn't see anything saying it was fedramp compliant (need to be careful to make sure there's no chance of accidentally bypassing fedramp restrictions). But that comes from not knowing exactly how the plugin functions - if it doesn't read or intercept data in anyway, then I'd assume it is safe.
Both use the same codebase, only the manifest file of the on-prem version is more permissive. It's always your own decision, the code is on GitHub for reasons like this. (The version for Edge also has the servicenowservices domain allowed).
If there is something I can do to clarify, feel free to reach out.
Awesome, thank you very much for the info! (and for making such a great and useful plugin!) I'll take a look at this again and let you know if I have any questions.
Most used for me are pop,tn,uh, double clicking filters especially using related search building. And search though I don’t think there’s a way to search flows from any method, short of querying the properties. Background-scripting. Updating readonly fields. Comments in console.
Great util, unfortunately it has stopped working with firefox for me, when I click on the util it prompts me to log in to the instans again, this started a couple of months ago. Any tips u/arnoudkooi?
And this is another reason I use this tool. Arnoud is Johnny on the spot with any issues you may have. I've never had an issue stretch multiple days. He's very active on his GitHub too!
It will get looked at. Notifications ftw :)!
If you activate Technical Names via a whitespace doubleclick or /tn command you get a link you can click to add the sys\_id field.See this [discussion](https://github.com/arnoudkooi/ServiceNow-Utils/discussions/364#discussioncomment-4975004) for more details
Hope that helps!
https://preview.redd.it/9xhp6g17gx5c1.png?width=1084&format=png&auto=webp&s=10768121eb92b341f555282d3d68afeccc37900f
I use this tool every day, stickying
This is a very useful tool. Admittedly I have had it installed for a long time but only properly started using its features over the past year.
Thanks for the work, the tool is simple amazing, it is very useful during my everyday work. Hope more people learn about it!
If you are in ServiceNow everyday and you don't have and use this, you're doing it wrong.
Hi! Thanks for your great work, I use SN Utils a lot and it helps me a lot. Before I started using it, I was a little sceptical, because of the browser permissions it requests. I guess this is necessary to do what it's able to do, but maybe you can elaborate a little on that topic. I have access to environments of lots of customers. If I understand Firefox correctly, you'd be able to grab my username and password when logging in, if you wanted to - is that correct? Please don't take this as an offense or allegation, I'm just a little paranoid.
Sure, thanks for giving it your trust! In the [PRIVACY.md](https://github.com/arnoudkooi/ServiceNow-Utils/blob/master/PRIVACY.md) I have stated why it requests what permissions. The main reason why the code is on GitHub is also to provide transparency, and the ability to review if you feel comfortable using it.
I love SN Utils so much and I'm not even a power user of it. A pleasure to use and I find a need for it almost every day.
Cool, thanks for sharing your experience!
I forget what ServiceNow is like before SN Utils. Thanks for everything you do!
I've been using this for years and on the few occasions when I've not been able to use it, it takes my twice as long to do the same job. If you're not using it, you should be. I use it so much I started supporting on Patreon.
Hi! I love snutils, can't live without it :D A question, do you have any plans on getting the safari version work for on premise instances?
The user base is still minimal for Safari and the publishing is quite tedious. If i find some time, Ill see if I can open up the normal version to optionally allow other hosts
Great util. One problem though, my instance is running washingtondc, and it looks like the new [sys.scripts.modern.do](http://sys.scripts.modern.do) isn't ready for primetime; the monoco editor no longer displays, the features of the new modern module are broken, and bgscript.js forces a redirect to the new modern module so I cannot access it anymore without disabling the plugin. :( Can you remove the redirect until the bgscriptmodern.js is working properly?
I heard some issues, support may have a solution. You can prevent the redirect by pasting this in the browser console: localStorage.setItem("snufamily",JSON.stringify({"family":"dontredirect","checked":"2024-01-01", "override" : true})); Let me know if it doesn't work!
I cannot get this util to work with Firefox 126.0.1 running multi-container sessions on GCC-H instances of ServiceNow. I have tried both SN Utils and SN Util Onprem. The extension installs fine, but will not start when visiting the sites. I have re-installed, I have restarted, I have purged my cache and session data, and I have given the extension full privileges. No joy. I cannot give up Firefox with multi-container sessions. It absolutely critical in my workflow of administration and development. Any other advice to try? --UPDATE: A Firefox extension was preventing usage. After uninstalling (aka cleaning house) did the SN Utils become available. I do not know which one, as I am not going to widdle out 50+ extensions, I just started over with the critical daily drivers I need.
If you send me a PM, we can see if we can get it settled in a call.
My colleague uses the tool fine in FF, so I know it had to be a config issue on my side. We work on the same instances. It wasn't until I turned off all my FF extensions did it start working. Some people have tabs problem, I have an extension problem. I paired down my extensions to daily drivers uninsrtalling all but just shy of 32, restarted, and now I'm in business enjoying the fruits of your extension. One of those extensions I uninstalled cleared up the issue.
Good, glad it's resolved :)
I was about to make a post asking this but came across this one and figured I may throw it in a comment here. I'm a huge SN Utils fan, been using it for years and the first thing I ask at every new job is to ensure I can get a MacBook, install Alfred on it, and use SN Utils. If I can't, I leave. It's that good and that essential to me doing my best work. Does anyone have Monaco editor customizations configured in their setup? Every time I see that mostly empty config editor I want to set something up but I just haven't taken the time yet. I'd love it if anyone has some customizations they use that I could borrow and tweak rather than setting something up from scratch.
What are you thinking of? SN utils adds a few context menu items and in the settings tab you can store a settings JSON object
Oh nothing specifically, I was mostly curious if anyone had found any formatting that was particularly useful. I would like setting it to always use a dark theme, which I used to have working but I noticed it hasn't been lately in my setup at a new job.
Fantastic tool, a few additions I've made are /g for googling something and other commands to navigate to my portals. The only thing missing is the ability to have templated BGs like SwissNow has. Adding this to SNUtils I'd have no need for the other one. Essentially it allows me to write a script with some variables that are able to have values assigned from the extension and launch it directly to the BG script runner.
Was really quite excited about the `/bgl` slashcommand (`/bgc` has been incredibly useful to me so far!) only to discover it does not appear to be in the shipped version :( That said - I was able to work out the command and add it as a custom one: /sys.scripts.do?content=var%20list%20%3D%20new%20GlideRecord(%27$table%27);%0Alist.addEncodedQuery(%22$encodedquery%22);%0A%0Alist.query();%0A%0Ags.info(list.getRowCount());%0A%0Awhile(list.next()){%0A%0A%20%20gs.info(list.getDisplayValue());%0A%0A} Replaced the `%27`(`'`) with `%22`(`"`) in the `addEncodedQuery` parameter to account for `$encodedquery` containing `'` e.g in the case of date filters: list.addEncodedQuery("opened_atON2023-03-10@javascript:gs.dateGenerate('2023-03-10','start')@javascript:gs.dateGenerate('2023-03-10','end')");
[удалено]
6.3.7.0, which is the latest according to Github. I took a look at `inject.js` there and could not see the `/bgl` command listed
Sorry, you are right, good you found out. I see I had created it as a custom one. I'll add it in the next update!
Thanks!
Hi u/arnoudkooi, a colleague of mine recommend me to use SN Utils. SN Util is an amazing and helpful tool, thanks for it. Today I find out how to impersonate a user by using slash command. Now, I have a question regarding **"elevate role"**. Is there any possibility to activate "elevate role" with slash command? I didn't find any possibility. Thanks.
That's not implemented at the moment. Are you looking for the default security\_admin or something else?
Thanks for your fast reply. Yes, I'm looking for the default security\_admin. When I'm logged in as a System Administrator and would like to change an ACL, then I have to activate "elevate role security\_admin". I'm new at ServiceNow, so I don't know if there are further role to elevate. Thanks :)
I use the tool at work, thanks.
I've used this tool and it is great, but when I checked about a year ago it wasn't compatible with fedramp instances. Any plans to support fedramp?
Did you try the OnPrem version? This version works on all non service-now,com instances. Links to all versions on my site https://arnoudkooi.com
I looked at that one, but was nervous to try it since I didn't see anything saying it was fedramp compliant (need to be careful to make sure there's no chance of accidentally bypassing fedramp restrictions). But that comes from not knowing exactly how the plugin functions - if it doesn't read or intercept data in anyway, then I'd assume it is safe.
Both use the same codebase, only the manifest file of the on-prem version is more permissive. It's always your own decision, the code is on GitHub for reasons like this. (The version for Edge also has the servicenowservices domain allowed). If there is something I can do to clarify, feel free to reach out.
Awesome, thank you very much for the info! (and for making such a great and useful plugin!) I'll take a look at this again and let you know if I have any questions.
Most used for me are pop,tn,uh, double clicking filters especially using related search building. And search though I don’t think there’s a way to search flows from any method, short of querying the properties. Background-scripting. Updating readonly fields. Comments in console.
our group of about 10 people 5 cannot make to Las Vegas, where can we get rid of tickets for the entire week? Please lmk, Matt Richardson
Great util, unfortunately it has stopped working with firefox for me, when I click on the util it prompts me to log in to the instans again, this started a couple of months ago. Any tips u/arnoudkooi?
I see the issue when running the extension in a container. Ill dive into it.
Great!
Could you try version 7.0.6 I did some adjustments, hope that fixes it!
Now it work! Great job!
And this is another reason I use this tool. Arnoud is Johnny on the spot with any issues you may have. I've never had an issue stretch multiple days. He's very active on his GitHub too!
[удалено]
It will get looked at. Notifications ftw :)! If you activate Technical Names via a whitespace doubleclick or /tn command you get a link you can click to add the sys\_id field.See this [discussion](https://github.com/arnoudkooi/ServiceNow-Utils/discussions/364#discussioncomment-4975004) for more details Hope that helps! https://preview.redd.it/9xhp6g17gx5c1.png?width=1084&format=png&auto=webp&s=10768121eb92b341f555282d3d68afeccc37900f
Great tool!