ServiceNow CMS Pre-Planning & Planning, Designed to equip you with tools to get started with your Planning efforts. Let's Build! Testing Time Launch It! Support & Training for Ongoing Maintenance Overview The ServiceNow Content Management System (CMS) is a powerful application which... Continue Reading →
Thanks Jeff. Handy Tips and work around.
In the last month I have been doing quite a bit of client side JavaScript using jQuery and AngularJS and initially had some challenges working with these frameworks and the ServiceNow GlideAjax object due to only being able to pass string values as a parameter. For example, below is the example GlideAjax usage from the ServiceNow Wiki site:
ga.addParam(‘sysparm_name’,’helloWorld’);
ga.addParam(‘sysparm_user_name’,”Bob”);
ga.getXML(HelloWorldParse);function HelloWorldParse(response) {
var answer = response.responseXML.documentElement.getAttribute(“answer”);
alert(answer);
}
The limitation for me was the “sysparm_user_name” parameter for what if I wanted to pass in an Array, Object or a list of records to be updated? This is especially relevant if you start leveraging AngularJS, for with AngularJS you are going to want to filter, sort and update rows of data with client side JavaScript and therefore need structured data variables for which to manipulate.
The solution for me is JSON and attached is an update set…
View original post 378 more words
Great tips for #ServiceNow Admin. Careful with background #scripts.
What?
Background Scripts are Service-Now’s most direct method to run JavaScript directly against the server. This makes them an excellent way to test out the code intended for use in Script Includes, Scheduled Jobs, and Business Rules. Additionally, this is one of the best ways to cobble together text based reports that are too complicated for the reporting module – I’ve often used Background Scripts to aid in outage post-mortem investigations.
Warning!
While powerful, Background Scripts can be dangerous. If you aren’t careful, you can delete all kinds of important or system-critical records. Even more likely, a poorly written script might run indefinitely, causing system performance issues.
Where?
View original post 238 more words
Configuring an LDAP Server in ServiceNowAdministrators typically enable an LDAP integration to allow single sign-on of ServiceNow users from their company LDAP directory.This YouTube tutorial from ServiceNow is a simple and straightforward overview of how this can be accomplished or... Continue Reading →
You must be logged in to post a comment.