<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Agegeleruvy</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Agegeleruvy"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Agegeleruvy"/>
		<updated>2026-04-17T13:01:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Category:Spel_Code&amp;diff=4200</id>
		<title>Category:Spel Code</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Category:Spel_Code&amp;diff=4200"/>
				<updated>2010-11-24T03:34:54Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://acisabukody.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://acisabukody.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:Service Desk]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Yellow_Pages:Sysman_dk&amp;diff=4199</id>
		<title>Yellow Pages:Sysman dk</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Yellow_Pages:Sysman_dk&amp;diff=4199"/>
				<updated>2010-11-24T03:34:49Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Image:sysman_logo.png]]&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;&amp;amp;lt; Located in Denmark we are ready to deliver our services throughout Europe. &amp;amp;gt;&amp;amp;gt;'''&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
''&lt;br /&gt;
Our services include:'' &lt;br /&gt;
&lt;br /&gt;
'''Consulting:''' We have solid competence and experience with these CA products: CA Service Desk, CA Knowledge Tools, CA CMDB, CA Cohesion ACM,&amp;amp;lt;BR&amp;amp;gt; &lt;br /&gt;
CA Service Catalog and CA Service Accounting. We implement and adapt these products into your environment to form capable, efficient and scalable&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
solutions to solve your Service Management challenges. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Training and Coaching:''' We believe that with more than 10 years of experience in delivering CA training, both locally and internationally, we can train&amp;amp;lt;BR&amp;amp;gt; &lt;br /&gt;
your staff at all levels from Users to Specialists. Using either CA Standard Training Courses or custom developed material to suit your particular need.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Technical Support:''' We offer various technical support packages that supplements CA Support. When CA Support refers you to CA Technical Services&amp;amp;lt;BR&amp;amp;gt; &lt;br /&gt;
we can assist you in resolving your support issues. This can be done remotely without having to add the cost of travel and lodging. We can also assist you&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
in keeping your CA based solution updated.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''sysman.dk ApS is a CA Services Partner and our services can be delivered through CA if required.'' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Contact information:&lt;br /&gt;
&lt;br /&gt;
'''Telephone:''' +45 2134 2080&lt;br /&gt;
&lt;br /&gt;
'''Email:''' mailto:info@sysman.dk&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=4198</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=4198"/>
				<updated>2010-11-24T03:32:18Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;amp;lt;ipbwiki_topiclist forumid=4,5 count=5 /&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Screen_Changes&amp;diff=4197</id>
		<title>Screen Changes</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Screen_Changes&amp;diff=4197"/>
				<updated>2010-11-24T03:32:02Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ezemitekywe.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ezemitekywe.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customization]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Additional Sorting on List Panel]]&lt;br /&gt;
&lt;br /&gt;
[[Display Buttons for Group members only]]&lt;br /&gt;
&lt;br /&gt;
[[Display Buttons for specific Roles only]]&lt;br /&gt;
&lt;br /&gt;
[[How to Script Buttons]]&lt;br /&gt;
&lt;br /&gt;
[[Web Screen Painter]]&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=While&amp;diff=4196</id>
		<title>While</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=While&amp;diff=4196"/>
				<updated>2010-11-24T03:31:28Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://uvetysudema.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://uvetysudema.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spel Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
A &amp;amp;quot;while&amp;amp;quot; loop performs a set of commands for each iteration of the loop.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
while (''condition'')&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
    int i;&lt;br /&gt;
    &lt;br /&gt;
    i = 0;    &lt;br /&gt;
    &lt;br /&gt;
    while( i &amp;amp;lt; 10 ) {&lt;br /&gt;
        &lt;br /&gt;
        printf(&amp;amp;quot;This is a test. Loop %s\n&amp;amp;quot;, i) ;&lt;br /&gt;
        &lt;br /&gt;
        i = i + 1;&lt;br /&gt;
        &lt;br /&gt;
    } ;&lt;br /&gt;
&lt;br /&gt;
This example will iterate the loop, printing the &amp;amp;quot;This is a test. Loop n&amp;amp;quot; message 9 times.&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
This is a test. Loop 0&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 1&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 2&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 3&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 4&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 5&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 6&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 7&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 8&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
This is a test. Loop 9&amp;amp;lt;BR&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=For&amp;diff=4195</id>
		<title>For</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=For&amp;diff=4195"/>
				<updated>2010-11-24T03:31:16Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
A &amp;amp;quot;for&amp;amp;quot; loop performs a set of commands for each iteration of the loop.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
for (''starting number'';''while'';''increment'')&lt;br /&gt;
&lt;br /&gt;
You do not have to specify all (or any) of the three values within the, although not doing so may result in an infinite loop. You must have code within the loop itself to exit if you choose to exclude these values. Also, if you do not specify a value you still must use the semi-colon(;) as a separator.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
*For loop that increments a variable by 1 on each pass&lt;br /&gt;
 int i,count;&lt;br /&gt;
 for (i=0,count=0;i&amp;amp;lt;=4;i++) {&lt;br /&gt;
      count++;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
This will increment the count var to 5.&lt;br /&gt;
&lt;br /&gt;
* For loop which logs all the indexes of the msg array which the send_wait function returns&lt;br /&gt;
 int i;&lt;br /&gt;
 send_wait(0, top_object(), &amp;amp;quot;call_attr&amp;amp;quot;, &amp;amp;quot;cnt&amp;amp;quot;, &amp;amp;quot;get_groups_by_persid&amp;amp;quot;, &amp;amp;quot;cnt:776B094702EABB4B87F04A139E72D44B&amp;amp;quot;);&lt;br /&gt;
 for (i=0;i&amp;amp;lt;msg_length();i++) {&lt;br /&gt;
      logf (SIGNIFICANT, &amp;amp;quot;Msg index #%s: %s&amp;amp;quot;, i,msg[i]);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
* For loop which does not specify all three values&lt;br /&gt;
 int i;&lt;br /&gt;
 i=5;&lt;br /&gt;
 for (i;;) {&lt;br /&gt;
      if (i&amp;amp;gt;-1) {--i; } else {return;}&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
This will exit i reaches a value of -1&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Variables_and_Types&amp;diff=4194</id>
		<title>Variables and Types</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Variables_and_Types&amp;diff=4194"/>
				<updated>2010-11-24T03:31:05Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://exytebuc.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://exytebuc.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Declaring variables ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
int theInt;&lt;br /&gt;
long theLong;&lt;br /&gt;
string theString;&lt;br /&gt;
object theObject;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Assignment of variables ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
int theInt, anotherInt;&lt;br /&gt;
theInt = 0;&lt;br /&gt;
anotherInt = 10;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Casting ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
string theString;&lt;br /&gt;
theString = &amp;amp;quot;5&amp;amp;quot;;&lt;br /&gt;
int theInt;&lt;br /&gt;
theInt = (int)theString;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== NULL ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
object theObject;&lt;br /&gt;
theObject = NULL;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Workshift_abs2work&amp;diff=4193</id>
		<title>Workshift abs2work</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Workshift_abs2work&amp;diff=4193"/>
				<updated>2010-11-24T03:31:04Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://itubibygucy.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://itubibygucy.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
USD utilizes workshifts and sometimes it is useful to be able to determine times within a workshift.&lt;br /&gt;
&lt;br /&gt;
int workshift_abs2work(string workshift, date start, date finish)&lt;br /&gt;
&lt;br /&gt;
Returns the time in seconds from the start date to the finish date for the given workshift.&lt;br /&gt;
Note: workshift is represented as a string (eg. &amp;amp;quot;Mon - Fri { 7:30 am - 5:30 pm }&amp;amp;quot;)&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=4192</id>
		<title>Substr</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Substr&amp;diff=4192"/>
				<updated>2010-11-24T03:30:33Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://aduratutuz.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://aduratutuz.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spel Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
Overloaded method to return a string within a string&lt;br /&gt;
&lt;br /&gt;
string substr(string str, int start, int length) &lt;br /&gt;
&lt;br /&gt;
string substr(string str, int start) // reads to the end of the string for finish &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Can be used in conjuction with sindex to retrieve start index.&lt;br /&gt;
&lt;br /&gt;
eg.&lt;br /&gt;
&lt;br /&gt;
string myString;&lt;br /&gt;
&lt;br /&gt;
string otherString;&lt;br /&gt;
&lt;br /&gt;
otherString = &amp;amp;quot;this is a string&amp;amp;quot;;&lt;br /&gt;
&lt;br /&gt;
myString = substr(otherString,sindex(otherString,&amp;amp;quot;a&amp;amp;quot;));&lt;br /&gt;
&lt;br /&gt;
// myString == &amp;amp;quot;a string&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
myString = substr(otherString,sindex(otherString,&amp;amp;quot;is&amp;amp;quot;,4));&lt;br /&gt;
&lt;br /&gt;
// myString == &amp;amp;quot;is a&amp;amp;quot;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Getenv&amp;diff=4191</id>
		<title>Getenv</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Getenv&amp;diff=4191"/>
				<updated>2010-11-24T03:30:16Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://aduratutuz.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://aduratutuz.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spel Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Gets the value of an environment variable&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
getenv (''&amp;amp;quot;string&amp;amp;quot;'')&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Getting the value of the PATH environment variable and putting it into the variable &amp;amp;quot;result&amp;amp;quot;.&lt;br /&gt;
 string result;&lt;br /&gt;
 result = getenv(&amp;amp;quot;Path&amp;amp;quot;);&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
This func will return the string value of the environment variable defined informed in string.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Operators&amp;diff=4190</id>
		<title>Operators</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Operators&amp;diff=4190"/>
				<updated>2010-11-24T03:30:14Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ipelasuq.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ipelasuq.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Arithmetic Operators ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
+  Addition&lt;br /&gt;
-   Subtraction&lt;br /&gt;
*  Multiplication&lt;br /&gt;
/   Division&lt;br /&gt;
% Modulo, for example a % b will result in the remainder of a divided by b&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Comparison (Relational) Operators ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
== Equal to&lt;br /&gt;
!=  Not Equal to&lt;br /&gt;
&amp;amp;lt;= Less than or equal to&lt;br /&gt;
&amp;amp;lt;  Less than&lt;br /&gt;
&amp;amp;gt;= Greater than or equal to&lt;br /&gt;
&amp;amp;gt;  Greater than&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Concatenation Operators ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
+&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Logical Operators ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
||&lt;br /&gt;
&amp;amp;amp;&amp;amp;amp;&lt;br /&gt;
!&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Assignment Operators ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
=   simple assignment&lt;br /&gt;
+= Compound addition, like in C&lt;br /&gt;
-=  Compound subtraction&lt;br /&gt;
*= Compound multiplication&lt;br /&gt;
/= Compound division&lt;br /&gt;
%= Compound modulo&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Methods_handling&amp;diff=4189</id>
		<title>Methods handling</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Methods_handling&amp;diff=4189"/>
				<updated>2010-11-24T03:30:03Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://awibuky.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://awibuky.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spel Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
== Method calling ==&lt;br /&gt;
Methods can be called from [[Object_Triggers|triggers]] or using [[Send_wait]] function.&lt;br /&gt;
&lt;br /&gt;
Here is an example of trigger (call method ''convert_request'' with one parameter):&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
POST_VALIDATE convert_request( persistent_id ) 96 FILTER(EVENT(&amp;amp;quot;INSERT&amp;amp;quot;));&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Method definition ==&lt;br /&gt;
You can define new methods on every object. This definition must be in file with SPL extension in [[$NX_ROOT]]/site/mods/majic folder. In one file you can define more than one method and even for more than one class.&lt;br /&gt;
&lt;br /&gt;
Here is the base structure of new method called '''newMethod''' on object '''cr''' with variable number of parameters:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
void cr::newMethod (...)&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
}&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
Use method definition with ''(...)'' even if no parameters are expected.&lt;br /&gt;
&lt;br /&gt;
=== Parameters handling ===&lt;br /&gt;
Parameters are passed into the method in '''argv''' array. Each parameters are in triplets. Here is the explanation of argv values:&lt;br /&gt;
*argv[0] - number of parameters&lt;br /&gt;
*argv[1] - name of the first parameter&lt;br /&gt;
*argv[2] - previous value of the first parameter&lt;br /&gt;
*argv[3] - actual value of the first parameter&lt;br /&gt;
*argv[4] - name of the second parameter&lt;br /&gt;
*argv[5] - previous value of the second parameter&lt;br /&gt;
*argv[6] - actual value of the second parameter&lt;br /&gt;
and so on&lt;br /&gt;
&lt;br /&gt;
== Overriding methods ==&lt;br /&gt;
If you want to override some built-in method, simply define method with the same name (object::methodName) and write your new body.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Send_WaitCall_attrGet_groups_by_persid&amp;diff=4188</id>
		<title>Send WaitCall attrGet groups by persid</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Send_WaitCall_attrGet_groups_by_persid&amp;diff=4188"/>
				<updated>2010-11-24T03:29:22Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://upezobyxez.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://upezobyxez.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
[[Category:Spell Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
== Overview ==&lt;br /&gt;
This method gets a list of groups for specified user.&lt;br /&gt;
&lt;br /&gt;
This action can be called in [[Spel_Reference_Guide|spell code]] in method [[send_wait]] (or [[send]]) using [[Send_WaitCall_Attr|call_attr]] action.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
void send_wait (int timeout, object top_object, &amp;amp;quot;call_attr&amp;amp;quot;, &amp;amp;quot;cnt&amp;amp;quot;, &amp;amp;quot;get_groups_by_persid&amp;amp;quot;, contact_persid)&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
* timeout - how long (in seconds) should the method wait for finishing the method (0 means infinite [no timeout] and is generally the value used)&lt;br /&gt;
* top_object - root object for the method (on which the method is called)&lt;br /&gt;
* contact_persid - persistent ID of an user for which you are looking for attached groups&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
success or failure is tested with msg_error() (boolean function)&lt;br /&gt;
&lt;br /&gt;
On success the resulted list is filled into a global array '''msg''' as follows:&lt;br /&gt;
* msg[0] - the number of assigned groups&lt;br /&gt;
* msg[1] - a list of group's UUIDs&lt;br /&gt;
&lt;br /&gt;
On failure (don't forget to test failure in your code, your are in production with dummy users)&lt;br /&gt;
* msg[0] - failure reason&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
int i;&lt;br /&gt;
send_wait(0, top_object(), &amp;amp;quot;call_attr&amp;amp;quot;, &amp;amp;quot;cnt&amp;amp;quot;, &amp;amp;quot;get_groups_by_persid&amp;amp;quot;, &amp;amp;quot;cnt:776B094702EABB4B87F04A139E72D44B&amp;amp;quot;);&lt;br /&gt;
if( msg_error()) {&lt;br /&gt;
logf (ERROR, &amp;amp;quot;failure in send_wait ..... .Reason: %s&amp;amp;quot;,msg[0]);&lt;br /&gt;
}&lt;br /&gt;
else{&lt;br /&gt;
for (i=0;i&amp;amp;lt;msg_length();i++) {&lt;br /&gt;
logf (SIGNIFICANT, &amp;amp;quot;Msg index #%s: %s&amp;amp;quot;, i,msg[i]);&lt;br /&gt;
}}&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Comment ==&lt;br /&gt;
'''This code does not work since SD R12.5. See this post: http://www.servicedeskusers.com/forum/index.php?showtopic=6047'''&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=List_Tickets_ORDER_BY_Group&amp;diff=4187</id>
		<title>List Tickets ORDER BY Group</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=List_Tickets_ORDER_BY_Group&amp;diff=4187"/>
				<updated>2010-11-24T03:28:55Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://elykogit.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://elykogit.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article will help you sort your Incident, Change Order and Request List in Scoreboard.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1 : Create the script ===&lt;br /&gt;
