New Documentation: g_form API
Hi all,We're aware that the community has been asking for more documentation of scripting APIs. Today we're releasing the API for the client-side g_form object:http://wiki.service-now.com/index.php?ti...
Hi all,We're aware that the community has been asking for more documentation of scripting APIs. Today we're releasing the API for the client-side g_form object:http://wiki.service-now.com/index.php?ti...
Navigator Sprite Support is a new feature introduced in the Spring 2010 Stable 2 release. The following information was created by Pat Casey, Service-now.com Principal Architect:OverviewModern web pag...
Hi everybody,We're pleased to announce that Spring 2010 Stable 3's documentation is now available. Release notes can be found here:http://wiki.service-now.com/index.php?title=Spring_2010_Stable_3_Rele...
Some of you have wondered if I had decided to stop torturing y'all with this series of object-oriented JavaScript posts. No such luck. I am preparing for our user conference in London next week. That'...
If you've been following along on these object-oriented JavaScript posts, then you should already know quite a bit about JavaScript classes and objects. But wait — there's more!Today I'm going to talk...
Q. Why do computer geeks get Halloween confused with Christmas?A. Because oct 31 == dec 25.Of course!
In our earlier examples (see links below the fold) we had two examples of instance properties: birth_date and call_name. To review, these are properties that exist in each instance of a class. For exa...
Yesterday I showed you how to add a method to the Dog class (see navigator links below the fold). Today I'm going to add a second method, but more importantly, I'm going to show you how to define clas...
Yesterday I showed you how to make a very simple JavaScript class, and promised you that next I'd show you how to build the code that calculates a dog's age right into it. Well, that day has arrived, ...
This post is the first in a series, intended to be an introduction into writing object-oriented programs in JavaScript. All of the examples will be done in the Service-now.com server-side environment,...
Yesterday I told you about on-demand functions — and right away I get some emails. Some of you said "Enough with the esoteric, high-falutin' math nonsense — give us something practical!", and the rest...
She seems a bit skeptical about this, but it's true — starting with the Fall 2010 release, you'll be able to define functions whose definitions are automatically included when you use them.This is muc...
A common use for regular expressions is to extract some text from a larger piece of text, based on some delimiters that define the range of text to pull out. For instance, I might want to extract the ...
Yesterday I showed you how to figure out whether an object had a certain property. But suppose you didn't know ahead of time which property you wanted? Then what you'd want to do is to enumerate all t...
Parallel Homepage Rendering is a new feature introduced in the Spring 2010 Stable 2 release. The following information was created by Pat Casey, Service-now.com Principal Architect:OverviewHome pages ...
Hi everyone,Documentation is now available for the Tiny URL Support Plugin, newly released with Spring 2010 Stable 2:http://wiki.service-now.com/index.php?title=Tiny_URL_Support_PluginThe Tiny URL Sup...
Yesterday I showed you how to represent things in a JavaScript object. But what if you have the opposite problem — you have an object, but you want to know what it represents? More precisely, you want...
A few days ago I was talking with someone I'll call Joe about one of our Discovery scripts. Joe was trying to figure out something we were doing in the script, and I finally figured out what was givin...
Discovery has just acquired a snazzy new feature that will be available starting with the "Stable 3" build coming up in early September, and it will be in the Fall 2010 release. The screenshot at righ...
In an earlier post, I touched a bit on the arguments property that's available in any function. There I showed how you can use it to create functions that take a variable number of arguments. Today I'...