This post is brought to you because of Kevin. Thanks Kevin!
Just read your great code search blog post @jacebenson... you probably already know about this, but the an-Utils browser extension has an “install-less” code search feature in beta. https://t.co/qXXadNxpDz— 🍹🍸Kev 🍸🍹 (@milligna) November 30, 2019
Browser extensions are scary in my opinion when it comes to work. Some workplaces have rules (not really enforceable) where you are allowed to only download extensions used by hundreds of thousands of users.
Now that I have that out of the way, let's talk about the extensions for Firefox and Chrome to help work in ServiceNow.
|SN Utils||Yes1||Yes2||Yes3||Arnoud Kooi|
|SN Toolbelt||Yes4||Yes5||Yes6||Mac Morning|
There extensions have a lot of features so I'll be comparing all of them I can find;
✅ = Yes
❌ = No
|Feature||SN Toolbelt||SN Utils||SwissNow|
|Docs and API searches||✅||✅||❌|
|Links to many instances||✅||Configurable||✅|
|Edit scripts in VS Code||❌||✅||❌|
|Edit widgets in VS Code||❌||✅||❌|
|Show technical names||❌||✅||❌|
|Update set search||❌||✅||❌|
|Search User by Id||❌||✅||❌|
|CTRL-S / CMD-S||❌||✅||❌|
|CTRL-V / CMD-V||❌||✅||❌|
Unfortunately I've never looked at this extension in depth until I started writing this post. With that being said, holy cow.
Arnoud, good job.
Some of the things I don't think should be in the extension but others, man I wish they were part of the platform.
I think the CTRL-S / CMD-S and CTRL-V / CMD-V should be something Servicenow Proper should add to the platform making them unneeded.
After comments added to this post it's clear to see slash commands can add any search including docs/api stuff. So I changed that to Sort of as they need to be configured.
SN Tool belt
I've been a fan of this repository for years now. It isn't the biggest project but was the only one I found to be open source when I first looked.
With that being said, it's all about giving you links to quickly jump around instances. I assume we all do that because I do that.
This is the only other extension I could find was this one.
This one is also about jumping around instances and as such has some nice links around them including a very handy compare function, however, I can't find the source. So I downloaded the
.crx file and unzipped it. Looked around at the code for any odd calls but I didn't find any. So thats great.
|2019-12-01||Changed SN Utils - Docs and API searches to yes (via |
|2019-12-01||Changed SN Utils - Links to many instances to configurable was no.|
Great article Jace!
In SNU some of the features are accessible via slashcommands, like:
/dev <query>for docs and api search.
You (or I) can add a own search source like :
jace;https://sn.jace.pro/docs/?q=$0 Search Jace's documentation
/env acmedevyou can open current page in instance acmedev.
(I need to look at the nested function, creating a slashcommand
/acmedevdoesn't work now)
Regarding the risks of Extension, always good to be aware of this and make your own assessment. I'm keeping the permissions as tight as possible, resulting in rather low score at crxcavator.
The permissions I do ask are explained in the Privacy Disclaimer
Seems great, looking into this now makes me wish I did it more earlier.
Hey Jace, thanks for the shout out.
As you can guess, with the Toolbelt extension I'm not trying to compete with Arnoud & team (tremendous work there!). It's mostly a navigation helper. I'm adding small features when I get the idea and the time, limiting them to what is doable without script injection, external framework nor update sets because we should avoid doing this on our clients [live] environments.
Anyhow, the project is on github and sndevs are most welcome to contribute with ideas, defects, and pull requests.