Skip to main content

ServiceNow installing SNUtils & Slash Commands




- SNUtils is a browser extension to make life easier for admin/developer: search a table, executing functions that normally would take 5 steps> reduce from 5 steps to 1 or 2 steps 
Increased productivity

- add chrome/firefox SNUtils extension - go to browser extension store or grab it here (Chrome example)
(or try, contains the extension for other browsers including on-prem version)
Chrome version also works for Brave and other Chromium based browsers

- add the extension to your browser

- go to your servicenow instance e.g. your PDi

- click the chrome extensions icon (little puzzle icon top right of the browser)

- from there, pin the extension

- looks like this: little cog thingy

- you then get the slash commands by entering / in the left hand nav in your instance (may require a browser restart

can also enable cool script style in background scripts (via SNUtils settings)

and other settings such as being able to see database names next to field labels:


Popular posts from this blog

Get URL Parameter - server side script (portal or classic UI)

Classic UI : var sURL_editparam = gs . action . getGlideURI (). getMap (). get ( ' sysparm_aparameter ' ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); } Portal : var sURL_editparam = $sp . getParameter ( " sysparm_aparameter " ); if ( sURL_editparam == 'true' ) { gs . addInfoMessage ( 'parameter passed ); }

URL link in addInfoMessage

var ga=new GlideAjax('gld_HR_ajax'); ga.addParam('sysparm_name', 'checkEmployeeNumber_hrProfile'); ga.addParam('sysparm_hrprofilenumber', g_form.getValue('number')); ga.addParam('sysparm_employeenumber', newValue); ga.getXMLAnswer(function(answer) { if (answer!='undefined' && answer!=''){ var navURL="<a style='text-decoration:underline;color:blue'" + answer + ">" + answer + "</a><img width='3' src='images/s.gif'/>"; var sMsg='The employee number entered already exists on another HR Profile ' + navURL; //alert(sMsg); g_form.showErrorBox('employee_number', 'error - please check'); g_form.addInfoMessage(sMsg); } });