A script is created as an .mod file and placed in the NX_ROOT/site/mods/majic directory. When the Service Desk service starts, the contents of the majic directory are processed and cached. You can use any naming scheme you like for your .spl file, but it is recommended that the file be preceded with a 'z' for easy identification as a custom file (eg zMyCompany.spl, zcr_scripts.spl, zMyScripts.spl).&lt;br /&gt;
&lt;br /&gt;
''Below is the mod file for Change Orders'' - I have named it to be zchgsort.mod&lt;br /&gt;
MODIFY FACTORY chg {&lt;br /&gt;
STANDARD_LISTS {&lt;br /&gt;
  SORT_BY &amp;amp;quot;group.last_name, chg_ref_num, status, open_date, priority&amp;amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
''Below is the mod file for Incidents'' - I have named it to be zinsort.mod&lt;br /&gt;
MODIFY FACTORY cr {&lt;br /&gt;
STANDARD_LISTS {&lt;br /&gt;
  SORT_BY &amp;amp;quot;group.last_name, ref_num, status, open_date, priority&amp;amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
=== Step 2 : Edit the list_chg.htmpl file for Change Order and list_cr.htmpl for Incidents ===&lt;br /&gt;
1) Search for the following text in your list_chg.htmpl file&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsStart&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsWrite text=&amp;amp;quot;pdm_if \&amp;amp;quot;@{list.sla_violation:0}\&amp;amp;quot; != '0'&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) Just above the &amp;amp;lt;pdm_macro name=lsStart&amp;amp;gt; define the following&lt;br /&gt;
var ref_num_style;&lt;br /&gt;
&lt;br /&gt;
3) Now, Edit the pdm_macro column for Group to the following&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsCol hdr=&amp;amp;quot;Group&amp;amp;quot; attr=group link=yes&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Below is the customization to the list_cr.htmpl file'''&lt;br /&gt;
&lt;br /&gt;
1) Search for the following in your list_cr.htmpl file&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=lsStart&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
2) Just above the &amp;amp;lt;pdm_macro name=lsStart&amp;amp;gt; define the following&lt;br /&gt;
var ref_num_style;&lt;br /&gt;
&lt;br /&gt;
3) Now, Edit the pdm_macro column for Group to the following&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=lsCol hdr=Group/Parent attr=group link=yes&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Save Files and perform the following ===&lt;br /&gt;
1) Run the pdm_webcache from the command prompt&lt;br /&gt;
2) Stop and Start the Unicenter Service Desk Services.&lt;br /&gt;
3) Look at your Analyst Login and expand the &amp;amp;quot;All&amp;amp;quot; scoreboard value under Incidents and Change Order to see if your tickets are sorted as per the Group&lt;br /&gt;
4) Note : You first need to add the column &amp;amp;quot;Group&amp;amp;quot; if you did not have it earlier.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Changing_Requests_to_Incidents&amp;diff=4186</id>
		<title>Changing Requests to Incidents</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Changing_Requests_to_Incidents&amp;diff=4186"/>
				<updated>2010-11-24T03:28:35Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://oleqatyqi.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://oleqatyqi.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions on how to change a Request to an Incident. The following logic can be used with minor modification to accomplish all of the following as well:&lt;br /&gt;
*Request &amp;amp;gt; Problem&lt;br /&gt;
*Incident &amp;amp;gt; Request&lt;br /&gt;
*Incident &amp;amp;gt; Problem&lt;br /&gt;
*Problem &amp;amp;gt; Request&lt;br /&gt;
*Problem &amp;amp;gt; Incident&lt;br /&gt;
&lt;br /&gt;
''NOTICE: This does not work for Change Orders or Issues.''&lt;br /&gt;
&lt;br /&gt;
== Justification ==&lt;br /&gt;
When promoting the use of Self-Help (aka Employee Interface) it is commonly a process dilemma deciding whether the End User should be creating an Incident or a Request or whether they should be empowered to create both. A good rule of thumb is if training of the Employee Interface is required, then its design has been over complicated. Keeping in mind that the End User will always be requesting something from IT (whether if be a request to fix something, a request for information, or a request for new equipment) the Request ticket is a logical starting point for the End Users. With this simple customization a Request ticket can be easily changed by IT to an Incident. &lt;br /&gt;
&lt;br /&gt;
== Why this works ==&lt;br /&gt;
Requests and Incidents are saved in the same table and share the same system resources. The only thing that distinguishes the two is the value of a field called type in the Call_Req table. If the value is an ''R'' then the ticket is a Request and an ''I'' is an Incident. By merely change an R to an I we convert a Request to an Incident without breaking any URLs, events, uploaded attachments, etc. &lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Edit the detail_cr.htmpl ===&lt;br /&gt;
Add the following syntax to the detail_cr.htmpl to add a drop-down field for changing the ticket type: &lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&amp;amp;lt;PDM_IF &amp;amp;quot;$args.id&amp;amp;quot; != &amp;amp;quot;0&amp;amp;quot; &amp;amp;amp;&amp;amp;amp; &amp;amp;quot;$prop.form_name_3&amp;amp;quot; == &amp;amp;quot;edit&amp;amp;quot; &amp;amp;amp;&amp;amp;amp; &amp;amp;quot;$args.KEEP.MAKE_COPY&amp;amp;quot; != &amp;amp;quot;1&amp;amp;quot; &amp;amp;amp;&amp;amp;amp; $args.children.length == 0&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=dtlDropdown hdr=&amp;amp;quot;Ticket Type&amp;amp;quot; attr=type lookup=no whereclause=&amp;amp;quot;sym!='Problem'&amp;amp;quot; make_required=yes&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/PDM_IF&amp;amp;gt;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| border=1 width=&amp;amp;quot;80%&amp;amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
| '''$args.id != 0''' &lt;br /&gt;
| prevents the field from being displayed on a Request that has not yet been saved.&lt;br /&gt;
|-&lt;br /&gt;
| '''$prop.form_name_3 == edit'''&lt;br /&gt;
| ensures the field is displayed only when in Edit mode.&lt;br /&gt;
|-&lt;br /&gt;
| '''$args.KEEP.MAKE_COPY != 1''' &lt;br /&gt;
| prevents the field from being displayed when a new Request is being created as a result of performing a copy of an existing Request.&lt;br /&gt;
|-&lt;br /&gt;
|'''$args.children.length == 0''' &lt;br /&gt;
| prevents the changing of a Request to an Incident if the Request has children. By not including this clause the Parent/Child concept of being only between tickets of the same type would be broken.&lt;br /&gt;
|-&lt;br /&gt;
| '''whereclause=&amp;amp;quot;sym!='Problem'&amp;amp;quot;''' &lt;br /&gt;
| removes Problem from the list of ticket types. &lt;br /&gt;
|-&lt;br /&gt;
| '''make_required=yes''' &lt;br /&gt;
| ensures that there is always a type identified. Otherwise, &amp;amp;lt;empty&amp;amp;gt; could be selected which would impact searches and Stored Queries.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For r11.x releases it is recommended that you edit your pages via the [[Web Screen Painter]]. For older releases you must edit the files directly.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Clear the web cache ===&lt;br /&gt;
The final step is to clear Service Desk's cache. The methods vary depending on release.&lt;br /&gt;
 &lt;br /&gt;
''For r11.x releases'' publish your changes via the [[Web Screen Painter]]. The process of publishing automatically initiates a [[pdm_webcache]].&lt;br /&gt;
&lt;br /&gt;
''For older releases'' execute [[pdm_webcache]] from a command prompt on the [[Primary Server]]. There is no need to run this command on the [[Secondary Server|Secondary Servers]].&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Migrating_Schema_Changes_Between_Systems&amp;diff=4185</id>
		<title>Migrating Schema Changes Between Systems</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Migrating_Schema_Changes_Between_Systems&amp;diff=4185"/>
				<updated>2010-11-24T03:28:15Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ewefobyme.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ewefobyme.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Schema Changes]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions for easily moving schema changes from one environment to another.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Make Schema Changes ===&lt;br /&gt;
From your source environment make the desired schema changes via the [[Schema Designer]]. Be sure to follow the proper protocol for publishing your schema changes.&lt;br /&gt;
&lt;br /&gt;
Create configuration files using ''File'' - ''Save and Publish'' in Schema Designer's menu.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Extract WSP Tables ===&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_extract wsptbl &amp;amp;gt; wsptbl.txt&lt;br /&gt;
pdm_extract -f &amp;amp;quot;SELECT column_name,dbms_name,description,display_name,is_cluster,is_descending,is_indexed,is_local,is_not_null,is_order_by,is_required,is_skey,is_unique,is_write_new,is_wsp,last_mod_dt,on_ci_set,on_new_default,schema_name,status,string_len,table_name,type,xrel_table FROM wspcol&amp;amp;quot; &amp;amp;gt; wspcol.txt&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Copy Files ===&lt;br /&gt;
Copy the following files from the source to the destination environment:&lt;br /&gt;
*[[$NX_ROOT]]/site/mods/majic/wsp.mods&lt;br /&gt;
*[[$NX_ROOT]]/site/mods/wsp.altercol&lt;br /&gt;
*[[$NX_ROOT]]/site/mods/wsp.altertbl&lt;br /&gt;
*[[$NX_ROOT]]/site/mods/wsp_index.sch&lt;br /&gt;
*[[$NX_ROOT]]/site/mods/wsp_schema.sch&lt;br /&gt;
*wsptbl.txt ''(extract from previous step)''&lt;br /&gt;
*wspcol.txt ''(extract from previous step)''&lt;br /&gt;
&lt;br /&gt;
=== Step 4. Load Extracts ===&lt;br /&gt;
On the destination server run the following commands:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_userload -f wsptbl.txt&lt;br /&gt;
pdm_userload -f wspcol.txt&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 5. Publish Schema changes ===&lt;br /&gt;
On destination server follow these steps for publishing the schema changes:&lt;br /&gt;
# Stop the Service Desk service&lt;br /&gt;
# Run [[pdm_publish]] from a command line&lt;br /&gt;
# Start the Service Desk service &lt;br /&gt;
&lt;br /&gt;
== Optional Steps ==&lt;br /&gt;
If you want to save SCH and MOD changes in your own file with better name, follow these steps:&lt;br /&gt;
# Copy content of wsp.mods file to some *.mod in [[$NX_ROOT]]/site/mods/majic&lt;br /&gt;
# Copy content of wsp_schema.sch file to some *.sch in [[$NX_ROOT]]/site/mods&lt;br /&gt;
# Copy content of wsp_index.sch file to some *.sch in [[$NX_ROOT]]/site/mods&lt;br /&gt;
# Delete wsp.mods, wsp_index.sch and wsp_schema files&lt;br /&gt;
&lt;br /&gt;
Because content of wsptbl and wspcol tables on destination server is pointless from now, we can purify these tables using this two commands:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_load -rf wsptbl.txt&lt;br /&gt;
pdm_load -rf wspcol.txt&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Add_Log_Entry_for_Updates_to_Custom_Fields&amp;diff=4184</id>
		<title>Add Log Entry for Updates to Custom Fields</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Log_Entry_for_Updates_to_Custom_Fields&amp;diff=4184"/>
				<updated>2010-11-24T03:27:54Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://yxiwisewava.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://yxiwisewava.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions for adding entries to the [[Activity Log|activity log]] when updates occur to custom fields.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
===Step 1 .Create Activity Associations ===&lt;br /&gt;
#Login as admin&lt;br /&gt;
#Open Notification setup &amp;amp;gt; Activity Associations.&lt;br /&gt;
#Click on Create New.&lt;br /&gt;
#Enter the custom field name in the symbol text box(zcustomfield1).&lt;br /&gt;
#Enter a code in the code text box (custom)&lt;br /&gt;
#Choose the object type from the drop-down box (Change/isssue/request/wf/..).&lt;br /&gt;
#Enter a description of the field (The MCC Application Code field on a Request).&lt;br /&gt;
#Enter the custom attribute name (zcustomfield1).&lt;br /&gt;
#Enter the activity type. You can use &amp;amp;quot;Field Update&amp;amp;quot; or you can create a new activity type if you need to specify notifications for the activity type you select. (Field Update).&lt;br /&gt;
#Check the &amp;amp;quot;Log Me&amp;amp;quot; checkbox.&lt;br /&gt;
#click Save.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Create the trigger ===&lt;br /&gt;
This step is to create the trigger that will initiate the script. The methods used to implement the trigger vary based on the Service Desk release. &lt;br /&gt;
&lt;br /&gt;
''For r11.x releases'' triggers are created via the [[Schema Designer]] utility. Simply add the following code as a [[Site-Defined Trigger]] to the '''[[Call Req Table|cr (Request)]]''', '''[[Change Request Table|chg (Change Order)]]''', or '''[[Issue Table|iss (Issue)]]''' table.&lt;br /&gt;
 POST_CI val_fieldupdate_site(persistent_id, audit_userid, CHANGED_ONLY, customfield1, customfield2, customfield3) 111 FILTER(EVENT(&amp;amp;quot;UPDATE&amp;amp;quot;));&lt;br /&gt;
&lt;br /&gt;
''For older releases'' triggers are made by creating a [[.mod file]] and placing it in the [[$NX_ROOT]]/site/mods/majic directory. Name the [[.mod file|.mod]] anything you like, but it is recommended that it be preceded with a 'z'.&lt;br /&gt;
&lt;br /&gt;
 MODIFY cr POST_CI val_fieldupdate_site(persistent_id, audit_userid, CHANGED_ONLY, customfield1, customfield2, customfield3) 111 FILTER(EVENT(&amp;amp;quot;UPDATE&amp;amp;quot;));&lt;br /&gt;
 MODIFY chg POST_CI val_fieldupdate_site(persistent_id, audit_userid, CHANGED_ONLY, customfield1, customfield2, customfield3) 111 FILTER(EVENT(&amp;amp;quot;UPDATE&amp;amp;quot;));&lt;br /&gt;
 MODIFY iss POST_CI val_fieldupdate_site(persistent_id, audit_userid, CHANGED_ONLY, customfield1, customfield2, customfield3) 111 FILTER(EVENT(&amp;amp;quot;UPDATE&amp;amp;quot;));&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Publish the Schema changes ===&lt;br /&gt;
The methods used to publish schema changes vary based on the Service Desk release.&lt;br /&gt;
&lt;br /&gt;
''For r11.x releases'', follow these steps:&lt;br /&gt;
#Save your Schema changes&lt;br /&gt;
#Stop the Service Desk service&lt;br /&gt;
#Run [[pdm_publish]] from a command line&lt;br /&gt;
#Start the Service Desk service&lt;br /&gt;
&lt;br /&gt;
''For older releases'' recycle the Service Desk service.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Command-Line_Utility_Reference&amp;diff=4183</id>
		<title>Command-Line Utility Reference</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Command-Line_Utility_Reference&amp;diff=4183"/>
				<updated>2010-11-24T03:25:58Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://axuzexy.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://axuzexy.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Miscellaneous]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
Appendix E of the '''Unicenter Service Desk Administrator Guide''' provides basic information about key command-line executables that ship with Service Desk.&lt;br /&gt;
&lt;br /&gt;
== Basic Information ==&lt;br /&gt;
* Located in the [servicedesk]/bin folder&lt;br /&gt;
* Basic syntax is available for most commands by typing &amp;amp;quot;''commandname -h''&amp;amp;quot; or just &amp;amp;quot;''commandname''&amp;amp;quot;&amp;amp;lt;br&amp;amp;gt;'''NOTE''': It is best to check a command's reference below to determine the best way to retrieve information.  &amp;amp;quot;-h&amp;amp;quot; works with some commands.  No parameters work with commands.  Some commands attempt to perform actions even if -h is specified.  Unfortunately, there appears to be no consistency with the command line syntax.&lt;br /&gt;
&lt;br /&gt;
== List of Executables ==&lt;br /&gt;
* [[add_user]] - &lt;br /&gt;
* [[animator_nxd]] - &lt;br /&gt;
* [[bop_adump]] - returns information about an attribute&lt;br /&gt;
* [[bop_cmd]] - &lt;br /&gt;
* [[bop_ddump]] - dumps all class information&lt;br /&gt;
* [[bop_logging]] -&lt;br /&gt;
* [[bop_ldump]] -&lt;br /&gt;
* [[bop_odump]] - dumps the object data &lt;br /&gt;
* [[bop_sinfo]] - returns information about objects (attributes, methods, triggers)&lt;br /&gt;
* [[pdm_extract]] - dumps data from the database to the screen or file&lt;br /&gt;
* [[pdm_cache_refresh]] - refreshes object cache from the database&lt;br /&gt;
* [[pdm_configure]]&lt;br /&gt;
* [[pdm_d_refresh]] - selectively starts, stops and restarts sets of daemons&lt;br /&gt;
* [[pdm_deref]] - used for finding and replacing data with data found in another database table.&lt;br /&gt;
* [[pdm_kit]] - imports files or templates into Knowledge&lt;br /&gt;
* [[pdm_lexutil]] - modify spellchecker by adding or removing words&lt;br /&gt;
* [[pdm_logfile‎]] - sets the size of the stdlog files&lt;br /&gt;
* [[pdm_load]] - loads information directly into the database&lt;br /&gt;
* [[pdm_publish]] - publishes schema changes&lt;br /&gt;
* [[pdm_tomcat_nxd]] - manages the tomcat daemon&lt;br /&gt;
* [[pdm_webcache]] - clears the web page cache&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Add_Properties_Count_to_Area/Category_List&amp;diff=4182</id>
		<title>Add Properties Count to Area/Category List</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Properties_Count_to_Area/Category_List&amp;diff=4182"/>
				<updated>2010-11-24T03:25:19Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://egebyromedu.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://egebyromedu.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Change Orders]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:Incidents]]&lt;br /&gt;
[[Category:Issues]]&lt;br /&gt;
[[Category:Problems]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Requests]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article contains instructions for adding the number of Properties associated with each Area/Category to the list or Areas/Categories available via the Administration Tab. This is not an update to the hierarchy listings. This simple customizations allows for easily identifying the Areas/Categories that have Properties. &lt;br /&gt;
&lt;br /&gt;
The instructions that follow pertain to r11.x releases only.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Edit list_pcat.htmpl, list_chgcat.htmpl, and list_isscat.htmpl ===&lt;br /&gt;
Search for the section beginning with the following code...&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsStart&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
For list_pcat.htmpl, add the following line...&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsCol hdr=&amp;amp;quot;Properties&amp;amp;quot; attr=properties display_attr=length justify=&amp;amp;quot;center&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
For list_chgcat.htmpl and list_isscat.htmpl, add the following line...&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;pdm_macro name=lsCol hdr=&amp;amp;quot;Properties&amp;amp;quot; attr=property_templates display_attr=length justify=&amp;amp;quot;center&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
For r11.x releases it is recommended that you edit your pages via the [[Web Screen Painter]]. &lt;br /&gt;
&lt;br /&gt;
=== Step 2. Clear the web cache ===&lt;br /&gt;
The final step is to clear Service Desk's cache. Publish your changes via the [[Web Screen Painter]]. The process of publishing automatically initiates a [[pdm_webcache]].&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Conditional_Display_of_Drop-Down_Content&amp;diff=4181</id>
		<title>Conditional Display of Drop-Down Content</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Conditional_Display_of_Drop-Down_Content&amp;diff=4181"/>
				<updated>2010-11-24T03:24:57Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ecydoxe.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ecydoxe.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions on how to put a parameter on a drop-down list to allow for a unique list of options for each ticket type. The customization is ideal for shared codes that are used by multiple ticket types, such as Priority. Priority will be used in the example that follows.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Edit the desired htmpl form ===&lt;br /&gt;
The dtlDropdown PDM_MACROs support the addition of a whereclause to further qualify the results. For example, if your Priority scale is something like 1-Emergency, 2-High, 3-Medium, 4-Low, use '''whereclause=&amp;amp;quot;(sym ='3-Medium') or (sym ='4-Low')&amp;amp;quot;''' if you wish to only show the 2 lowest options. To implement this logic simply look for the following syntax: &lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=dtlDropdown hdr=&amp;amp;quot;Priority&amp;amp;quot; attr=priority lookup=no&lt;br /&gt;
           evt=&amp;amp;quot;onBlur=\\\&amp;amp;quot;detailSyncEditForms(this)\\\&amp;amp;quot;&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
...then add the whereclause to it. The result should look like this:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;html4strict&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=dtlDropdown hdr=&amp;amp;quot;Priority&amp;amp;quot; attr=priority lookup=no&lt;br /&gt;
           evt=&amp;amp;quot;onBlur=\\\&amp;amp;quot;detailSyncEditForms(this)\\\&amp;amp;quot;&amp;amp;quot; whereclause=&amp;amp;quot;(sym ='3-Medium') or (sym ='4-Low')&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
A change such as this will allow you to have options that are tailored to the ticket type. &lt;br /&gt;
&lt;br /&gt;
While I used the sym values in the example above, I would recommend actually using the id, enum, persid, or code value that is actually saved to the ticket. Whenever a sym or name field is referenced there is always the chance of the sym/name being changed and thus requiring updates to your customizations.&lt;br /&gt;
&lt;br /&gt;
For r11.x releases it is recommended that you edit your pages via the [[Web Screen Painter]]. For older releases you must edit the files directly.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Clear the web cache ===&lt;br /&gt;
The final step is to clear Service Desk's cache. The methods vary depending on release.&lt;br /&gt;
 &lt;br /&gt;
''For r11.x releases'' publish your changes via the [[Web Screen Painter]]. The process of publishing automatically initiates a [[pdm_webcache]].&lt;br /&gt;
&lt;br /&gt;
''For older releases'' execute [[pdm_webcache]] from a command prompt on the [[Primary Server]]. There is no need to run this command on the [[Secondary Server|Secondary Servers]].&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Command-Line_Interface&amp;diff=4180</id>
		<title>Command-Line Interface</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Command-Line_Interface&amp;diff=4180"/>
				<updated>2010-11-24T03:24:35Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ynejynezex.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ynejynezex.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Integration]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
These are notes I made re using the command line interface with v6, I have no idea if they will relate to r11 but would not expect the command line interface to have changed.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;nowiki&amp;amp;gt;Please excuse the format but trying to manage wiki formatting with all the -'s and %'s was too painful.&amp;amp;lt;/nowiki&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
The quickest summary of the command can be obtained by using the standard -h help switch&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt;pdm_text_cmd -h&lt;br /&gt;
pdm_text_cmd: Text API Command Line Interface - Sends text commands to Text API Daemon.&lt;br /&gt;
&lt;br /&gt;
Usage: pdm_text_cmd -t table { -u from_userid | -p from_persid } [-o operation] [-f input_file] [-T timeout] [-h]&lt;br /&gt;
Where:&lt;br /&gt;
  -t = Table to process.&lt;br /&gt;
  -o = Operation to perform. Valid: NEW|UPD|UPDATE|UPDO|UPDATE_ONLY. Default: NEW&lt;br /&gt;
  -f = File to process. Default is to use STDIN.&lt;br /&gt;
  -u = Cmd from userid.&lt;br /&gt;
  -p = Cmd from persid.&lt;br /&gt;
  -T = Time out in seconds.&lt;br /&gt;
  -h = This help.&lt;br /&gt;
&lt;br /&gt;
Table and Operation parameters are case-insensitive.&lt;br /&gt;
Valid Table values are listed in the Options section of the text_api.cfg file.&lt;br /&gt;
&lt;br /&gt;
Valid tables are: ASSET CHANGE CONTACT ISSUE REQUEST&lt;br /&gt;
&lt;br /&gt;
If no parameters are defined in file all text is assumed to be description.&lt;br /&gt;
&lt;br /&gt;
Summary is created as first 60 characters of description if not otherwise set.&lt;br /&gt;
&lt;br /&gt;
Will default assignee where requestor is an analyst.&lt;br /&gt;
&lt;br /&gt;
Parameters can be specified as below in file&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt;pdm_text_cmd -t REQUEST -u st00002 -f pdm_text_cmd.text (default operation is NEW)&lt;br /&gt;
&lt;br /&gt;
where pdm_text_cmd.text is&lt;br /&gt;
%SUMMARY=My Summary&lt;br /&gt;
%DESCRIPTION=Please fix the problem I've described in the description&lt;br /&gt;
%PRIORITY=3&lt;br /&gt;
%CUSTOMER=mparssey&lt;br /&gt;
%CATEGORY=Hardware&lt;br /&gt;
%ASSIGNEE=agrainger&lt;br /&gt;
&lt;br /&gt;
To update an existing record&lt;br /&gt;
&amp;amp;gt;pdm_text_cmd -t REQUEST -u mparssey -o UPDATE -f change_status.txt&lt;br /&gt;
&lt;br /&gt;
where change_status.txt is&lt;br /&gt;
%SEARCH=REQUEST_ID&lt;br /&gt;
%REQUEST_ID=102953&lt;br /&gt;
%STATUS=Work In Progress&lt;br /&gt;
&lt;br /&gt;
where you can write %SEARCH=keyword1;keyword2;keyword3&lt;br /&gt;
%keyword1=value1&lt;br /&gt;
%keyword2=value2&lt;br /&gt;
%keyword3=value3&lt;br /&gt;
%keyword4=new value1&lt;br /&gt;
%keyword5=new value2&lt;br /&gt;
%keyword6=new value3&lt;br /&gt;
&lt;br /&gt;
You can add multiple requests to a file using %%%%% as the separator.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Time-based_Stored_Queries&amp;diff=4179</id>
		<title>Time-based Stored Queries</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Time-based_Stored_Queries&amp;diff=4179"/>
				<updated>2010-11-24T03:24:15Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ehyloxame.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ehyloxame.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
Time-Base Queries are used in [[Stored_Queries|Stored Queries]] to make DateTime WHERE clauses possible. This is partly described in ''Unicenter Service Desk Modification'' Guide in the chapter ''4. Customization of Queries and Messages''. &lt;br /&gt;
&lt;br /&gt;
You can use an exact date in the Time-Based Stored Queries or counted time using one of these 2 functions:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;StartAtTime (timespan-name)&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
returns begin of the timespan's period.&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;EndAtTime (timespan-name)&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
returns end of the timespan's period.&lt;br /&gt;
&lt;br /&gt;
''' Caution: Time-based stored queries recalculate timespans only when  ''Trigger Time Milestone'' occured. '''&lt;br /&gt;
&lt;br /&gt;
== Timespans ==&lt;br /&gt;
Timespans are simple string values (so must be enclosed in simple quotes leaded by backslash). They are defined in a special enumeration table, which can be out-of-the-box found in Administration tab -&amp;amp;gt; Service Desk -&amp;amp;gt; Application Data -&amp;amp;gt; Codes -&amp;amp;gt; Timespans.&lt;br /&gt;
&lt;br /&gt;
Each timespan has 3 milestones which are connected to current time:&lt;br /&gt;
* Start Time - beginning of the timespan period&lt;br /&gt;
* End Time - end of the timespan period&lt;br /&gt;
* Trigger Time - this milestone guides how often is time value recalculated in a stored query&lt;br /&gt;
&lt;br /&gt;
You can define exact values (ie. 2008 for year, 4 for month, 3 for day and so on) into the time parts or relative differences against current value (ie. +1 or -5 and so on).&lt;br /&gt;
&lt;br /&gt;
=== Out-of-the-box timespans ===&lt;br /&gt;
Here are list of predefined timespan names, but you can create new ones if you need.&lt;br /&gt;
Examples assume actual date and time is 26.6.2008 11:07.&lt;br /&gt;
{| style=&amp;amp;quot;width:100%;min-width:800px;vertical-align:top;&amp;amp;quot;&lt;br /&gt;
! | Name || StartAtTime || EndAtTime &lt;br /&gt;
! style=&amp;amp;quot;width:450px&amp;amp;quot; | Comment&lt;br /&gt;
|-&lt;br /&gt;
| AFTER_NOON || 26.6.2008 12:00 || 27.6.2008 00:00 ||&lt;br /&gt;
|-&lt;br /&gt;
| BEFORE_NOON || 26.6.2008 00:00 || 26.6.2008 12:00 ||&lt;br /&gt;
|-&lt;br /&gt;
| LAST_HOUR || 26.6.2008 10:07 || 26.6.2008 11:07 ||&lt;br /&gt;
|-&lt;br /&gt;
| LAST_MONTH || 1.5.2008 00:00 || 1.6.2008 00:00 || full previous month&lt;br /&gt;
|-&lt;br /&gt;
| LAST_YEAR || 1.1.2007 00:00 || 1.1.2008 00:00 || full previous year&lt;br /&gt;
|-&lt;br /&gt;
| PAST_HOUR || 26.6.2008 10:07 || 26.6.2008 11:07 || Current time -1 hour&lt;br /&gt;
|-&lt;br /&gt;
| PAST_DAY || 25.6.2008 11:07 || 26.6.2008 11:07 || Current time -1 day&lt;br /&gt;
|-&lt;br /&gt;
| PAST_WEEK || 19.6.2008 11:07 || 26.6.2008 11:07 || Current time -7 days&lt;br /&gt;
|-&lt;br /&gt;
| PAST_MONTH || 26.5.2008 11:07 || 26.6.2008 11:07 || Current time -30 days&lt;br /&gt;
|-&lt;br /&gt;
| PAST_YEAR || 26.6.2007 11:07 || 26.6.2008 11:07 || Current time -1 year&lt;br /&gt;
|-&lt;br /&gt;
| THIS_HOUR || 26.6.2008 11:00 || 26.6.2008 11:07 ||&lt;br /&gt;
|-&lt;br /&gt;
| THIS_MONTH || 1.6.2008 00:00 || 26.6.2008 11:07 ||&lt;br /&gt;
|-&lt;br /&gt;
| THIS_MONTH_LAST_YEAR || 1.6.2007 00:00 || 1.7.2007 00:00 ||&lt;br /&gt;
|-&lt;br /&gt;
| TODAY || 26.6.2008 00:00 || 26.6.2008 11:07 ||&lt;br /&gt;
|-&lt;br /&gt;
| TODO_TODAY || 26.6.2008 11:07 || 27.6.2008 00:00 || used in TO DO and callback stored queries&lt;br /&gt;
|-&lt;br /&gt;
| TTV_THRESHOLD || 26.6.2008 11:07 || 27.6.2008 00:00 || Use this to define the query used by the Option 'ttv_highlight'. See the readme for that Option for more information.&lt;br /&gt;
|-&lt;br /&gt;
| YESTERDAY || 25.6.2008 00:00 || 26.6.2008 00:00 ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Stored Queries]]&lt;br /&gt;
&lt;br /&gt;
Unicenter Service Desk Modification Guide page 70.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Single_Sign-on&amp;diff=4178</id>
		<title>Single Sign-on</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Single_Sign-on&amp;diff=4178"/>
				<updated>2010-11-24T03:23:58Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Authentication]]&lt;br /&gt;
[[Category:Integration]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article details the procedures for permitting users to bypass entering their login credentials. &lt;br /&gt;
&lt;br /&gt;
== Configure Service Desk ==&lt;br /&gt;
[[Image:Single Sign-On Screenshot1.png|thumb|r11.x Screenshot - Access Type]]Configure the Access Type to ''Allow External Authentication'' and set the Validation Type to ''OS-Use Operating System Authentication''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Option 1: Configure IIS ==&lt;br /&gt;
[[Image:Single Sign-On Screenshot2.png|thumb|r11.x Screenshot - IIS]]&lt;br /&gt;
#Launch the IIS Manager and expand web sites and locate the CAisd virtual directory.&lt;br /&gt;
#Right-click on CAisd and select Properties&lt;br /&gt;
#Select the Directory Security tab and select the edit button under Authentication and access control.&lt;br /&gt;
#Uncheck Enable Anonymous Access and check Integrated Windows Authentication&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The changes should work immediately. But if they do not, recycle the IIS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Option 2: Configure Tomcat == &lt;br /&gt;
#Download the latest jcifs.jar file from http://jcifs.samba.org/. &lt;br /&gt;
#Place the file in the [[$NX_ROOT]]\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\lib directory. &lt;br /&gt;
#Edit the web.xml located at [[$NX_ROOT]]\bopcfg\www\CATALINA_BASE\webapps\CAisd\WEB-INF\  by locating the ''&amp;amp;lt;nowiki&amp;amp;gt;&amp;amp;lt;!-- Add filter here --&amp;amp;gt;&amp;amp;lt;/nowiki&amp;amp;gt;'' line and place the following code directly below it:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;xml&amp;amp;quot;&amp;amp;gt;&amp;amp;lt;filter&amp;amp;gt; &lt;br /&gt;
&amp;amp;lt;filter-name&amp;amp;gt;NtlmHttpFilter&amp;amp;lt;/filter-name&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;filter-class&amp;amp;gt;jcifs.http.NtlmHttpFilter&amp;amp;lt;/filter-class&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;init-param&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;param-name&amp;amp;gt;jcifs.http.domainController&amp;amp;lt;/param-name&amp;amp;gt; &lt;br /&gt;
&amp;amp;lt;param-value&amp;amp;gt;YOUR DOMAIN&amp;amp;lt;/param-value&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/init-param&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/filter&amp;amp;gt; &amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;''Note: Replace YOUR DOMAIN with your domain name (servicedeskusers.com) or domain controller (dcl).''&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;4.  Then locate ''&amp;amp;lt;nowiki&amp;amp;gt;&amp;amp;lt;!-- Add filter-mapping here --&amp;amp;gt;&amp;amp;lt;/nowiki&amp;amp;gt;'', and place the following code directly below it:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;xml&amp;amp;quot;&amp;amp;gt;&amp;amp;lt;filter-mapping&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;filter-name&amp;amp;gt;NtlmHttpFilter&amp;amp;lt;/filter-name&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;url-pattern&amp;amp;gt;/*&amp;amp;lt;/url-pattern&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/filter-mapping&amp;amp;gt;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;&amp;amp;amp;nbsp;5.  Stop and restart the Tomcat web server by running the '''pdm_tomcat_nxd -c stop''' then '''pdm_tomcat_nxd -c start'''&lt;br /&gt;
&lt;br /&gt;
Additional information for configuring Tomcat using jcifs can be found at http://jcifs.samba.org/src/docs/faq.html#ukhost and http://jcifs.samba.org/src/docs/api/overview-summary.html#scp&lt;br /&gt;
&lt;br /&gt;
== Notice ==&lt;br /&gt;
When running the Service Desk Configuration Utility ([[pdm_configure]]), the above changes will need to be reimplemented as the configuration process will reset them.&lt;br /&gt;
&lt;br /&gt;
[[eIAM]], which [[CA Workflow]] uses for authentication, does not have single sign-on capabilities. As a result, CA Workflow is not capable of single sign-on. However, the the rumor is that CA Workflow version 1.1 which will be packaged with Service Desk r12 will have this capability.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Single Sign-on with Cookies]]&lt;br /&gt;
&lt;br /&gt;
[[LDAP Integration]]&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Yellow_Pages:Xtraction_Solutions&amp;diff=4177</id>
		<title>Yellow Pages:Xtraction Solutions</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Yellow_Pages:Xtraction_Solutions&amp;diff=4177"/>
				<updated>2010-11-24T03:23:50Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://eludevyvema.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://eludevyvema.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{| width=100%&lt;br /&gt;
|width=* valign=&amp;amp;quot;top&amp;amp;quot;|[[Image:Hagrid_logo_medium.jpg|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
== Drag-and-drop dashboards and reports for CA Service Desk, Portfolio Manager, Asset Management, CMDB, and more... ==&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
'''Xtraction for Service Desk'''&lt;br /&gt;
&lt;br /&gt;
Create dashboards and reports with less time, less effort and less cost. Elevate your service management capabilities and take control of reporting and dashboard creation.&lt;br /&gt;
Xtraction for Service Desk allows you to create and interact with visually rich dashboards.  The Self-service drag-and-drop design removes dependence and bottlenecks with specialized technical skills and database knowledge.  &lt;br /&gt;
&lt;br /&gt;
'''Watch this video and let us know if you're interested in a free trial - Xtraction in CA Service Desk web interface'''[http://www.hagridsolutions.com/images/flash/usd%20web%20embed2.swf].&lt;br /&gt;
&lt;br /&gt;
How Xtraction will help you:&lt;br /&gt;
* Dramatically reduce time to create dashboards and share to other users.&lt;br /&gt;
* ITIL aligned Continual Service Improvement can begin - anyone can use Xtraction.&lt;br /&gt;
* Extend to multiple data sources to allow disparate data on same dashboards&lt;br /&gt;
* Security layer allows control over user access to data sources and dashboard folders.&lt;br /&gt;
&lt;br /&gt;
You can build simple or complex dashboards from the data fields which are presented as 'building blocks' ready to drag into the dashboard.  With an extremely intuitive GUI and interactive approach, Xtraction allows simple 'click into' data for more focused drill-down analysis. &lt;br /&gt;
&lt;br /&gt;
===&amp;amp;lt;center&amp;amp;gt;[http://www.hagridsolutions.com/index.php?option=com_contact&amp;amp;amp;view=contact&amp;amp;amp;id=1&amp;amp;amp;Itemid=38 *** Click to request free trial *** setup takes less than 1hour]&amp;amp;lt;/center&amp;amp;gt;===&lt;br /&gt;
&lt;br /&gt;
We offer an integrated software solution that will revolutionize your reporting and dashboard abilities for CA Service Desk.  &lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
'''Related documents:'''&lt;br /&gt;
&lt;br /&gt;
*[http://www.http://www.hagridsolutions.com/xtraction Xtraction videos and info]&lt;br /&gt;
&lt;br /&gt;
*[http://www.hagridsolutions.com/images/documents/XV2.5%20data%20sheet09.pdf Xtraction Data Sheet]&lt;br /&gt;
&lt;br /&gt;
*[http://www.servicedeskusers.com/hagrid/ Xtraction Online Demo]&lt;br /&gt;
&lt;br /&gt;
| width=500px valign=&amp;amp;quot;top&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; cellpadding=15|&amp;amp;lt;center&amp;amp;gt;[[Image:Xtraction.gif]]&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
'''''Xtraction dashboard - designed with simple drag-and-drop'''''&amp;amp;lt;/center&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;div style=&amp;amp;quot;margin-left:25px&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
'''Xtraction - Quick Facts:'''&lt;br /&gt;
*Real-time, interactive status dashboards—drill-down and slice the information &lt;br /&gt;
*Remove ongoing costs of services engagements&lt;br /&gt;
*Export to preformated MS Word templates [http://www.hagridsolutions.com/images/documents/xtraction%20sample%20report%20-%20hagrid.pdf] &lt;br /&gt;
*Installed in minutes — immediate realization of value&lt;br /&gt;
*Closely align with ITIL best practices and SOX audit compliance&lt;br /&gt;
*Browser accessible, no client software&lt;br /&gt;
&amp;amp;lt;/div&amp;amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''Contact us for a demonstration or trial of Xtraction for Service Desk.'''&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
USA: +1 703 439 2621&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
Australia: +61 (0) 411 017 385&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
Email: [mailto:sales@hagridsolutions.com sales@hagridsolutions.com]&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
[http://www.hagridsolutions.com/xtraction www.hagridsolutions.com/xtraction]&amp;amp;lt;br&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Changing_Error_Alert_Color_and_adding_Error_Alert_Pop-ups&amp;diff=4176</id>
		<title>Changing Error Alert Color and adding Error Alert Pop-ups</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Changing_Error_Alert_Color_and_adding_Error_Alert_Pop-ups&amp;diff=4176"/>
				<updated>2010-11-24T03:23:11Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://elykogit.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://elykogit.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Our analysts complained that they were loosing tickets because USD displayed error messages in the same color, yellow, as successful save messages. The analysts would miss the error message and the click “Close Window” button thinking that the ticket was created. &amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
We had an issue open with CA, and their advice was to change BACKGROUND-COLOR for alertmsg class in styles_ahd.css. Of course, that would not do us any good, because it would apply to successful save messages as well.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
I made modifications to a couple of java script functions to change this behavior. Originally I did two things: made the color of the error messages red, and in addition to that, displayed the same error message in a pop-up. In the end we decided that red was too much, since we now have the pop-up. But at least we know how to change the color, if we want to.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
There are two different scenarios that lead to displaying of an alert message. If you want your color change to affect both scenarios, you will have to customize two Java script functions. &amp;amp;lt;BR&amp;amp;gt;&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
The 1st scenario is triggered when an unconditionally required field (i.e. defined as required at the schema level) is not filled in. The function showAlertMsg() is called in this case, and that’s the one we need to modify. This scenario is covered by Part I of this article. &amp;amp;lt;BR&amp;amp;gt;&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
The 2nd scenario is when either data partition constraints or SPL triggers enforce data validation. In this case, endDetail() is the function that needs to be modified. The details are provided in Part II of the article&amp;amp;lt;BR&amp;amp;gt;&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
Please note that this change will affect all detail forms in all interfaces in USD, not only tickets for analysts.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Part I. Alerts for unconditionally required fields ==&lt;br /&gt;
=== Step 1. Create sitemods.js ===&lt;br /&gt;
If you don’t have sitemods.js in $NX_ROOT\site\mods\www\wwwroot\scripts, copy it from $NX_ROOT\bopcfg\www\wwwroot\scripts.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Add showAlertMsg() function to sitemods.js ===&lt;br /&gt;
Copy function showAlertMsg() from $NX_ROOT\bopcfg\www\wwwroot\scripts\detail_form.js and paste it into $NX_ROOT\site\mods\www\wwwroot\scripts\sitemods.js&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
Note: Any patches/updates to showAlertMsg() in $NX_ROOT\bopcfg\www\wwwroot\scripts\detail_form.js must be manually ported to showAlertMsg() in $NX_ROOT\site\mods\www\wwwroot\scripts\sitemods.js&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Modify showAlertMsg() in sitemods.js ===&lt;br /&gt;
If you want to change the color of the error messages, add this line:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;alertmsg.style.backgroundColor=&amp;amp;quot;red&amp;amp;quot;;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want error messages to be displayed in a pop-up, remove the condition that prevents pop-up for Analyst Interface.&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
Original code:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;if ((ahdtop.cstUsingScreenReader||ahdtop.cfgUserType!=&amp;amp;quot;analyst&amp;amp;quot;)&amp;amp;amp;&amp;amp;amp;(typeof popup_alertmsg!=&amp;amp;quot;boolean&amp;amp;quot;||popup_alertmsg))&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
Modified code:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;if (typeof popup_alertmsg!=&amp;amp;quot;boolean&amp;amp;quot;||popup_alertmsg)&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 4. Clear your Web browser cache ===&lt;br /&gt;
Clear your Web browser cache to test (no need to recycle USD)&lt;br /&gt;
&lt;br /&gt;
=== Example Modified showAlertMsg() ===&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;function showAlertMsg(msg,popup_alertmsg)&lt;br /&gt;
{&lt;br /&gt;
  e=document.getElementById(&amp;amp;quot;alertmsgText&amp;amp;quot;);&lt;br /&gt;
  if(e!=null&amp;amp;amp;&amp;amp;amp;typeof msg==&amp;amp;quot;string&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;msg.length&amp;amp;gt;0)&lt;br /&gt;
  {&lt;br /&gt;
    if(typeof AlertMsg!=&amp;amp;quot;string&amp;amp;quot;)&lt;br /&gt;
      AlertMsg=&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
    if(AlertMsg.length&amp;amp;gt;0)&lt;br /&gt;
      AlertMsg+=&amp;amp;quot;&amp;amp;lt;BR&amp;amp;gt;&amp;amp;quot;+msg;&lt;br /&gt;
    else&lt;br /&gt;
      AlertMsg=msg;&lt;br /&gt;
     if(e.innerHTML!=AlertMsg)&lt;br /&gt;
    {&lt;br /&gt;
      e.innerHTML=AlertMsg;&lt;br /&gt;
      // Commented out the original condition that prevents popups for analyst interface, and replaced it with a simplified one.&lt;br /&gt;
      //if ((ahdtop.cstUsingScreenReader||ahdtop.cfgUserType!=&amp;amp;quot;analyst&amp;amp;quot;)&amp;amp;amp;&amp;amp;amp;(typeof popup_alertmsg!=&amp;amp;quot;boolean&amp;amp;quot;||popup_alertmsg)) &lt;br /&gt;
      if (typeof popup_alertmsg!=&amp;amp;quot;boolean&amp;amp;quot;||popup_alertmsg)  &lt;br /&gt;
      {&lt;br /&gt;
        var popupMsg=AlertMsg.replace(RegExp(&amp;amp;quot;&amp;amp;lt;BR&amp;amp;gt;&amp;amp;quot;,&amp;amp;quot;gi&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('\n',&amp;amp;quot;g&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('&amp;amp;quot;',&amp;amp;quot;g&amp;amp;quot;),'\\&amp;amp;quot;');&lt;br /&gt;
        window.setTimeout('alert(&amp;amp;quot;'+popupMsg+'&amp;amp;quot;)',5);&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    var alertmsg=document.getElementById(&amp;amp;quot;alertmsg&amp;amp;quot;);&lt;br /&gt;
    if(alertmsg!=null&amp;amp;amp;&amp;amp;amp;alertmsg.style.display!=&amp;amp;quot;block&amp;amp;quot;)&lt;br /&gt;
    {&lt;br /&gt;
      alertmsg.style.display=&amp;amp;quot;block&amp;amp;quot;;&lt;br /&gt;
      // Change color for the message within the page, in addition to the popup&lt;br /&gt;
      alertmsg.style.backgroundColor=&amp;amp;quot;red&amp;amp;quot;; &lt;br /&gt;
      adjScrollDivHeight();&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Part II. Alerts for data constraint and spell trigger validations ==&lt;br /&gt;
=== Step 1. Add endDetail() function to sitemods.js ===&lt;br /&gt;
Copy function endDetail() from $NX_ROOT\bopcfg\www\wwwroot\scripts\detail_form.js and paste it into $NX_ROOT\site\mods\www\wwwroot\scripts\sitemods.js&amp;amp;lt;BR&amp;amp;gt;&lt;br /&gt;
Note: Any patches/updates to endDetail() in $NX_ROOT\bopcfg\www\wwwroot\scripts\detail_form.js must be manually ported to endDetail() in $NX_ROOT\site\mods\www\wwwroot\scripts\sitemods.js&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Modify endDetail() in sitemods.js ===&lt;br /&gt;
If you want to change the color of the error messages, find line &lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
e.style.display=&amp;amp;quot;block&amp;amp;quot;;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add the following under it:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;if (AlertMsg.substr(0,15) != &amp;amp;quot;Save Successful&amp;amp;quot;) e.style.backgroundColor=&amp;amp;quot;red&amp;amp;quot;;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want error messages to be displayed in a pop-up, find line &lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
if(typeof e==&amp;amp;quot;object&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;e!=null){&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
and add the following code under it:&lt;br /&gt;
  &lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
      if (AlertMsg.substr(0,15) != &amp;amp;quot;Save Successful&amp;amp;quot;)  // prevent popup for success messages    &lt;br /&gt;
      {&lt;br /&gt;
        var popupMsg=AlertMsg.replace(RegExp(&amp;amp;quot;&amp;amp;lt;BR&amp;amp;gt;&amp;amp;quot;,&amp;amp;quot;gi&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('\n',&amp;amp;quot;g&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('&amp;amp;quot;',&amp;amp;quot;g&amp;amp;quot;),'\\&amp;amp;quot;');&lt;br /&gt;
        window.setTimeout('alert(&amp;amp;quot;'+popupMsg+'&amp;amp;quot;)',3);&lt;br /&gt;
      }&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Clear your Web browser cache ===&lt;br /&gt;
Clear your Web browser cache to test (no need to recycle USD)&lt;br /&gt;
&lt;br /&gt;
=== Example Modified endDetail() ===&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;function endDetail()&lt;br /&gt;
{&lt;br /&gt;
  detailEndRow();&lt;br /&gt;
  var out=&amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
  if(_dtl.tableStarted)&lt;br /&gt;
    out=&amp;amp;quot;&amp;amp;lt;/TABLE&amp;amp;gt;\n&amp;amp;quot;;&lt;br /&gt;
  if(_dtl.formStarted)&lt;br /&gt;
    out+=&amp;amp;quot;&amp;amp;lt;/FORM&amp;amp;gt;&amp;amp;quot;;&lt;br /&gt;
  docWriteln(out);&lt;br /&gt;
  _dtl.tableStarted=false;&lt;br /&gt;
  if(typeof AlertMsg==&amp;amp;quot;string&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;AlertMsg.length&amp;amp;gt;0)&lt;br /&gt;
  {&lt;br /&gt;
    var e=document.getElementById(&amp;amp;quot;alertmsgText&amp;amp;quot;);&lt;br /&gt;
    if(typeof e==&amp;amp;quot;object&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;e!=null){&lt;br /&gt;
      // Popup alert with same text that is displayed in alertmsg area of the form&lt;br /&gt;
      if (AlertMsg.substr(0,15) != &amp;amp;quot;Save Successful&amp;amp;quot;)      &lt;br /&gt;
      {&lt;br /&gt;
        var popupMsg=AlertMsg.replace(RegExp(&amp;amp;quot;&amp;amp;lt;BR&amp;amp;gt;&amp;amp;quot;,&amp;amp;quot;gi&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('\n',&amp;amp;quot;g&amp;amp;quot;),&amp;amp;quot;\\n&amp;amp;quot;)&lt;br /&gt;
        .replace(RegExp('&amp;amp;quot;',&amp;amp;quot;g&amp;amp;quot;),'\\&amp;amp;quot;');&lt;br /&gt;
        window.setTimeout('alert(&amp;amp;quot;'+popupMsg+'&amp;amp;quot;)',3);&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
      e.innerHTML=AlertMsg;&lt;br /&gt;
      e=document.getElementById(&amp;amp;quot;alertmsg&amp;amp;quot;);&lt;br /&gt;
      e.style.display=&amp;amp;quot;block&amp;amp;quot;;&lt;br /&gt;
      // display alert in red&lt;br /&gt;
      if (AlertMsg.substr(0,15) != &amp;amp;quot;Save Successful&amp;amp;quot;) &lt;br /&gt;
         e.style.backgroundColor=&amp;amp;quot;red&amp;amp;quot;; &lt;br /&gt;
      adjScrollDivHeight();&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  if(typeof _dtl.firstField==&amp;amp;quot;string&amp;amp;quot;)&lt;br /&gt;
  {&lt;br /&gt;
    _dtl.firstField=document.getElementById(_dtl.firstField);&lt;br /&gt;
    if(_dtl.firstField!=null)&lt;br /&gt;
    {&lt;br /&gt;
      _dtl.onload=window.onload;&lt;br /&gt;
      window.onload=detailOnload;&lt;br /&gt;
    }&lt;br /&gt;
    else if(_dtl.edit)&lt;br /&gt;
     _dtl.form[0].style.display=&amp;amp;quot;block&amp;amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
  if(_dtl.center)&lt;br /&gt;
    docWriteln(&amp;amp;quot;&amp;amp;lt;/CENTER&amp;amp;gt;&amp;amp;quot;);&lt;br /&gt;
  if(typeof ahdtop==&amp;amp;quot;object&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;typeof ahdtop.detailForms==&amp;amp;quot;object&amp;amp;quot;&lt;br /&gt;
    &amp;amp;amp;&amp;amp;amp;(typeof alg_factory!=&amp;amp;quot;string&amp;amp;quot;||alg_factory==propFactory))&lt;br /&gt;
  {&lt;br /&gt;
    if(typeof argPersistentID==&amp;amp;quot;string&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;argPersistentID.length&amp;amp;gt;0)&lt;br /&gt;
      ahdtop.detailForms[argPersistentID]=window.parent;&lt;br /&gt;
    if(propFactory==&amp;amp;quot;chg&amp;amp;quot;&amp;amp;amp;&amp;amp;amp;typeof argChgRefNum==&amp;amp;quot;string&amp;amp;quot;)&lt;br /&gt;
      ahdtop.detailForms[&amp;amp;quot;chg&amp;amp;quot;+argChgRefNum]=window.parent;&lt;br /&gt;
    else if((propFactory==&amp;amp;quot;cr&amp;amp;quot;||propFactory==&amp;amp;quot;iss&amp;amp;quot;)&amp;amp;amp;&amp;amp;amp;typeof argRefNum==&amp;amp;quot;string&amp;amp;quot;)&lt;br /&gt;
      ahdtop.detailForms[propFactory+argRefNum]=window.parent;&lt;br /&gt;
  }&lt;br /&gt;
  if(_dtl.spellchk)&lt;br /&gt;
  {&lt;br /&gt;
    do_hiddenfm('spell_form','main_form');&lt;br /&gt;
  }&lt;br /&gt;
} // endDetail()&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_cache_refresh&amp;diff=4175</id>
		<title>Pdm cache refresh</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_cache_refresh&amp;diff=4175"/>
				<updated>2010-11-24T03:22:28Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://umuziny.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://umuziny.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This utility is used to refresh object cache from the database&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_cache_refresh [-f file] [-t table] [-h] [-v]&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -f file&lt;br /&gt;
| Input file, one table name per line, optionally followed by comma separated row ids.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -t table&lt;br /&gt;
| Table name optionally followed by comma separated row ids.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| Help&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -v&lt;br /&gt;
|Verbose&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Refresh the contact table object cache&lt;br /&gt;
 pdm_cache_refresh -t ca_contact&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=4174</id>
		<title>T3GQ028</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=4174"/>
				<updated>2010-11-24T03:22:17Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://awuhodynaro.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://awuhodynaro.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Classic Workflow]]&lt;br /&gt;
[[Category:Patches]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
The Task Behavior page on the Administration side is showing blank after applying the 2nd set of cummulative patches for r11.2 GA. &lt;br /&gt;
The error appears only if C2 is applied over the GA version directly, if C1 was previously applied then the error will not appear.&lt;br /&gt;
Please note that this patch is for Windows, for other OSes you'll need a different TF&lt;br /&gt;
&lt;br /&gt;
PROBLEM SYMPTOM: NT -AFTER CUMULATIVE 2 DETAIL_BHVTPL.HTMPL BLANK  &lt;br /&gt;
                 ----------------------------------------------------&lt;br /&gt;
                 After applying second set of cumulative published&lt;br /&gt;
                 patches for Service Desk r11.2, the lower part of&lt;br /&gt;
                 the Behavior Detail form may appear blank.  This&lt;br /&gt;
                 occurs when a user attempts to view the Behavior&lt;br /&gt;
                 Detail form of any workflow template.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T5GQ012&amp;diff=4173</id>
		<title>T5GQ012</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T5GQ012&amp;diff=4173"/>
				<updated>2010-11-24T03:21:45Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://uwujojedeh.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://uwujojedeh.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
As a result of applying the cumulative patch, on the main menu, under View tab the following menu options became available even when not viewing a ticket. &lt;br /&gt;
&lt;br /&gt;
*Event History&lt;br /&gt;
*Event Delay History&lt;br /&gt;
*In-The-Know Notify List  (this caused a java error)&lt;br /&gt;
&lt;br /&gt;
PROBLEM SYMPTOM: NT -NOTIFICATION HISTORY EMPTY AFTER CUM PATCHES. &lt;br /&gt;
                 cumulative patches for Unicenter Service Desk&lt;br /&gt;
                 r11.2, you may see an empty list within&lt;br /&gt;
                 View-&amp;amp;gt;Notification History instead of a search&lt;br /&gt;
                 window. In addition, three unintentional items&lt;br /&gt;
                 were added to this View menu: 'Event History',&lt;br /&gt;
                 'Event Delay History', and 'In The Know Notify&lt;br /&gt;
                 List'. Also the view-&amp;amp;gt;Profile Browser option is&lt;br /&gt;
                 removed.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=WSSIWYG&amp;diff=4172</id>
		<title>WSSIWYG</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=WSSIWYG&amp;diff=4172"/>
				<updated>2010-11-24T03:21:30Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
'''What Servicedesk Sees Is What You Get'''&lt;br /&gt;
This is a small tool developed by [[User:Nero Le Velu|Nero Le Velu]] to see what USD see from the object point of view&lt;br /&gt;
&lt;br /&gt;
Download [[Media:ListObj.frg|ListObj.frg]] to your server.&lt;br /&gt;
&lt;br /&gt;
== Command Structure ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;bop_cmd -f ListObj.frg &amp;amp;quot;ShowObjectDomset( object, where filter, DottedAttribute1, DottedAttribute2, DottedAttribute3, etc... )&amp;amp;quot;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''object''' is the USD object name (ex: cr, in, wf, ...)&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
'''where filter''' is a logical constraint on object attribute (ex: last_name='Neron')&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
'''DottedAttribute1, DottedAttribute2,...''' are the return values (ex: customer.admin_org.name)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;bop_cmd -f ListObj.frg &amp;amp;quot;ShowObjectDomset( 'cr', 'id&amp;amp;gt;2', 'ref_num', 'customer.combo_name')&amp;amp;quot;&lt;br /&gt;
bop_cmd -f ListObj.frg &amp;amp;quot;ShowObjectDomset( 'chg, 'description LIKE \'%test%\'', 'chg_ref_num', 'category.sym')&amp;amp;quot;&lt;br /&gt;
bop_cmd -f ListObj.frg &amp;amp;quot;ShowObjectDomset( 'wf', 'status == \'PEND\', 'chg.chg_ref_num')&amp;amp;quot;&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Lock_record&amp;diff=4171</id>
		<title>Lock record</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Lock_record&amp;diff=4171"/>
				<updated>2010-11-24T03:21:23Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://yxylepo.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://yxylepo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
When an Analyst edits a ticket of any type, it locks that record for a determined period of time to ensure one person's changes don't overwrite another's. While this is a useful feature, it can be problematic when not set properly. If too short, someone might not be done editing the ticket, but if too long, it could remain locked for an extended period of time.&lt;br /&gt;
&lt;br /&gt;
To edit the lock time, edit the %NXROOT%\bopcfg\www\web.cfg file and search for &amp;amp;quot;ExclLockSeconds&amp;amp;quot;. Make sure there is not an exclamation mark preceding it, and put the number of seconds to lock the record after it.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
ExclLockSeconds 900&lt;br /&gt;
&lt;br /&gt;
After setting the variable as desired, you will need to rerun the Configure tool (pdm_configure) and restart services.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_d_refresh&amp;diff=4170</id>
		<title>Pdm d refresh</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_d_refresh&amp;diff=4170"/>
				<updated>2010-11-24T03:20:57Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ycybesav.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ycybesav.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This utility is used to selectively start, stop and restart sets of daemons while the daemon manager is running.  It does not start or stop the daemon manager.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_d_refresh [-h] [-s] [-r] [-c] [-x] set_name&lt;br /&gt;
&lt;br /&gt;
If -r or -h are not specified then all stopped daemons in the current set will be started.&lt;br /&gt;
&lt;br /&gt;
If only a set_name is specified then only the stopped daemons in this set are started.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| Help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -s&lt;br /&gt;
| Start daemon set&lt;br /&gt;
| set_name optional&lt;br /&gt;
|-&lt;br /&gt;
| -r&lt;br /&gt;
| Shuts down daemons and daemons dependents&lt;br /&gt;
| set_name optional&lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
| Change to set_name on these daemons.  And restarts&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -x&lt;br /&gt;
| Stops daemons and daemons dependent on these daemons. If set_name is not given all daemons will be stopped&lt;br /&gt;
| set_name optional&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Start all stopped daemons&lt;br /&gt;
 pdm_d_refresh&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Configure_Java_Client_to_Use_Web_Client_for_Uploading_Attachments&amp;diff=4169</id>
		<title>Configure Java Client to Use Web Client for Uploading Attachments</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Configure_Java_Client_to_Use_Web_Client_for_Uploading_Attachments&amp;diff=4169"/>
				<updated>2010-11-24T03:20:02Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ehiqikag.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ehiqikag.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions on how to configure the Java Client (aka Admin Client or FAT Client) to utilize the Web Client for uploading of attachments. This can be a useful workaround for issues regarding Java Client attachment uploads.&lt;br /&gt;
&lt;br /&gt;
This change must be performed on each machine running the Java Client if that machine is to take advantage of this modification. These changes are NOT downloaded via Version Control. &lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Close the Java Client ===&lt;br /&gt;
Ensure that Java Client on the PC is closed.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Edit NX.env ===&lt;br /&gt;
Location the NX.env file in the root installation directly.&lt;br /&gt;
&lt;br /&gt;
Add the following 2 variables to the bottom of the NX.env file.&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
@NX_USE_WEB_ATTACHMENTS=1&lt;br /&gt;
@NX_WEB_ATTACHMENTS_PDMCGI=http://{server}/CAisd/pdmweb.exe&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: Replace {server} with the name or IP address of the Primary Server.&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Open the Java Client ===&lt;br /&gt;
The change should now be active. When the &amp;amp;quot;Attach Document&amp;amp;quot; button is selected, the detail_attachment_edit.htmpl is automatically launched for attachment uploading.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Format_Excel_doc_to_USP&amp;diff=4168</id>
		<title>Format Excel doc to USP</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Format_Excel_doc_to_USP&amp;diff=4168"/>
				<updated>2010-11-24T03:19:26Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://icucoja.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://icucoja.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
=Excel Macro to convert csv file to usp format=&lt;br /&gt;
&lt;br /&gt;
I have found a macro that I received some time ago that is a macro for Excel.  When you run this macro it will format the Excel page into a format that can be uploaded to ServiceDesk.&lt;br /&gt;
&lt;br /&gt;
First you will need to upload the macro.  You can get it here [http://www.servicedeskusers.com/forum/index.php?act=attach&amp;amp;amp;type=post&amp;amp;amp;id=357 csv_to_usp_macro]&lt;br /&gt;
&lt;br /&gt;
Then what I do is to open the sheet.  When you open you can see what the Excel format should be.  You want to put he table name in the first cell,  then the column heading in a separate cell for each heading.  Then finally you add the data in the correct column. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Start screen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once you have all the data that you want in the sheet you will need to edit the macro.  Click tools, macro, then pick the macro.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Macro screen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You want to edit the macro so that you can set the &amp;amp;quot;save to&amp;amp;quot; location.  This will save you from writing over data that you have already saved. Edit the line ''(Const cstrCallReqExport As String = &amp;amp;quot;c:\usp_contact_to_load.csv&amp;amp;quot;)'' it's line 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Save screen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After you have changed the save to location close the edit screen and run the macro.  You will see a pop up that lets you know where the file was saved and that it is done.  &lt;br /&gt;
&lt;br /&gt;
You can then look at the file to make sure it is in the correct format.  I always open with Word (this let you see it as it formated.)&lt;br /&gt;
&lt;br /&gt;
[[Image:Finish screen.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then once you have verified that it is correct.  Then you can run your deref, pdm_load -f, or pdm_userload -f&lt;br /&gt;
&lt;br /&gt;
Your done.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Crystal_Reports&amp;diff=4167</id>
		<title>Crystal Reports</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Crystal_Reports&amp;diff=4167"/>
				<updated>2010-11-24T03:19:19Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Reporting]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Crystal Formula Examples ==&lt;br /&gt;
'''Analyst''' (Example for Contacts)&lt;br /&gt;
&lt;br /&gt;
   if IsNull ({ca_contact.last_name})&lt;br /&gt;
   then &amp;amp;quot;UNASSIGNED&amp;amp;quot;&lt;br /&gt;
   else&lt;br /&gt;
      if IsNull ({ca_contact.first_name})&lt;br /&gt;
      then Uppercase ({ca_contact.last_name})&lt;br /&gt;
      else Uppercase ({ca_contact.last_name} + &amp;amp;quot;, &amp;amp;quot; + {ca_contact.first_name})&lt;br /&gt;
&lt;br /&gt;
'''CloseDate''' (Example for Requests)&lt;br /&gt;
&lt;br /&gt;
''Note: Be sure the u2lpdmtime.dll is avaible for such calls''&lt;br /&gt;
&lt;br /&gt;
   PDMTimeToDateTime ({call_req.close_date})&lt;br /&gt;
&lt;br /&gt;
'''OpenDate''' (Example for Requests)&lt;br /&gt;
&lt;br /&gt;
''Note: Be sure the u2lpdmtime.dll is avaible for such calls''&lt;br /&gt;
&lt;br /&gt;
   PDMTimeToDateTime ({call_req.open_date})&lt;br /&gt;
&lt;br /&gt;
'''TimeOpen''' (Example for Requests which Utilizes 'CloseDate' formula)&lt;br /&gt;
&lt;br /&gt;
''Note: Be sure the u2lpdmtime.dll is avaible for such calls''&lt;br /&gt;
&lt;br /&gt;
   if isnull ({@CloseDate}) &lt;br /&gt;
   then ((DateTimeToPDMTime (CurrentDateTime) - {call_req.open_date})/60/60/24)&lt;br /&gt;
   else ((DateTimeToPDMTime ({@CloseDate}) - {call_req.open_date})/60/60/24)&lt;br /&gt;
&lt;br /&gt;
'''Category''' (Example for Request Area)&lt;br /&gt;
&lt;br /&gt;
   if isnull ({prob_ctg.sym}) OR {prob_ctg.sym} = &amp;amp;quot;&amp;amp;quot;&lt;br /&gt;
   then &amp;amp;quot;Currently no category specified&amp;amp;quot;&lt;br /&gt;
   else {prob_ctg.sym}&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_tomcat_nxd&amp;diff=4166</id>
		<title>Pdm tomcat nxd</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_tomcat_nxd&amp;diff=4166"/>
				<updated>2010-11-24T03:18:41Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://eludevyvema.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://eludevyvema.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This utility is used to manage the tomcat daemon&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_tomcat_nxd [-h] [-s] [-S server_name] [-c start|shutdown|stop|exit] [-d start|shutdown|stop|exit] [-C]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| Help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -s&lt;br /&gt;
| When running as a daemon will start tomcat now&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -S&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
|Command tomcat through tomcat daemon &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -d&lt;br /&gt;
|Command tomcat directly&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -C&lt;br /&gt;
|Provide a new command line without start or stop. Valid for daemon.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Stop tomcat daemon&lt;br /&gt;
 pdm_tomcat_nxd -c stop&lt;br /&gt;
&lt;br /&gt;
*Start tomcat daemon&lt;br /&gt;
 pdm_tomcat_nxd -c start&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_webcache&amp;diff=4165</id>
		<title>Pdm webcache</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_webcache&amp;diff=4165"/>
				<updated>2010-11-24T03:18:24Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://oqagacyti.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://oqagacyti.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This command is used to clear the web page cache. The system maintains a cache to improve system &lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_webcache [-b] [-H] [-f form] [-g fgroup] [-i interface_type] [-m] [-p webengine_process] [-t timeout] [-v] [-h]&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -b&lt;br /&gt;
| browser cache. Alert users to update browser cache&lt;br /&gt;
| To undo this command, delete a file called browser_refresh.txt then restart services.&lt;br /&gt;
|-&lt;br /&gt;
| -H&lt;br /&gt;
| htmpl cache. Clear [[Webengine|webengine]] HTMPL cache&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -f&lt;br /&gt;
| Form name. Default is all forms.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -g&lt;br /&gt;
| Form group. Default is all [[Form Group|form groups]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -i&lt;br /&gt;
| Interface type. Default is all interface types&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -m&lt;br /&gt;
| macro cache. Clear [[Webengine|webengine]] macro cache&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -p&lt;br /&gt;
| Process name of [[Webengine|webengine]] to update. Default is all [[Webengine|webengine]]&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -t&lt;br /&gt;
| Time out in seconds. Default is 30 seconds.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -v&lt;br /&gt;
| Verbose (list all forms deleted from cache)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The -f, -g, and -i arguments may contain '*' as a wildcard character.&lt;br /&gt;
The -H argument is the default if none of the -b, -H, or -m options are specified.&lt;br /&gt;
&lt;br /&gt;
When initiated from a [[Primary Server]], the cache of the [[Secondary Server|Secondary Servers]] will be cleared as well, assuming -p was not used.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* To clear all web cache for all domservers&lt;br /&gt;
 pdm_webcache -v&lt;br /&gt;
&lt;br /&gt;
* To clear all web cache for all domservers and prompt users to clear browser cache&lt;br /&gt;
 pdm_webcache -b&lt;br /&gt;
&lt;br /&gt;
* To clear a specific FORM\SCREEN from the cache&lt;br /&gt;
 pdm_webcache -f detail_cr.htmpl&lt;br /&gt;
&lt;br /&gt;
* To clear a specific screen FORM GROUP from the cache&lt;br /&gt;
 pdm_webcache -g ITIL&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=How_to_Script_Buttons&amp;diff=4164</id>
		<title>How to Script Buttons</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=How_to_Script_Buttons&amp;diff=4164"/>
				<updated>2010-11-24T03:17:58Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://awibuky.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://awibuky.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Service Desk buttons are created using a ImgBtnCreate function. &lt;br /&gt;
&lt;br /&gt;
'''ImgBtnCreate(btnID, btnCaption, func, btnEnabled, btnWidth, help, tabIndex)'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;amp;quot;width:100%;vertical-align:top;&amp;amp;quot; cellpadding=&amp;amp;quot;10&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;amp;quot;width:10%;&amp;amp;quot; | Attribute&lt;br /&gt;
! style=&amp;amp;quot;width:40%;&amp;amp;quot; | Description&lt;br /&gt;
! style=&amp;amp;quot;width:50%;&amp;amp;quot; | Examples&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''btnID'''&lt;br /&gt;
| Used for referencing the button. This is typically a label used for easy identification of the button in scripts.&lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, ...&lt;br /&gt;
ImgBtnCreate(&amp;amp;quot;btnchg&amp;amp;quot;, ...&lt;br /&gt;
ImgBtnCreate(&amp;amp;quot;mybtn&amp;amp;quot;, ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''btnCaption'''&lt;br /&gt;
| The text to be displayed on the button. Either identify the string such as &amp;amp;quot;My Button&amp;amp;quot; or reference a msgtext() value. The msgtext() value is obtained from the msg_cat.js file. &lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(..., &amp;amp;quot;I am a button&amp;amp;quot;...&lt;br /&gt;
ImgBtnCreate(..., msgtext(514), ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''func'''&lt;br /&gt;
| The script to be initiated when the button is selection&lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(..., ..., &amp;amp;quot;detailSave('NEW_CHANGE')&amp;amp;quot;, ...&lt;br /&gt;
ImgBtnCreate(..., ..., &amp;amp;quot;myscript()&amp;amp;quot;, ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''btnEnabled'''&lt;br /&gt;
| If true then the button is Active. If false then it is not.&lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(..., ..., ..., true, ...&lt;br /&gt;
ImgBtnCreate(..., ..., ..., false, ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''btnWidth''' &lt;br /&gt;
| Button width in pixels. 0 defaults to the size of the text.&lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(..., ..., ..., ..., 0, ...&lt;br /&gt;
ImgBtnCreate(..., ..., ..., ..., 220, ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''help'''&lt;br /&gt;
| Displays information in status bar of the browser window. This is typically the bottom left-hand corner of your.&lt;br /&gt;
| &amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(..., ..., ..., ..., ..., &amp;amp;quot;Click here to open a ticket&amp;amp;quot;, ...&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
|-valign=&amp;amp;quot;top&amp;amp;quot;&lt;br /&gt;
| '''tabIndex''' &lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== More Examples ==&lt;br /&gt;
'''Open a Service Desk htmpl file in a new window'''&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, &amp;amp;quot;Custom Form&amp;amp;quot;, &amp;amp;quot;popup_window('','ztest.htmpl'))&amp;amp;quot;, true, 0, &amp;amp;quot;Select this button to view a Service Desk htmpl in a new window&amp;amp;quot;);&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Open a Service Desk htmpl file in an existing window'''&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, &amp;amp;quot;Existing Window&amp;amp;quot;, &amp;amp;quot;upd_frame('ztest.htmpl')&amp;amp;quot;, true, 0, &amp;amp;quot;Select this button to use the existing window&amp;amp;quot;);&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Open a new window referencing an external URL'''&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, &amp;amp;quot;SDU&amp;amp;quot;, &amp;amp;quot;popupWithURL('http://www.servicedeskusers.com', 1, 1, '')&amp;amp;quot;, true, 0, &amp;amp;quot;User Community for CA/Unicenter Service Desk&amp;amp;quot;);&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Open a new email message referencing the ticket'''&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, &amp;amp;quot;Send eMail&amp;amp;quot;, &amp;amp;quot;window.open('mailto:?subject=Regarding $args.type.sym $args.ref_num&amp;amp;amp;body=Click on the following URL to view $args.type.sym $args.ref_num: $args.web_url')&amp;amp;quot;, true, 0);&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Launch an application'''&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;function ExecuteMyApp() {&lt;br /&gt;
var myshell = new ActiveXObject( &amp;amp;quot;WScript.shell&amp;amp;quot; );&lt;br /&gt;
myshell.run( 'enter application command line here', 1, true );&lt;br /&gt;
}&lt;br /&gt;
ImgBtnCreate(&amp;amp;quot;btn001&amp;amp;quot;, &amp;amp;quot;My Application&amp;amp;quot;, &amp;amp;quot;ExecuteMyApp()&amp;amp;quot;, true, 0, &amp;amp;quot;Click this button to launch My Application&amp;amp;quot;);&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=4163</id>
		<title>Bop odump</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=4163"/>
				<updated>2010-11-24T03:17:38Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://exytebuc.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://exytebuc.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Use this command to dump the object information (attributes) from the database. Not quite as useful as [[pdm_extract]] (doesn't support formatting the output and doesn't show by default all fields), but allows the use of references in the object dotted notation.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_odump &amp;amp;lt;domsrvr_name&amp;amp;gt; &amp;amp;lt;object_factory&amp;amp;gt; &amp;amp;lt;where_clause&amp;amp;gt; [attributes]&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Parameter&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;lt;domsrvr_name&amp;amp;gt;&lt;br /&gt;
| the name of the object engine that is interrogated.&lt;br /&gt;
| '''required''' - usually this is simply '''domsrvr'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;lt;object_factory&amp;amp;gt;&lt;br /&gt;
|  the name of the object that you want to dump&lt;br /&gt;
| '''required''' for example 'cr', 'chg', 'alg', 'nr'&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;lt;where_clause&amp;amp;gt;&lt;br /&gt;
| additional filter for the list, has the form of an SQL 'where' clause&lt;br /&gt;
| '''required''' -  just put &amp;amp;quot;&amp;amp;quot; for an empty clause&lt;br /&gt;
|-&lt;br /&gt;
| [attributes]&lt;br /&gt;
|  list of attributes of the object to return from the search&lt;br /&gt;
|  the list of attributes is space separated.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Dump the Reference number for all Requests:&lt;br /&gt;
 bop_odmp domsrvr cr &amp;amp;quot;&amp;amp;quot; ref_num&lt;br /&gt;
&lt;br /&gt;
* Dump all Incidents attached to Problem 12 and still active:&lt;br /&gt;
 bop_odump domsrvr in &amp;amp;quot; problem.ref_num='12' AND active=1 &amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Dump all Requests that belong to an Analyst with the username Fred, show the Affected user name:&lt;br /&gt;
 bop_odump domsrvr cr &amp;amp;quot; assignee.userid='fred' &amp;amp;quot; customer.combo_name&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Troubleshooting_Spell_Code&amp;diff=4162</id>
		<title>Troubleshooting Spell Code</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Troubleshooting_Spell_Code&amp;diff=4162"/>
				<updated>2010-11-24T03:17:18Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ocavyle.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ocavyle.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spel Code]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Troubleshooting spell code always was such as a hell for me, until I meet bop_cmd.&lt;br /&gt;
&lt;br /&gt;
Every once in a while we need to test some kind of structure, logic or even code and we always forget a semicolon, a curly bracket and BANG Service Desk crashes and we need to debug, restart, copy code and of course, lose time.&lt;br /&gt;
&lt;br /&gt;
With bop_cmd we can run spell code with little or no impact in Service Desk.&lt;br /&gt;
&lt;br /&gt;
Of course, to run a spell file, we need the pdm_daemon_manager service to be running.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
bop_cmd -s spell file.spl  &amp;amp;quot;spell_function in file(0, parameter1, parameter2, parameter3)&amp;amp;quot;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
To simulate the triggering event such as Service Desk does, always send to the function a first parameter 0 (which I do not know what it is, but trust me, you need to do this), the name of the property described in the mod file, and two values, one representing the value before the trigger was fired, and one after.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* In this example, we start a spell function named ''chips'' in a spell file named ''potato.spl'', simulating the priority change from 0 to 1.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
bop_cmd -s potato.spl &amp;amp;quot;chips(0, 'priority', 0, 1 )&amp;amp;quot;&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_kit&amp;diff=4161</id>
		<title>Pdm kit</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_kit&amp;diff=4161"/>
				<updated>2010-11-24T03:17:10Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://oleqatyqi.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://oleqatyqi.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This command can be used to import knowledge data.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
You can specify input parameters in two ways:&lt;br /&gt;
#Using command line arguments&lt;br /&gt;
#Using configuration file kit_config.txt (via pdm_kit –i)&lt;br /&gt;
&lt;br /&gt;
pdm_kit [-h] [-i] [-f] [-e] [-o] [-s] [-t] [-r] [-v] [-d] [-x] [filename]&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
|Specifies help&lt;br /&gt;
|-&lt;br /&gt;
| -i&lt;br /&gt;
|Specifies the user input template defined in kit_config.txt.&lt;br /&gt;
|-&lt;br /&gt;
| -f&lt;br /&gt;
|importing file&lt;br /&gt;
|-&lt;br /&gt;
| -e&lt;br /&gt;
|header file&lt;br /&gt;
|-&lt;br /&gt;
| -o&lt;br /&gt;
|Default document owner. (KBI and KPF formats only)&lt;br /&gt;
|-&lt;br /&gt;
| -s&lt;br /&gt;
|Default document status. ((KBI and KPF formats only)&lt;br /&gt;
|-&lt;br /&gt;
| -t&lt;br /&gt;
|Type of import - KBI, KPF, TXT, CAT&lt;br /&gt;
|-&lt;br /&gt;
| -r&lt;br /&gt;
|Error thresh hold ratio&lt;br /&gt;
|-&lt;br /&gt;
| -v&lt;br /&gt;
|Specifies that the output should contain more information during import such as, attribute values of the document that is currently imported.&lt;br /&gt;
|-&lt;br /&gt;
| -d&lt;br /&gt;
|Specifies that the document indexing feature should be turned off.&lt;br /&gt;
|-&lt;br /&gt;
| -x&lt;br /&gt;
|Specifies that the document re indexing feature should be turned off.&lt;br /&gt;
|-&lt;br /&gt;
| -filename&lt;br /&gt;
|Specifies the name of the template or file that is imported.&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
 pdm_kit -f request_category.txt -t CAT -x&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_deref&amp;diff=4160</id>
		<title>Pdm deref</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_deref&amp;diff=4160"/>
				<updated>2010-11-24T03:16:49Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ihyveqo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Use this command to replace data with data found in another table. &lt;br /&gt;
&lt;br /&gt;
For example, lets say you performed the following extract:&lt;br /&gt;
'''pdm_extract -f &amp;amp;quot;SELECT id,category FROM Call_Req&amp;amp;quot; &amp;amp;gt; output.txt.'''&lt;br /&gt;
The resulting extract would have the category entries displayed in their persid format such as pcat:400001. If you wanted to replace the category persid with the sym, the pdm_deref can perform that function.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_extract [-s] specfile [-c|-e|-r] [-d] [-h] [-n] [-p] [-u] [-v 1|2] &amp;amp;lt;filename&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -s specfile&lt;br /&gt;
| file containing SQL statement&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
| csv output&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -e&lt;br /&gt;
| csv output with double double quotes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -r&lt;br /&gt;
| informal report output&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -d&lt;br /&gt;
| diagnostics&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| Help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -p&lt;br /&gt;
| preserve whitespace&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -u&lt;br /&gt;
| no headers&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -v &amp;amp;lt;nowiki&amp;amp;gt;[1|2]&amp;amp;lt;/nowiki&amp;amp;gt;&lt;br /&gt;
| verbose. 1 is brief and 2 prints to a log file.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
| filename&lt;br /&gt;
| file to be processed&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Specfile Example==&lt;br /&gt;
A [[pdm_extract]] in the following format:&lt;br /&gt;
&amp;amp;lt;source lang=text&amp;amp;gt;TABLE Call_Req&lt;br /&gt;
	id category &lt;br /&gt;
	{ &amp;amp;quot;499998&amp;amp;quot; ,&amp;amp;quot;pcat:400001&amp;amp;quot; }&lt;br /&gt;
	{ &amp;amp;quot;499999&amp;amp;quot; ,&amp;amp;quot;pcat:400001&amp;amp;quot; }&amp;amp;lt;/source&amp;amp;gt;...will be change to this format:&lt;br /&gt;
&amp;amp;lt;source lang=text&amp;amp;gt;TABLE Call_Req&lt;br /&gt;
	id category.sym &lt;br /&gt;
	{ &amp;amp;quot;499998&amp;amp;quot; ,&amp;amp;quot;Sofware.Adobe Reader&amp;amp;quot; }&lt;br /&gt;
        { &amp;amp;quot;499999&amp;amp;quot; ,&amp;amp;quot;Softtware.Adobe Writer&amp;amp;quot; }&amp;amp;lt;/source&amp;amp;gt;...by running a specfile containing the following SQL Statement:&lt;br /&gt;
&amp;amp;lt;source lang=sql&amp;amp;gt;Deref&lt;br /&gt;
{&lt;br /&gt;
input = category&lt;br /&gt;
output = category.sym&lt;br /&gt;
rule = &amp;amp;quot;SELECT sym FROM Prob_Category WHERE persid=?&amp;amp;quot;&lt;br /&gt;
}&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Deref of a basic text file&lt;br /&gt;
 pdm_deref -s specfile.txt &amp;amp;lt; input.txt &amp;amp;gt; output.txt&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Spel_Reference_Guide&amp;diff=4159</id>
		<title>Spel Reference Guide</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Spel_Reference_Guide&amp;diff=4159"/>
				<updated>2010-11-24T03:16:46Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://imygijesusy.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://imygijesusy.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
Note: please treat SPELL as SPEL &lt;br /&gt;
== Overview ==&lt;br /&gt;
Spell is CA proprietary code used to script Service Desk core operations. Spell code can be found in .spl and .maj files located in [[$NX_ROOT]]\bopcfg\majic and [[$NX_ROOT]]\site\mods\majic directories. Other examples can be found in the [[$NX_ROOT]]\samples directory.&lt;br /&gt;
&lt;br /&gt;
Note: .spl files with a ''pcd'' preceding the .spl are encrypted files, such as chgpcd.spl or itilpcd.spl.&lt;br /&gt;
&lt;br /&gt;
Spell is usually used to write methods for object or attribute triggers.  Examples may be attribute validation, notification, post processing, etc.&lt;br /&gt;
&lt;br /&gt;
Spell is interpreted and executed by the Method Engine (spel_srvr), it can also be executed from the command line with bop_cmd command that interprets the fragment (.frg) files and executes the code.&lt;br /&gt;
&lt;br /&gt;
The language resembles C++.  Unlike C or C++, Spell does not support pointers or structures.&lt;br /&gt;
&lt;br /&gt;
== Reference Sections ==&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Functions&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[format]]&lt;br /&gt;
*[[getenv]]&lt;br /&gt;
*[[gsub]]&lt;br /&gt;
*[[is_empty]]&lt;br /&gt;
*[[is_null]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[misc:find_mang]]&lt;br /&gt;
*[[now]]&lt;br /&gt;
*[[send_wait]]&lt;br /&gt;
*[[sindex]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[strlen]]&lt;br /&gt;
*[[substr]]&lt;br /&gt;
*[[workshift_abs2work]]&lt;br /&gt;
*[[workshift_work2abs]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Statements&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[if]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[for]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[while]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Other&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Data Type Conversion]]&lt;br /&gt;
*[[Operators]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Spel FAQ]]&lt;br /&gt;
*[[Triggering Reaction]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Troubleshooting Spell Code|Troubleshooting]]&lt;br /&gt;
*[[Variables and Types]]&lt;br /&gt;
*[[Methods handling]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[WSSIWYG]] by Nero Le Velu&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Send_wait&amp;diff=4158</id>
		<title>Send wait</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Send_wait&amp;diff=4158"/>
				<updated>2010-11-24T03:16:27Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ogetehuvo.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Spell Code]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
== Overview ==&lt;br /&gt;
This is the most tricky function and it is the main reason of difficulty of reading [[Spel_Reference_Guide|SPELL code]]. It is used for calling methods on objects. On every SD object (ie. cr, chg, alg...) are defined methods and using ''send_wait'' function you can call them. Definitions of some of them are in *.maj files in [[$NX_ROOT]]/bopcfg/majic folder.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
void send_wait (int timeout, object top_object, string method, [ var parameters… ])&lt;br /&gt;
&lt;br /&gt;
* timeout - how long (in seconds) should the method wait for finishing the method (0 means infinite). A timeout mean time after which the function is considering as failure, returning to caller with error and no result. Nearly every time the 0 is used.&lt;br /&gt;
* top_object - root object for the method (on which the method is called)&lt;br /&gt;
* method - name of the called method&lt;br /&gt;
* parameters - variable number of parameters based on the called method&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Function doesn't return value, but methods usually fill global '''msg''' array with return values. What values are on what positions depends on the called method.&lt;br /&gt;
&lt;br /&gt;
== Available methods ==&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Base object common&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
|colspan=3|These methods are defined on all objects (maybe)&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitCall_Attr|call_attr]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[get_attr_vals]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitGet_Co_group|get_co_group]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Base object CR&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitAuto_assign|auto_assign]]&lt;br /&gt;
*[[Send_WaitChange_status|change_status]]&lt;br /&gt;
*[[Send_WaitClose_call_request|close_call_request]]&lt;br /&gt;
*[[Send_WaitCopy_cr|copy_cr]]&lt;br /&gt;
*[[Send_WaitCopy_cr_site|copy_cr_site]]&lt;br /&gt;
*[[Send_WaitCob_mark_delete|dob_mark_delete]]&lt;br /&gt;
*[[Send_WaitCo_expand|do_expand]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitEscalate|escalate]]&lt;br /&gt;
*[[Send_WaitIinit_activity|init_activity]]&lt;br /&gt;
*[[Send_WaitInit_call_request|init_call_request]]&lt;br /&gt;
*[[Send_WaitLog_callback|log_callback]]&lt;br /&gt;
*[[Send_WaitLog_comment|log_comment]]&lt;br /&gt;
*[[Send_WaitLog_comment_no_checkout|log_comment_no_checkout]]&lt;br /&gt;
*[[Send_WaitLog_event|log_event]]&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitLog_research|log_research]]&lt;br /&gt;
*[[Send_WaitMake_from_template|make_from_template]]&lt;br /&gt;
*[[Send_WaitMake_from_template_site|make_from_template_site]]&lt;br /&gt;
*[[Send_WaitManual_notify|manual_notify]]&lt;br /&gt;
*[[Send_WaitReopen_call_request|reopen_call_request]]&lt;br /&gt;
*[[Send_WaitSend_api_msg|send_api_msg]]&lt;br /&gt;
*[[Send_WaitTransfer|transfer]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| width=&amp;amp;quot;100%&amp;amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=3|'''&amp;amp;lt;font size=&amp;amp;quot;3&amp;amp;quot;&amp;amp;gt;Base object CHG&amp;amp;lt;/font&amp;amp;gt;'''&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;amp;quot;34%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitAccumulate|accumulate]]&lt;br /&gt;
*[[Send_WaitAccumulate_change|accumulate_change]]&lt;br /&gt;
*[[Send_WaitAccumulate_workflows|accumulate_workflows]]&lt;br /&gt;
*[[Send_WaitAdd_assets|add_assets]]&lt;br /&gt;
*[[Send_WaitAdd_auditlog|add_auditlog]]&lt;br /&gt;
*[[Send_WaitAuto_assign|auto_assign]]&lt;br /&gt;
*[[Send_WaitChange_status|change_status]]&lt;br /&gt;
*[[Send_WaitClose_change_descedents|close_change_descendents]]&lt;br /&gt;
*[[Send_WaitClose_change_request|close_change_request]]&lt;br /&gt;
&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitCopy_chg|copy_chg]]&lt;br /&gt;
*[[Send_WaitCopy_chg_site|copy_chg_site]]&lt;br /&gt;
*[[Send_WaitDo_expand|do_expand]]&lt;br /&gt;
*[[Send_WaitDob_mark_delete|dob_mark_delete]]&lt;br /&gt;
*[[Send_WaitEscalate|escalate]]&lt;br /&gt;
*[[Send_WaitFast_track|fast_track]]&lt;br /&gt;
*[[Send_WaitImpact_analysis|impact_analysis]]&lt;br /&gt;
&lt;br /&gt;
| width=&amp;amp;quot;33%&amp;amp;quot; align=&amp;amp;quot;left&amp;amp;quot; style=&amp;amp;quot;vertical-align:top;&amp;amp;quot; |&lt;br /&gt;
*[[Send_WaitInit_activity|init_activity]]&lt;br /&gt;
*[[Send_WaitInit_change_request|init_change_request]]&lt;br /&gt;
*[[Send_WaitLog_event|log_event]]&lt;br /&gt;
*[[Send_WaitMake_from_template|make_from_template ]]&lt;br /&gt;
*[[Send_WaitMake_from_template_site|make_from_template_site ]]&lt;br /&gt;
*[[Send_WaitManual_notify|manual_notify]]&lt;br /&gt;
*[[Send_WaitOk_close_descedents|ok_close_descendents]]&lt;br /&gt;
*[[Send_WaitRemove_all_assets|remove_all_assets]]&lt;br /&gt;
*[[Send_WaitTransfer|transfer]]&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Prevent_Update_to_Past_Activities&amp;diff=4157</id>
		<title>Prevent Update to Past Activities</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Prevent_Update_to_Past_Activities&amp;diff=4157"/>
				<updated>2010-11-24T03:16:16Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://olitudyxej.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://olitudyxej.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article contains the instructions to restrict updating of past [[activities]]. &lt;br /&gt;
&lt;br /&gt;
'''Option One:''' This option restricts Contacts from editing entries to the [[Activity Log|Activity Logs]] generated by other Contacts. In other words, you will only be able to update items in the [[Activities]] tab that were generated by you. &amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
'''Option Two:''' This option restricts all updating.&lt;br /&gt;
&lt;br /&gt;
This customization is known to work in all currently supported releases of Service Desk.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Add to the Controlled Tables list ===&lt;br /&gt;
The first step is to add new tables to the [[Controlled Tables]] list. This will allow us to create [[Data Partitions|Data Partition Constraints]] against those tables. The tables we will be adding are those associated with the [[Activity Log|Activity Logs]].&lt;br /&gt;
&lt;br /&gt;
Create a text file using the following syntax:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;TABLE Controlled_Table&lt;br /&gt;
   del desc obj_name sym&lt;br /&gt;
   { &amp;amp;quot;0&amp;amp;quot; ,&amp;amp;quot;Activity Log tables&amp;amp;quot; ,&amp;amp;quot;alg&amp;amp;quot; ,&amp;amp;quot;Act_Log&amp;amp;quot; }&lt;br /&gt;
   { &amp;amp;quot;0&amp;amp;quot; ,&amp;amp;quot;Change Activity Log tables&amp;amp;quot; ,&amp;amp;quot;chgalg&amp;amp;quot; ,&amp;amp;quot;Change_Act_Log&amp;amp;quot; }&lt;br /&gt;
   { &amp;amp;quot;0&amp;amp;quot; ,&amp;amp;quot;Issue Activity Log tables&amp;amp;quot; ,&amp;amp;quot;issalg&amp;amp;quot; ,&amp;amp;quot;Issue_Act_Log&amp;amp;quot; }&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then run the following command:&lt;br /&gt;
 pdm_load -f yourfile.txt -i -v&lt;br /&gt;
&lt;br /&gt;
This process will add three new tables to the [[Controlled Tables]] list which account for all the ticket activity logs in Service Desk.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Create the Data Partition Constraint ===&lt;br /&gt;
Create a '''PRE-UPDATE''' Constraint, as needed, for each of the [[Act Log Table|Act_Log]], [[Change Act Log Table|Change_Act_Log]], and [[Issue Act Log Table|Issue_Act_Log ]] tables.&lt;br /&gt;
&lt;br /&gt;
The Constraint syntax for Option One is: '''analyst = @root.id'''&lt;br /&gt;
&lt;br /&gt;
The Constraint syntax for Option Two is: '''id=1'''&lt;br /&gt;
&lt;br /&gt;
Be sure to provide an Error Message for your [[Data Partitions|Constraint]] (eg &amp;amp;quot;You must be the originator of this Activity in order to update it&amp;amp;quot; or &amp;amp;quot;Updating of Activities is not permitted&amp;amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Recycle the Service Desk Service ===&lt;br /&gt;
After recycling the Services, your Constraint will be active.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_extract&amp;diff=4156</id>
		<title>Pdm extract</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_extract&amp;diff=4156"/>
				<updated>2010-11-24T03:15:47Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://yxiwisewava.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://yxiwisewava.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Use this command to dump data from the database to the screen or file (typically txt, dat, or csv).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_extract [-h] [-f] [-c] [-e] [-r] [-v] [-s] [-u] [-d] [-x] [-X] [ALL | database table names]&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| Help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -f&lt;br /&gt;
| format string&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
| csv output&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -e&lt;br /&gt;
| csv output with double double quotes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -r&lt;br /&gt;
| informal report output&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -v&lt;br /&gt;
| verbose&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -s&lt;br /&gt;
| saved script&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -u&lt;br /&gt;
| no headers&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -d&lt;br /&gt;
| use dataent.fmt&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -x&lt;br /&gt;
| locale sensitive numeric formats&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -X&lt;br /&gt;
| extract all tables except table list &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* Extract all Service Desk tables&lt;br /&gt;
 pdm_extract All &amp;amp;gt; All.txt&lt;br /&gt;
&lt;br /&gt;
* Extract a filtered list&lt;br /&gt;
 pdm_extract -f &amp;amp;quot;SELECT * FROM Call_Req WHERE type = 'I'&amp;amp;quot; &amp;amp;gt; Call_Req.dat&lt;br /&gt;
&lt;br /&gt;
* Extract a full table&lt;br /&gt;
 pdm_extract Priority &amp;amp;gt; pri.txt&lt;br /&gt;
&lt;br /&gt;
* Extract multiple tables&lt;br /&gt;
 pdm_extract Call_Request Activity_Log &amp;amp;gt; call.dat&lt;br /&gt;
&lt;br /&gt;
* Extract two or more joined tables (you cannot use INNER JOIN or similar clausules, only this cross join is possible)&lt;br /&gt;
 pdm_extract -f &amp;amp;quot;SELECT  ca_contact.id, c_acctyp_id FROM ca_contact, usp_contact WHERE ca_contact.id = usp_contact.id AND c_acctyp_id is null&amp;amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;amp;lt;div align='center'&amp;amp;gt;&amp;amp;lt;font color=&amp;amp;quot;green&amp;amp;quot;&amp;amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;amp;lt;/font&amp;amp;gt;&amp;amp;lt;/div&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=What_Everyone_Should_Know_About_Customizing_the_Scoreboard&amp;diff=4155</id>
		<title>What Everyone Should Know About Customizing the Scoreboard</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=What_Everyone_Should_Know_About_Customizing_the_Scoreboard&amp;diff=4155"/>
				<updated>2010-11-24T03:15:34Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://uwujojedeh.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=&lt;br /&gt;
----&lt;br /&gt;
=[http://uwujojedeh.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== The Shocking Truth ==&lt;br /&gt;
Once the ''Customize Scoreboard'' window has been launched, it is ''impossible'' to close it without a SAVE occurring. Whether selecting the ''Finished'' button, or the ''(close window)'' option, or the X in the corner of the browser window, a SAVE is processed and as a result new entries to the [[User_Query Table|usq (User Stored Query)]] are created for that user if there were none previously. This means that a user who was running the default Scoreboard is no longer running the default. It may look like the default, but changes to the default will not be seen on this user's Scoreboard which is evidence that the user is in fact running a custom version.&lt;br /&gt;
&lt;br /&gt;
== The ''Finished'' Button ==&lt;br /&gt;
You may be wondering what does the Finished button do if the mere act of closing the window will create/modify a custom Scoreboard. The ''Finished'' button performs the SAVE, closes the Customize Scoreboard window, and reloads the active Scoreboard with the changes.&lt;br /&gt;
&lt;br /&gt;
== The ''Reset Tree'' Button ==&lt;br /&gt;
There is a lot of deception behind the ''Reset Tree'' button. The logical assumption is that the ''Reset Tree'' button clears your Custom Scoreboard resulting in a return to your Access Type's default Scoreboard. Unfortunately it doesn't really work that way. While it does erase your current customized Scoreboard entries from the [[User_Query Table|usq (User Stored Query)]] table, it actually creates new entries by copying your Access Type's Scoreboard. In other words, you will have a customized Scoreboard that looks identical to the default.&lt;br /&gt;
&lt;br /&gt;
== Clearing all Custom Scoreboards ==&lt;br /&gt;
#Run the following command to obtain a data extract of all the Scoreboard entries relating to Contacts: &amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_extract -f &amp;amp;quot;SELECT * FROM User_Query WHERE obj_persid LIKE 'cnt%' &amp;amp;quot; &amp;amp;gt; User_Query_delete.txt&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
#Run the following command to purge all the Scoreboard entries identified in the extract obtained in step 1: &amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_load -f User_Query_delete.txt -r -v&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Clearing a Single User's Custom Scoreboard ==&lt;br /&gt;
# Obtain the UUID/ID of the Contact Record for the user you wish to reset. ''For r11.x releases'' the UUID field in the ca_contact table. ''For older releases'' the ID field in the Contact (CTCT) table.&amp;amp;lt;br&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
# Run one of the following commands to generate an extract of all Scoreboard entries for a specific contact.  ''For r11.x releases'', run this command: &amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_extract -f &amp;amp;quot;SELECT * FROM User_Query WHERE obj_persid = 'cnt:xxxxxx' &amp;amp;quot; &amp;amp;gt; User_Query_delete.txt&amp;amp;lt;/source&amp;amp;gt;''For older releases'' run this command: &amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_extract -f &amp;amp;quot;SELECT * FROM User_Query WHERE analyst = 'xxxxxx' &amp;amp;quot; &amp;amp;gt; User_Query_delete.txt&amp;amp;lt;/source&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
# Run the following command to purge a single user's custom Scoreboard:&amp;amp;lt;source lang=&amp;amp;quot;text&amp;amp;quot;&amp;amp;gt;pdm_load -f User_Query_delete.txt -r -v&amp;amp;lt;/source&amp;amp;gt;&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Service_Fails_to_Finish_Starting&amp;diff=4154</id>
		<title>Service Fails to Finish Starting</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Service_Fails_to_Finish_Starting&amp;diff=4154"/>
				<updated>2010-11-24T03:15:10Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]=&lt;br /&gt;
----&lt;br /&gt;
=[http://aluxyxenud.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:r6]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides procedures to follow if the Service Desk Service fails to start and remains in the ''Starting'' state. &amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hanging Service ==&lt;br /&gt;
You may likely encounter a situation where you started the Service Desk Service but it fails to start completely and remains in the ''Starting'' state. Often this is caused by an error in configuration file, or a timeout when trying to access a resource such as the database or a Secondary Server. When your system gets in this state the first thing to do is to stop the hanging service. &lt;br /&gt;
&lt;br /&gt;
# Perform a [[pdm_halt]]&lt;br /&gt;
# Kill process from Windows Task Manager (especially the java one) and all bop_* pdm_*, sql_agent (orcl or db agent)&lt;br /&gt;
# Set the service to manual and reboot the server&lt;br /&gt;
&lt;br /&gt;
== stdlog Files ==&lt;br /&gt;
Once the service has stopped, or the server has rebooted, analyze the most recent stdlog to find the culprit. Starting at the bottom of the stdlog look for ERROR, WARNING and FATAL entries. &lt;br /&gt;
&lt;br /&gt;
*If there are errors referring to a Secondary Server, try recycling the Service Desk Proctor on that Server.&lt;br /&gt;
&lt;br /&gt;
*If there are errors pertaining to a database connection, try pinging the database. If the database is there, try accessing the database using the same account Service Desk is configured to use. &lt;br /&gt;
&lt;br /&gt;
*If there are errors regarding a custom .spl file, try removing the file.&lt;br /&gt;
&lt;br /&gt;
If dealing with a Productions system, it is advised to contact CA Support if the culprit of the problem is not obvious to you within a reasonable amount of time. Be sure to forward them your most recent stdlog because they will most certainly ask for it.&lt;br /&gt;
&lt;br /&gt;
== Windows Event Manager ==&lt;br /&gt;
If still struggling for answers, check out the Windows Event Manager which may contain some good information for problems that are not to blame on Service Desk.&lt;br /&gt;
&lt;br /&gt;
== Automatic vs Manual ==&lt;br /&gt;
It is usually desired to have the Service Desk Service start automatically on a server reboot. While this sounds good in theory, it is often a bad idea. Often services that Service Desk depends on are not fully started when the Service Desk Service starts resulting in a hanging service. Additionally, the more complex your Service Desk installation, the likelihood that problems will be encountered each and every time the service starts automatically.  A workaround in this case is to make it start later using a batch file or creating dependency from one service to another to ensure they start in the correct order.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Add_Personalized_Response_to_Manual_Notification&amp;diff=4153</id>
		<title>Add Personalized Response to Manual Notification</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Personalized_Response_to_Manual_Notification&amp;diff=4153"/>
				<updated>2010-11-24T03:14:58Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://yhenaju.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://yhenaju.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Change Orders]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:Incidents]]&lt;br /&gt;
[[Category:Issues]]&lt;br /&gt;
[[Category:Problems]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
[[Category:Requests]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions on how to add [[Personalized Responses]] to a [[Manual Notification.]] Surprisingly, Manual Notifications are one Activity that does not utilize Personalized Responses. The code that follows provides an option for appending the field content (which is the standard system-wide behavior) or replacing the field content.&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Edit the nf.htmpl form ===&lt;br /&gt;
Add the following code to the HEAD of the form:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&amp;amp;lt;SCRIPT LANGUAGE=&amp;amp;quot;JavaScript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
var resp_sym = new Array();&lt;br /&gt;
var resp_ids = new Array();&lt;br /&gt;
resp_sym[0] = &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
resp_ids[0] = &amp;amp;quot;&amp;amp;quot;;&lt;br /&gt;
resp_field=&amp;amp;quot;KEEP.msgtxt&amp;amp;quot;;&lt;br /&gt;
resp_persid='$args.persistent_id';&lt;br /&gt;
resp_title=&amp;amp;quot;KEEP.msgtitle&amp;amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;PDM_IF &amp;amp;quot;$prop.factory&amp;amp;quot; == &amp;amp;quot;chg&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
	var title_strg = &amp;amp;quot;Change order $args.chg_ref_num Manual Notify&amp;amp;quot;;&lt;br /&gt;
&amp;amp;lt;PDM_ELIF &amp;amp;quot;$prop.factory&amp;amp;quot; == &amp;amp;quot;iss&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
	var title_strg = &amp;amp;quot;Issue $args.ref_num Manual Notify&amp;amp;quot;;&lt;br /&gt;
&amp;amp;lt;PDM_ELSE&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;PDM_IF &amp;amp;quot;$env.NX_OTB_MARKET&amp;amp;quot; == &amp;amp;quot;itil&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
		var title_strg = &amp;amp;quot;$args.type.sym $args.ref_num Manual Notify&amp;amp;quot;;&lt;br /&gt;
	&amp;amp;lt;PDM_ELSE&amp;amp;gt;&lt;br /&gt;
		var title_strg = &amp;amp;quot;Request $args.ref_num Manual Notify&amp;amp;quot;;&lt;br /&gt;
	&amp;amp;lt;/PDM_IF&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/PDM_IF&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;PDM_IF &amp;amp;quot;$prop.factory&amp;amp;quot; == &amp;amp;quot;chg&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;PDM_LIST ESC_STYLE=JS2 prefix=list factory=response where=&amp;amp;quot;delete_flag=0 AND (response_owner IS NULL or response_owner = U'$cst.id') AND chg_flag=1&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
		resp_sym[resp_sym.length] = decodeURIComponent('$list.sym');&lt;br /&gt;
		resp_ids[resp_ids.length] = '$list.id';&lt;br /&gt;
	&amp;amp;lt;/PDM_LIST&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;PDM_ELSE&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;PDM_IF &amp;amp;quot;$args.type&amp;amp;quot; == &amp;amp;quot;R&amp;amp;quot; || &amp;amp;quot;$args.type&amp;amp;quot; == &amp;amp;quot;&amp;amp;quot;&amp;amp;gt; &lt;br /&gt;
		&amp;amp;lt;PDM_LIST ESC_STYLE=JS2 prefix=list factory=response where=&amp;amp;quot;delete_flag=0 AND (response_owner IS NULL or response_owner = U'$cst.id') AND cr_flag=1&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
			resp_sym[resp_sym.length] = decodeURIComponent('$list.sym');&lt;br /&gt;
			resp_ids[resp_ids.length] = '$list.id';&lt;br /&gt;
		&amp;amp;lt;/PDM_LIST&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;PDM_ELIF &amp;amp;quot;$args.type&amp;amp;quot; == &amp;amp;quot;I&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
		&amp;amp;lt;PDM_LIST ESC_STYLE=JS2 prefix=list factory=response where=&amp;amp;quot;delete_flag=0 AND (response_owner IS NULL or response_owner = U'$cst.id') AND in_flag=1&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
			resp_sym[resp_sym.length] = decodeURIComponent('$list.sym');&lt;br /&gt;
			resp_ids[resp_ids.length] = '$list.id';&lt;br /&gt;
		&amp;amp;lt;/PDM_LIST&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;PDM_ELIF &amp;amp;quot;$args.type&amp;amp;quot; == &amp;amp;quot;P&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
		&amp;amp;lt;PDM_LIST ESC_STYLE=JS2 prefix=list factory=response where=&amp;amp;quot;delete_flag=0 AND (response_owner IS NULL or response_owner = U'$cst.id') AND pr_flag=1&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
			resp_sym[resp_sym.length] = decodeURIComponent('$list.sym');&lt;br /&gt;
			resp_ids[resp_ids.length] = '$list.id';&lt;br /&gt;
		&amp;amp;lt;/PDM_LIST&amp;amp;gt;&lt;br /&gt;
	&amp;amp;lt;/PDM_IF&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/PDM_IF&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
function add_response_nf(i)&lt;br /&gt;
{&lt;br /&gt;
if(ahdframe.currentAction==0&amp;amp;amp;&amp;amp;amp;i&amp;amp;gt;0)&lt;br /&gt;
{&lt;br /&gt;
var url=cfgCgi+&amp;amp;quot;?SID=&amp;amp;quot;+cfgSID+&amp;amp;quot;+FID=&amp;amp;quot;+fid_generator()+&lt;br /&gt;
&amp;amp;quot;+OP=PERSRESP_EXPAND+MSG_ID=&amp;amp;quot;+resp_ids[i]+&lt;br /&gt;
&amp;amp;quot;+PERSID=&amp;amp;quot;+resp_persid+&lt;br /&gt;
&amp;amp;quot;+CALLBACK=parent.ahdframe.add_response_callback_nf&amp;amp;quot;;&lt;br /&gt;
display_new_page(url,ahdframeset.workframe);&lt;br /&gt;
set_action_in_progress(ACTN_AUTOFILL);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function add_response_callback_nf(msg){&lt;br /&gt;
set_action_in_progress(0);&lt;br /&gt;
if (document.main_form.elements[&amp;amp;quot;KEEP.msgtxt&amp;amp;quot;].value == &amp;amp;quot;&amp;amp;quot;) {&lt;br /&gt;
 document.main_form.elements[resp_title].value=unescape(title_strg);&lt;br /&gt;
}&lt;br /&gt;
document.main_form.elements[resp_field].value+=unescape(msg); // Use to append Message Text content&lt;br /&gt;
// document.main_form.elements[resp_field].value=unescape(msg); // Use to replace Message Text content&lt;br /&gt;
}&lt;br /&gt;
&amp;amp;lt;/SCRIPT&amp;amp;gt;&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following code to the BODY of the form:&lt;br /&gt;
&amp;amp;lt;source lang=&amp;amp;quot;javascript&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
if (resp_ids.length &amp;amp;gt; 1)&lt;br /&gt;
{&lt;br /&gt;
&amp;amp;lt;PDM_MACRO NAME=dtlStartRow&amp;amp;gt;&lt;br /&gt;
detailRowHdr(&amp;amp;quot;Personalized Response&amp;amp;quot;,1,0);&lt;br /&gt;
docWriteln('&amp;amp;lt;TR&amp;amp;gt;&amp;amp;lt;TD ALIGN=LEFT&amp;amp;gt;');&lt;br /&gt;
_dtl.eventHandler = 'onBlur=&amp;amp;quot;add_response_nf(selectedIndex)&amp;amp;quot;';&lt;br /&gt;
docWriteln('&amp;amp;lt;SELECT' + detailNextID(true) + '&amp;amp;gt;');&lt;br /&gt;
for (i = 0; i &amp;amp;lt; resp_ids.length; i++)&lt;br /&gt;
{&lt;br /&gt;
	docWrite('&amp;amp;lt;OPTION VALUE=&amp;amp;quot;' + resp_ids[i] + '&amp;amp;quot; ');&lt;br /&gt;
	docWriteln('&amp;amp;gt;' + resp_sym[i] +'&amp;amp;lt;/OPTION&amp;amp;gt;');&lt;br /&gt;
}&lt;br /&gt;
docWriteln('&amp;amp;lt;/SELECT&amp;amp;gt;&amp;amp;lt;/TD&amp;amp;gt;&amp;amp;lt;/TR&amp;amp;gt;');&lt;br /&gt;
}&lt;br /&gt;
&amp;amp;lt;/source&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Clear the web cache ===&lt;br /&gt;
Publish your changes via the [[Web Screen Painter]]. The process of publishing automatically initiates a [[pdm_webcache]].&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_load&amp;diff=4152</id>
		<title>Pdm load</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_load&amp;diff=4152"/>
				<updated>2010-11-24T03:14:19Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ebytery.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ebytery.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Commands]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Use pdm_load to insert, update or remove data into the database and bypass the GUIs.&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
pdm_load uses the SeviceDesk virtual DB Schema layer to access the physical database.&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
Contrary to direct Database access by ODBC for example, each data change is directly propagated to all ServiceDesk processes.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_load -f [filename] [-a] [-c] [-e] [-h] [-i] [-m] [-v] [-r] [-u] [-x]&lt;br /&gt;
&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Command&lt;br /&gt;
! Description&lt;br /&gt;
! Remarks&lt;br /&gt;
|-&lt;br /&gt;
| -a&lt;br /&gt;
| update all matching data&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -c&lt;br /&gt;
| check only, no change to data&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -e&lt;br /&gt;
| treat escapes literally&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -h&lt;br /&gt;
| help&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -i&lt;br /&gt;
| insert only&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -m&lt;br /&gt;
| notify domsrvr of mass update&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -v&lt;br /&gt;
| verbose&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -r&lt;br /&gt;
| remove&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -u&lt;br /&gt;
| update only&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -x&lt;br /&gt;
| use locale sensitive numeric input formats&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* A standard load. This load assumes that the file contains ids or uuids for all entries.&lt;br /&gt;
 pdm_load -f extract.txt -v&lt;br /&gt;
&lt;br /&gt;
* Using the -i to load data will force the creation of new ids and uuids. The file being loaded should be void of any id and uuid data.&lt;br /&gt;
 pdm_load -f cnt_data.csv -i -v&lt;br /&gt;
&lt;br /&gt;
* Removing some info (not shared by another application) from a file. Use the -r&lt;br /&gt;
 pdm_load -f InfoToRemove.dat -r -v 2&amp;amp;gt;load.err&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
When doing a pdm_load of a ca_xxxxxx table that contains references to another ca_xxxxxx table, the reference must be valid or the entry will not be loaded and an error generated. For example, if loading the ca_contact table, if the ca_location_uuid field contains references to the ca_location table, then the record that is being reference MUST exist in the ca_location table or that particular entry will not be loaded. A common scenario is to perform an extract of the production contact data and then load it into development. However if the contact tables has references to the ca_location table you will first need to do a load of the ca_location table to ensure that all the references from the ca_contact load are valid. And if the ca_location table has references to the ca_site table, you will need to do a load of ca_site to ensure all the references from the ca_location load are valid.&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Events_and_Macros&amp;diff=4151</id>
		<title>Events and Macros</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Events_and_Macros&amp;diff=4151"/>
				<updated>2010-11-24T03:14:13Z</updated>
		
		<summary type="html">&lt;p&gt;Agegeleruvy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;----&lt;br /&gt;
&amp;lt;div style=&amp;quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&amp;quot;&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
=[http://ecacoraqosy.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=&lt;br /&gt;
----&lt;br /&gt;
=[http://ecacoraqosy.co.cc CLICK HERE]=&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Starting with the r11.x releases, events and macros are managed in the web client.  Prior to r11, they were managed in the java client.&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
Events are the combination of a condition and one or more actions.  They are attached with tickets via Service Types, Service Contracts, or custom code.  If an event is attached to a ticket, it will trigger after a defined period of time.  When an event is triggered, it's condition is evaluated and will return either True or False.  Any actions associated with the condition evaluating to True or False are then executed.&lt;br /&gt;
&lt;br /&gt;
== Macros ==&lt;br /&gt;
The conditions and actions that are used in defining Events are done using macros.  While condition macros evaluate to either True or False, action macros allow for just about any action possible within Service Desk.  Below are explanations and examples of the two types of condition macros (Condition Macros and Site-Defined Condition Macros) and 4 types of action macros (Action Macros, Attach Event Macros, Multiple Notification Macros, Remote Reference Macro).&lt;br /&gt;
&lt;br /&gt;
=== Site-Defined Condition Macro ===&lt;br /&gt;
Site-Defined Condition Macros are a special kind of condition macro. There are no site-defined condition macros included in a fresh install of Service Desk.  They are created by the client.  While the Site-Defined Condition Macros provide an easy to use interface and offer vast flexibility, they do not offer as much flexibility as Condition Macros.&lt;br /&gt;
&lt;br /&gt;
=== Condition Macro ===&lt;br /&gt;
When a site-defined macro won't do the job, it is time to use Condition Macros.  A fresh install of Service Desk contains quite a few to start with. There are no default capabilities for managing Condition Macros within the administration interface.  Since they are written in Spell code and Spell code is not officially supported by CA, take special caution when working with them.  To add new Condition Macros, see [[How To Manage Spell-Based Macros]].&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that you do not modify ANY of the default Condition Macros. If changes are needed, create a new one based on the original. It is best to reference existing Condition Macros to understand the coding that is needed.&lt;br /&gt;
&lt;br /&gt;
=== Action Macro ===&lt;br /&gt;
Action Macros are typically used to set field values, such as increasing Priority or setting the SLA violation.  However, since they are written in Spell code, they can perform just about any action possible within Service Desk.  A fresh install of Service Desk contains quite a few to start with. There are no default capabilities for managing Action Macros.  To add new Action Macros, see [[How To Manage Spell-Based Macros]].&lt;br /&gt;
&lt;br /&gt;
It is highly recommended that you do not modify ANY of the default Action Macros. If changes are needed, create a new one based on the original. It is best to reference existing Action Macros to understand the coding that is needed.&lt;br /&gt;
&lt;br /&gt;
=== Attach Event Macro ===&lt;br /&gt;
Attach Event Macros are used to attach another event. This allows for complex branching in your conditioning as well as on going processing. &lt;br /&gt;
&lt;br /&gt;
=== Multiple Notification Macro ===&lt;br /&gt;
Multiple Notification Macros are the most commonly used type of macros. They are used to send out notifications. Unlike [[Activity Notifications]], Events combined with Multiple Notification Macros add more flexibility with notification. However, by default, Multiple Notification Macros do not provide HTML email support.&lt;br /&gt;
&lt;br /&gt;
=== Remote Reference Macro ===&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Condition Macros ===&lt;br /&gt;
&lt;br /&gt;
=== Site-Defined Condition Macros ===&lt;br /&gt;
&lt;br /&gt;
=== Action Macros ===&lt;br /&gt;
[[Add_Custom_Activity_Log_Action_Macro|Add Custom Activity Log]]&lt;br /&gt;
&lt;br /&gt;
=== Attach Event Macros ===&lt;br /&gt;
&lt;br /&gt;
=== Multiple Notification Macros ===&lt;br /&gt;
&lt;br /&gt;
=== Remote Reference Macros ===&lt;/div&gt;</summary>
		<author><name>Agegeleruvy</name></author>	</entry>

	</feed>