Posts

Showing posts from 2016

Use External JavaScript files in your ServiceNow Instance

Image
Navigate to System UI > UI Scripts.Click New.In script  You can use global check box which indicates whether script loads on every page in the system ( Use caution when creating global UI scripts because they can impact performance )

You can also include this js file using script tag in your UI pages

Public reports in ServiceNow

Public report means anyone on the internet can access it with a specific URL even though they don't have a ServiceNow login

Steps for creating a public report

1) Create a new report or select an existing one.

2) Save the report ( It is necessary to save the report before marking it as public ).

3) Publish it, You will find the link in save drop-down menu.

4) Once you publish a report, you will be alerted with a URL that can be used by users across the internet to access the report.

https://your.instance.service-now.com/sys_report_display.do?sysparm_report_id=XXXXXXX

Servicenow: Tip for Quick Access

Image
When using areference field If you don’t want thepopup to disappearas soon as you move your mouse, just press theshift keyand thiswill keep it in place allowing you to scroll. 



For list view, Hold the shift before hovering over theinformation (i) icon,this will render the page fully which iscompletely editable with UI actions and scripts.

Hidden tricks in Javascript console

Image
console.table()

One of those handy little things which are available in your browser developer tools console. Give it a try, Improve your JavaScript debugging !!



Read More

ServiceNow style guide

Do you know style guide for ServiceNow? It has lots of interesting information. You can find it here for Geneva and Helsinki:

https://your_instance_name.service-now.com/styles/heisenberg/styleguide/docs/index.html

 and

here https://styleguide.service-now.com/styles/styleguide/index.html

Javascript truth table + comparison operators

Image
And some more..

What update set captures in Service Now?

Image

Javascript Executor in Service Now

Image
It's important to understand that this will only work for Client Side scripting; any server side code will not execute and must be executed in "Scripts - Background" to test the desired outcome.

This module is only available to users elevated to security admin level.


Press on Windows
Alt+Ctrl+Shift+j

Press Ctrl+Shift+j on Mac