<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ServiceNow Guru &#187; Client scripts Archives </title>
	<atom:link href="http://www.servicenowguru.com/topics/scripting/client-scripts-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.servicenowguru.com</link>
	<description>ServiceNow Consulting Scripting Administration Development</description>
	<lastBuildDate>Mon, 30 Jan 2012 23:21:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Change Form Header Background Color</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-form-header-background-color/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-form-header-background-color/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 17:35:15 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=4236</guid>
		<description><![CDATA[J ust a quick scripting tip today based on a solution that I helped someone with on the ServiceNow community site. The request I received was to be able to change the form header background color based on changes to values in a record. You&#8217;re probably aware that ServiceNow provides a global CSS property to [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-form-header-background-color/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Customizing the dirty form alert popup</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/custom-dirty-form-message/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/custom-dirty-form-message/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 13:49:16 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System UI]]></category>
		<category><![CDATA[Dirty form]]></category>
		<category><![CDATA[System Properties]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=4192</guid>
		<description><![CDATA[I had a colleague come to me recently for help on a client issue. The customer wanted two things; the first was to set up the capability to warn users when they were navigating away from a modified form without saving it, but to do this only on selected forms rather than globally. The second [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/custom-dirty-form-message/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attach an event listener to a related list button</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/attach-event-listener-related-list-button/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/attach-event-listener-related-list-button/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 17:37:18 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Related lists]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=4065</guid>
		<description><![CDATA[R ecently a colleague asked me for assistance with a customer request. The requirement was to pop up an information or alert message when a user clicked the &#8216;Edit&#8217; button on the &#8216;Affected CIs&#8217; related list. The alert message would give them some information or a warning, allow the user to confirm, and then continue [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/attach-event-listener-related-list-button/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automatically adjust the height of text area to fit contents</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/automatically-adjust-height-text-area-fit-contents/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/automatically-adjust-height-text-area-fit-contents/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 13:48:54 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=4148</guid>
		<description><![CDATA[H ere are a couple of script examples you might find useful. Say you&#8217;ve got a multi-line text field or variable that contains a lot of text. To save time in scrolling (or clicking the &#8216;+&#8217; icon next to the field) to see all of the text you just want to auto-expand the height of [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/automatically-adjust-height-text-area-fit-contents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Animate ServiceNow with jQuery and Prototype Effects!</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/jquery-prototype-animation-effects/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/jquery-prototype-animation-effects/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 13:11:35 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System UI]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[UI scripts]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3667</guid>
		<description><![CDATA[A while ago, I was trying to figure out how I could add some javascript animations and effects to a ServiceNow instance. What I really wanted was something like the jQuery Effects API but I didn&#8217;t want to have to incorporate a separate API and deal with the loading the bulk of jQuery everywhere in [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/jquery-prototype-animation-effects/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Building a CI Change Calendar Macro &#8211; On The Fly</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/ci-change-calendar-macro/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/ci-change-calendar-macro/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 12:39:19 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[UI macros]]></category>
		<category><![CDATA[Catalog client scripts]]></category>
		<category><![CDATA[Change management]]></category>
		<category><![CDATA[Incident management]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3920</guid>
		<description><![CDATA[A co-worker asked me for some help yesterday fulfilling an interesting requirement. He needed to set up a configuration item reference field or catalog variable that would display a calendar macro that, when clicked, would open a popup window containing a change calendar report for that configuration item. I figured this idea might be of [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/ci-change-calendar-macro/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Set Default Date/Time Picker Dialog Time</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/set-default-datetime-picker-dialog-time/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/set-default-datetime-picker-dialog-time/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 14:39:49 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Catalog client scripts]]></category>
		<category><![CDATA[Dates]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3857</guid>
		<description><![CDATA[H ave you ever wondered how you can change the default time displayed in a Date/Time dialog? In general, the Date/Time dialog is controlled by back-end code so there&#8217;s not much you can do with it. I&#8217;ve seen this question a few times now so I decided to come up with a solution. Because the [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/set-default-datetime-picker-dialog-time/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Hide Empty Variables on a Standard Form</title>
		<link>http://www.servicenowguru.com/scripting/business-rules-scripting/hide-empty-variables-standard-form/</link>
		<comments>http://www.servicenowguru.com/scripting/business-rules-scripting/hide-empty-variables-standard-form/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 16:31:17 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Business rules]]></category>
		<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Service catalog]]></category>
		<category><![CDATA[Variable Set]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3826</guid>
		<description><![CDATA[S ervice catalog variables can be a challenge to deal with on standard forms when they are displayed in a variable editor. I&#8217;ve written before about different ways that you can solve one of these challenges&#8230;making the variables read only, so that they can&#8217;t be modified after the initial submission through the service catalog interface. [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/business-rules-scripting/hide-empty-variables-standard-form/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Hiding Related Lists and Embedded Lists</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/hiding-related-lists-embedded-lists/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/hiding-related-lists-embedded-lists/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 12:19:22 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Embedded lists]]></category>
		<category><![CDATA[Related lists]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3816</guid>
		<description><![CDATA[I just saw a question on the ServiceNow forums asking how you could show and hide an embedded related list on a form. I just created some client scripts to accomplish this task so I figured I would share them here. I&#8217;ll also review the methods and limitations for showing and hiding standard related lists [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/hiding-related-lists-embedded-lists/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Solving the Client Script &#8216;Before and After&#8217; Problem</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/solving-client-script-before-after-problem/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/solving-client-script-before-after-problem/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 15:03:01 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System UI]]></category>
		<category><![CDATA[UI macros]]></category>
		<category><![CDATA[Formatters]]></category>
		<category><![CDATA[setTimeout]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3789</guid>
		<description><![CDATA[E very now and then I come across a question dealing with the order of execution for client-side code (Client Scripts and UI Policies). In my experience, the need to order client-side code is pretty rare and really only applies in a few &#8216;onLoad&#8217; scenarios and even fewer &#8216;onChange&#8217; scenarios. Usually, the way that a [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/solving-client-script-before-after-problem/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Cool Collapse/Expand Animation Effect</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/collapse-expand-animation-effect/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/collapse-expand-animation-effect/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 12:31:44 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System UI]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3527</guid>
		<description><![CDATA[H ave you ever wondered how Service-now does the collapse and expand animations in the application sidebar? This same animation effect is also used when collapsing form sections or displaying service catalog variable hints. I discovered last night how this is done and you can do it to with a simple script! Update: ServiceNow now [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/collapse-expand-animation-effect/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Show/Hide Form Section by Name</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 18:39:44 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System Definition]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3399</guid>
		<description><![CDATA[F orm sections are a great way to segment information on a form into pieces that make sense to be grouped together. The most common example of the use of form sections is the &#8216;Comprehensive Change&#8217; form. If you want to learn more about how forms, form sections, and views work I HIGHLY recommend a [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Lock/Unlock glide_list and URL Fields With Client Scripts</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/lock-unlock-glidelist-url-fields-client-scripts/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/lock-unlock-glidelist-url-fields-client-scripts/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 14:10:48 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[glide_list]]></category>
		<category><![CDATA[System Properties]]></category>
		<category><![CDATA[UI macros]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3417</guid>
		<description><![CDATA[I &#8216;ve answered several questions in the past about the functionality of lock icons in Service-now. Lock icons appear on glide_list and URL fields. The most-common example is the &#8216;Watch list&#8217; field on the task table. Service-now provides some system properties to manage the default lock appearance of these field types. There are times when [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/lock-unlock-glidelist-url-fields-client-scripts/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Pause or Toggle a Time Worked Field Timer</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/pausetoggle-time-worked-field/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/pausetoggle-time-worked-field/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 14:57:29 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[System UI]]></category>
		<category><![CDATA[Incident management]]></category>
		<category><![CDATA[Time worked]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3384</guid>
		<description><![CDATA[T here are several ways to do time tracking in Service-now. One of the ways used frequently (especially in Incident Management) is the &#8216;Time Worked&#8217; field. The Service-now wiki describes this functionality. I often see the requirement to have some control over the stop/start of this Time Worked field for customers using this functionality. This [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/pausetoggle-time-worked-field/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Make Checkbox Variables Mandatory</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/checkbox-variables-mandatory/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/checkbox-variables-mandatory/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 13:54:07 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Checkbox]]></category>
		<category><![CDATA[Mandatory]]></category>
		<category><![CDATA[Service catalog]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3337</guid>
		<description><![CDATA[M andatory fields are usually pretty simple to work with. Service-now provides simple UI policy and client script methods to make fields and variables mandatory. You may have noticed as you have worked with checkbox variables in the service catalog that these methods don&#8217;t apply. The reason for this makes perfect sense if you think [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/checkbox-variables-mandatory/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Checking for Modified or Changed Fields in Script</title>
		<link>http://www.servicenowguru.com/scripting/business-rules-scripting/checking-modified-fields-script/</link>
		<comments>http://www.servicenowguru.com/scripting/business-rules-scripting/checking-modified-fields-script/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 13:35:43 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Business rules]]></category>
		<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Email notifications]]></category>
		<category><![CDATA[GlideRecord]]></category>
		<category><![CDATA[GlideRecordUtil]]></category>
		<category><![CDATA[mail_script]]></category>
		<category><![CDATA[modified]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=3175</guid>
		<description><![CDATA[W orking in Service-now, you&#8217;ll find that a lot of scripting tasks come down to identifying which fields changed on a form (client-side) or record (server-side). In this post, I&#8217;ll show you some different techniques to identify changed fields in both client-side, and server-side scripts. I&#8217;ll also show you a way that you can capture [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/business-rules-scripting/checking-modified-fields-script/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Identifying UI Action Clicked (The Right Way)</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/identifying-ui-action-clicked-submit/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/identifying-ui-action-clicked-submit/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 14:30:59 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[UI actions]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=964</guid>
		<description><![CDATA[I &#8216;ve seen a lot of requests on the forums asking how you can identify the button that got clicked form an onSubmit client script or a business rule. Usually the aim behind these questions is to make some field display or be mandatory based on a button click. While you can use client scripts [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/identifying-ui-action-clicked-submit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the Size of a List Collector Slushbucket Variable</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-size-list-collector-slushbucket-variable/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-size-list-collector-slushbucket-variable/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 08:33:06 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Catalog client scripts]]></category>
		<category><![CDATA[List collector]]></category>
		<category><![CDATA[Service catalog]]></category>
		<category><![CDATA[Slushbucket]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=2830</guid>
		<description><![CDATA[List collector variables are a great way to collect multiple pieces of information about referenced records in a single variable in the Service Catalog. One complaint I get about these variables is that they take up a lot of space on the screen. While there&#8217;s not a lot you can do with regular slushbuckets in [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/change-size-list-collector-slushbucket-variable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Fantastic g_form getReference Callback</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/gform-getreference-callback/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/gform-getreference-callback/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 20:05:49 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[getReference]]></category>
		<category><![CDATA[g_form]]></category>
		<category><![CDATA[VIP]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=2614</guid>
		<description><![CDATA[If you didn&#8217;t pay close attention to the recent Fall 2010 Stable 1 Service-now.com release you probably missed a really cool new piece of functionality. I just used it for the first time today and I really feel like it&#8217;s something that everybody needs to have in their Service-now Client Scripting tool belt. The functionality [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/gform-getreference-callback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parse URL Parameters in a Client Script</title>
		<link>http://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script/</link>
		<comments>http://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 21:15:32 +0000</pubDate>
		<dc:creator>Mark Stanger</dc:creator>
				<category><![CDATA[Client scripts]]></category>
		<category><![CDATA[Parameter]]></category>
		<category><![CDATA[sysparm]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.servicenowguru.com/?p=2186</guid>
		<description><![CDATA[H ere&#8217;s a useful script I&#8217;ve used before to grab parameters from a URL in Service-now.com. Simply pass the name of the parameter into the function and it will return the corresponding parameter value. So if you had a Service-now.com URL that looked like this&#8230; https://demo.service-now.com/incident.do?sys_id=-1&#038;sysparm_query=active=true&#038;sys_myparm=abcde You could get the value of the &#8216;sys_myparm&#8217; URL [...]]]></description>
		<wfw:commentRss>http://www.servicenowguru.com/scripting/client-scripts-scripting/parse-url-parameters-client-script/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

