Scripting: What's Up with the "this."?
The light bulb just went off for our super-genius at right ā finally, it all makes sense to him. What makes sense, you ask? Why, code like this (which I used in my last postļgr = this._get_real_gr(gr)...
The light bulb just went off for our super-genius at right ā finally, it all makes sense to him. What makes sense, you ask? Why, code like this (which I used in my last postļgr = this._get_real_gr(gr)...
You can request this update through our service portal: https://hi.service-now.com/Doc for the release is here: http://wiki.service-now.com/index.php?title=June_2011_Preview_2_Release_NotesCheers,
The h.e.l.p Blog 4/8/11(here everybody learns plenty)I am sure you all missed me last week, but I am back and excited for this week's blog.Over the past two weeks among our other activities we have be...
On occasion in this blog, I've mentioned Script Includes (navigate to System Definition Ć¢ā ā Script Includes) and talked about classes using the prototype.js library. On the Service-now instance, JavaS...
Our confident ā and definitely different ā girl at right is doing just fine. Sometimes doing things differently in your JavaScript code can be a good thing, too. Consider this perfectly ordinary code ...
In real life there's often a simple, obvious distinction between identity and equality. For instance, if you hand me two oranges I might think of them as equal, but I certainly wouldn't think of them ...
If you're a parent, have you ever wished you could hand your kid(s) off to someone else? Or...when you were a kid, did you ever wish you had a different set of (cooler) parents? The kid at right just ...
Our young friend at right is skeptical that we ever need to force JavaScript to use any particular datatype, but actually the need arises often. If you write any JavaScript at all, you're probably usi...
After a stressful week of being uncertain I would be able to implement a solution allowing guest users to be able to access the CMS, Joshua Personius and Andrew Kincaid came to the rescue!Working with...
For three days now, I've delivered what some people consider a form of bloodless torture: a description of bitwise (aka "binary") operators, complete with a bunch of examples in hex and binary. This w...
Wiki upgrade coming today. Navigation, categories, and breadcrumbs have been updated. Cheers to Tech Writer Rachel Sienko for leading this project and doing much of the work. This is an incremental ch...
There's just one more bitwise JavaScript operator left for us to talk about: the exclusive-or (aka XOR) operator, which is "^". There's also one more topic related to the bitwise operators that I'll c...
There are three bitwise JavaScript operators that I didn't talk about yesterday: ">>", ">>>", and "<<". They are JavaScript's shift operators. No, that's not some kind of shady operator like our fello...
Recently I was talking with a customer I'll call Paula who needed to set one particular bit in a numeric variable, to call a Java class that used a "flags" parameter. In this particular case, she need...
As you may know, we've been playing catch-up documenting our APIs. This is some of the most difficult documentation to create, not just for us but for anyone doing what we do. Right now I need to take...
If you write even a few JavaScript programs, you're going to run into situations where you need to make a test, then take some action only if the test had a certain outcome. Probably the most common e...
The h.e.l.p. Blog 3/25/11(here everybody learns plenty) I had the privilege of introducing our new blog last week and this week I am excited to announce our official title "The h.e.l.p. Bog" (here eve...
Geek SpeakI am sure that those who read this blog title, will know instantly that this is pure "Geek Speak". But if you can appreciate this title, you will probably like this example. Use Case:I had a...
Hi everyone,Another piece of new documentation is ready for you. It's another API, this time the GlideMenu javascript class that you can use to customize Context Menus and Context Menu Items:http://wi...
Hi all,We've put out a quick new doc about defining locations, including info about the location hierarchy:http://wiki.service-now.com/index.php?title=Defining_LocationsIf you have any information abo...