<?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=Mitcr01</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=Mitcr01"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Mitcr01"/>
		<updated>2026-07-28T12:07:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5483</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5483"/>
				<updated>2013-10-01T14:36:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* The Attachment Tab form */ - fix.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Procedures =&lt;br /&gt;
== SDM Schema customizations ==&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called '''z_nr_cis.maj'''. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
==Interface customizations ==&lt;br /&gt;
=== Configuration Item detail form ===&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attachments list form ===&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== The Attachment Tab form ===&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file.&lt;br /&gt;
&lt;br /&gt;
1. Search for the following code fragment:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Towards the end of the file, after&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_ELIF &amp;quot;$prop.factory&amp;quot; == &amp;quot;iss&amp;quot;&amp;gt;&lt;br /&gt;
      att_tab_url += &amp;quot;+QBE.EQ.issues.iss.persistent_id=$args.persistent_id&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
add the following code:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot; &amp;gt;  &lt;br /&gt;
&amp;lt;PDM_ELIF &amp;quot;$prop.factory&amp;quot; == &amp;quot;nr&amp;quot;&amp;gt;&lt;br /&gt;
      att_tab_url += &amp;quot;+QBE.EQ.nrs.nr.id=$args.id&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clear the SDM web cache ===&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items&amp;diff=5482</id>
		<title>Attachments on Configuration Items</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items&amp;diff=5482"/>
				<updated>2012-12-06T13:06:32Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:r12]]&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 attachment capabilities to Configuration Items.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r11.x and r12.1 versions only. For r12.5 and above use the [[Attachments_on_Configuration_Items_r12|revised version]]''&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Modify Schema ===&lt;br /&gt;
For ALL releases make your schema change 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'. Take the code you need from the examples below.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;LREL attmnt_lrel &amp;quot;nr:PDM&amp;quot; attachments &amp;lt;&amp;gt; attmnt assets;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Publish the Schema changes ===&lt;br /&gt;
For ALL releases recycle the Service Desk service.&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Edit the detail_nr.htmpl form ===&lt;br /&gt;
Add the following code to the BODY of the form in the PDM_NOTEBOOK area (for R12 this modification can be made to cmdbNotebook.htmpl):&lt;br /&gt;
''additional extension forms will need to be modified appropriately detail_har_virx.htmpl, detail_har_serx.htmpl,'' &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&amp;lt;PDM_TAB ID=attmnt SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id&amp;quot; NAME=&amp;quot;Attachments&amp;quot;  height=300&amp;gt;&amp;lt;/pdm_tab&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 4. Edit the xx_attmnt_tab.htmpl form ===&lt;br /&gt;
This step will add &amp;quot;Edit&amp;quot; and &amp;quot;Delete&amp;quot; right-click options if the Inventory Functional Access is granted on the user's Access Type. If this scripting is not added then you will only have the option to view a document. &lt;br /&gt;
Search for the following scripting:&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.call_mgr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.issue_mgr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.change_mgr:0}&amp;quot; - 0; break;&lt;br /&gt;
}&amp;lt;/source&amp;gt;... and add the following case:&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.inventory:0}&amp;quot; - 0; break;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 5. 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;br /&gt;
&lt;br /&gt;
== NOTICE ==&lt;br /&gt;
Be advised that implementing this customization will result in a few ERRORS in the stdlogs, but there has been no reported degradation in functionality.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;kt_daemon         16316 ERROR        DomWrap.c       1106 cSelect: failed In method select_sd_ref_num. Error Message: Error 103 AHD03053: Bad where clause: invalid constraint.  Could not recognize persistent_id.  OUTER_JOIN ca_owned_resource.id = usp_owned_resource.id&lt;br /&gt;
kt_daemon         16316 ERROR        DomWrap.c        806 Failed to complete reply method: 'select_sd_ref_num' ,BOP Name:'attmnt:400063' in class:'CAttmntLinks', Error:AHD03053: Bad where clause: invalid constraint.  Could not recognize persistent_id.  OUTER_JOIN ca_owned_resource.id = usp_owned_resource.id&lt;br /&gt;
domsrvr           13132 ERROR        attr.c          6164 Error in ATTR_INIT trigger get_attached_name for attached_name: AHD03053: Bad where clause: invalid constraint.  Could not recognize persistent_id.  OUTER_JOIN ca_owned_resource.id = usp_owned_resource.id&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Sample_Customizations&amp;diff=5481</id>
		<title>Sample Customizations</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Sample_Customizations&amp;diff=5481"/>
				<updated>2012-12-06T13:05:31Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Customization]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Customizations are regarded as changes to the system that are not supportable by CA.&lt;br /&gt;
&lt;br /&gt;
== List of Customizations ==&lt;br /&gt;
[[image:exclaim.gif]][[SDU:SDU r12 EP1|SDU Enhancement Pack 1 for r12]]&lt;br /&gt;
*[[Action Macro to Log Solution and Resolve Ticket]]&lt;br /&gt;
*[[Add Checkbox, Date, Drop-down, Lookup, Readonly and Text Fields to Properties]]&lt;br /&gt;
*[[Add Contact Search to Employee/Customer Interface]]&lt;br /&gt;
*[[Add Custom Activity Log Action Macro]]&lt;br /&gt;
*[[Add Log Entry for Updates to Custom Fields]]&lt;br /&gt;
*[[Add Log Entry When a Property Value Changes on a Ticket]]&lt;br /&gt;
*[[Add Personalized Response to Manual Notification]]&lt;br /&gt;
*[[Add Posted By to Announcements Page]]&lt;br /&gt;
*[[Add Properties Count to Area/Category List]]&lt;br /&gt;
*[[Add Ticket and CI Links to Announcements]]&lt;br /&gt;
*[[Add Workflow to Employee/Customer Interface]]&lt;br /&gt;
*[[Attachments on Configuration Items]] and [[Attachments_on_Configuration_Items_r12|Attachments on Configuration Items for r12.5 and above]]&lt;br /&gt;
*[[Attachments on Contacts]]&lt;br /&gt;
*[[Auto-fill Fields Left Blank]]&lt;br /&gt;
*[[Automatically Attach an Asset/CI to a Change Order or Issue]]&lt;br /&gt;
*[[Automatically Remove Attached Events]]&lt;br /&gt;
*[[Automatically Set Assignee to Closing Analyst]]&lt;br /&gt;
*[[Automatically Set System Generated Activities to Internal]]&lt;br /&gt;
*[[Changing Announcements Order By]]&lt;br /&gt;
*[[Changing Error Alert Color and adding Error Alert Pop-ups]]&lt;br /&gt;
*[[Changing Requests to Incidents]]&lt;br /&gt;
*[[Changing Display of Contacts]]&lt;br /&gt;
*[[Conditional Display of Drop-Down Content]]&lt;br /&gt;
*[[Conditionally Attach an Event]]&lt;br /&gt;
*[[Control the Request Areas Displayed to the End Users]]&lt;br /&gt;
*[[Count Ticket Reopens]]&lt;br /&gt;
*[[Custom Lookup method for TextAPI]]&lt;br /&gt;
*[[Displaying the System and User Descriptions in the Activity Log]]&lt;br /&gt;
*[[Display Web Site within Service Desk]]&lt;br /&gt;
*[[Default Properties Tab on New Ticket Creation]]&lt;br /&gt;
*[[Generate Notifications Only for Employee Comments]]&lt;br /&gt;
*[[Increasing Default Field Size]]&lt;br /&gt;
*[[List Tickets ORDER BY Group]]&lt;br /&gt;
*[[Make a Field Conditionally Required]]&lt;br /&gt;
*[[Modify Action and Condition Macros via the GUI]]&lt;br /&gt;
*[[Only Assignee can Close]]&lt;br /&gt;
*[[Prevent Close of Requests/Incidents/Problems if Change Order is Active]]&lt;br /&gt;
*[[Prevent Update to Past Activities]]&lt;br /&gt;
*[[Propagate Solution to Children]]&lt;br /&gt;
*[[Propagate Status to Children]]&lt;br /&gt;
*[[Priority and Impact Default to Empty]]&lt;br /&gt;
*[[Refresh Customer Info Before Saving the Ticket]]&lt;br /&gt;
*[[Remove Second Message on Timeout]]&lt;br /&gt;
*[[Remove SLA Violation from Employee View]]&lt;br /&gt;
*[[Require a Solution in Order to Resolve]]&lt;br /&gt;
*[[Require Assignee to be a Member of the selected Group]]&lt;br /&gt;
*[[Search Requests, Incidents, and Problems Simultaneously for Ticket Number]]&lt;br /&gt;
*[[Send Notification at Callback Time]]&lt;br /&gt;
*[[Send Notification to CI's Attached Contacts]]&lt;br /&gt;
*[[Send Survey based on Variables]]&lt;br /&gt;
*[[Separate Prefixes for Requests, Incidents, and Problems]]&lt;br /&gt;
*[[Set Defaults on Manual Notify]]&lt;br /&gt;
*[[Set Priority Based on Urgency and Impact]]&lt;br /&gt;
*[[Set Request/Incident/Problem Status from Change Order]]&lt;br /&gt;
*[[Set Request/Incident/Problem Status on Dispatch Change]]&lt;br /&gt;
*[[Simplified Child Creation]]&lt;br /&gt;
*[[Single Sign-on with Cookies]]&lt;br /&gt;
*[[EIAM Services dont start on fresh install]]&lt;br /&gt;
*[[SPELL CODE to Make ACT / EVT INTERNAL]]&lt;br /&gt;
*[[SPELL CODE to to add event at 50% and 75% of the time between schedule_start_time and duration ]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5480</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5480"/>
				<updated>2012-12-06T13:04:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Procedures =&lt;br /&gt;
== SDM Schema customizations ==&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called '''z_nr_cis.maj'''. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
==Interface customizations ==&lt;br /&gt;
=== Configuration Item detail form ===&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attachments list form ===&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
=== The Attachment Tab form ===&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clear the SDM web cache ===&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5479</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5479"/>
				<updated>2012-12-06T13:01:24Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Procedures =&lt;br /&gt;
== SDM Schema customizations ==&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called '''z_nr_cis.maj'''. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
==Interface customizations ==&lt;br /&gt;
=== Configuration Item detail form ===&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attachments list form ===&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== The Attachment Tab form ===&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clear the SDM web cache ===&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5478</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5478"/>
				<updated>2012-12-06T13:00:27Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Procedures =&lt;br /&gt;
== SDM Schema customizations ==&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called '''z_nr_cis.maj'''. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
=== Interface customizations ===&lt;br /&gt;
==== Configuration Item detail form ====&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attachments list form ===&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The Attachment Tab form ====&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Clear the SDM web cache ===&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5477</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5477"/>
				<updated>2012-12-06T12:59:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
{{Attachments on Configuration Items, v2}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== SDM Schema customizations ===&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called '''z_nr_cis.maj'''. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=text&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
=== Interface customizations ===&lt;br /&gt;
==== Configuration Item detail form ====&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Attachments list form ====&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The Attachment Tab form ====&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Clear the SDM web cache ====&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5476</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5476"/>
				<updated>2012-12-06T12:39:16Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Configuration Item detail form */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
{{Attachments on Configuration Items, v2}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== SDM Schema customizations ===&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called z_nr_cis.maj. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=SQL&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
=== Interface customizations ===&lt;br /&gt;
==== Configuration Item detail form ====&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME=TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Attachments list form ====&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The Attachment Tab form ====&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Clear the SDM web cache ====&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5475</id>
		<title>Attachments on Configuration Items r12</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Configuration_Items_r12&amp;diff=5475"/>
				<updated>2012-12-06T12:38:11Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: New page: __NOTOC__ Category:Configuration Items Category:Customizations Category:r12 {{Global Header}} {{Global Announcement}} {{Attachments on Configuration Items, v2}}  == Overview ==...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration Items]]&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r12]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
{{Attachments on Configuration Items, v2}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This article provides instructions for adding attachment capabilities to Configuration Items in CA Service Desk Manager.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r12.5 and above versions, providing an implementation of the previous [[Attachments_on_Configuration_Items|Attachments on Configuration Items]] customization. The previous customization is targeted for r11.x and r12.0/r12.1 CA SDM version.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== SDM Schema customizations ===&lt;br /&gt;
Use the Web Screen Painter to add a new Table in the Schema Designer. The new table should be called '''zlrel_attachment_nrs''' and should have 2 fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Field name&lt;br /&gt;
! style=&amp;quot;width:200px;&amp;quot; | Type of Field&lt;br /&gt;
|-&lt;br /&gt;
| nr&lt;br /&gt;
| SREL to 'nr', required&lt;br /&gt;
|-&lt;br /&gt;
| attmnt&lt;br /&gt;
| SREL to 'attmnt', required&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Set the Function Group of this new table to &amp;quot;Configuration Item&amp;quot;. Save the Schema changes in the Schema Designer and then choose 'File-&amp;gt;Save and Publish' from the menu.&lt;br /&gt;
&lt;br /&gt;
In order for the Schema changes to be applied, stop the '''CA Service Desk Manager''' service on the primary server and then execute 'pdm_publish' from a command prompt.&lt;br /&gt;
&lt;br /&gt;
Before starting the '''CA Service Desk Manager''' service, create a new MAJ file in the ''$NX_ROOT/site/mods/majic'' folder, called z_nr_cis.maj. This file should contain the following lines:&lt;br /&gt;
&amp;lt;source lang=SQL&amp;gt;&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   attmnt&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT attmnt {&lt;br /&gt;
  ATTRIBUTES Attachment {&lt;br /&gt;
    nrs BREL zlrel_attachment_nrs attmnt { LREL nr; } ;    &lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
// Factory:   nr&lt;br /&gt;
////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
OBJECT nr {&lt;br /&gt;
  ATTRIBUTES usp_owned_resource SECONDARY {&lt;br /&gt;
    attachments BREL zlrel_attachment_nrs nr { LREL attmnt; } ;&lt;br /&gt;
  };&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Make sure the file has the .maj extension, otherwise it will not be processed by SDM.&lt;br /&gt;
&lt;br /&gt;
Finally, start the '''CA Service Desk Manager''' service back on and make sure that there are no errors reported in the stdlogs.&lt;br /&gt;
&lt;br /&gt;
=== Interface customizations ===&lt;br /&gt;
==== Configuration Item detail form ====&lt;br /&gt;
Customize the '''cmdbNotebook.htmpl''' form to add a new Tab to the Configuration Item detail form. The form contains the definition of all the Tabs that appear on the Configuration Item detail form, you can just insert the new Tab definition where desired, using the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt; &amp;lt;PDM_MACRO NAME = TAB  title=&amp;quot;Files&amp;quot; ID=Attachments SRC=&amp;quot;OP=SHOW_DETAIL+HTMPL=xx_attmnt_tab.htmpl+FACTORY=nr+PERSID=$args.persistent_id+NO_DP=yes&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Attachments list form ====&lt;br /&gt;
Customize the '''list_attmnt_sd.htmpl''' form by adding lines in 2 places.&lt;br /&gt;
'''First''', after the line &amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.issues.iss.persistent_id&amp;quot; value=&amp;quot;$args.QBE.EQ.issues.iss.persistent_id&amp;quot;&amp;gt;');&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
document.write('&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;QBE.EQ.nrs.nr.id&amp;quot; value=&amp;quot;$args.QBE.EQ.nr_list.nr.id&amp;quot;&amp;gt;');&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Second''', after the line&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
the following code should be added&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
// Custom - enable the display of Attachments in a Tab on the Configuration Item detail form&lt;br /&gt;
case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
// END Custom&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== The Attachment Tab form ====&lt;br /&gt;
Customize the '''xx_attmnt_tab.htmpl''' file and search for the following code fragment&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
and replace it with &lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var attmntAccess = 0;&lt;br /&gt;
switch (&amp;quot;$prop.factory&amp;quot;) {&lt;br /&gt;
   case &amp;quot;cr&amp;quot;:  attmntAccess = &amp;quot;${ACCESS.FAC_cr:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;iss&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_iss:0}&amp;quot; - 0; break;&lt;br /&gt;
   case &amp;quot;chg&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_chg:0}&amp;quot; - 0; break;&lt;br /&gt;
   // Custom - enable the Attachments tab on the Configuration Item detail form&lt;br /&gt;
   case &amp;quot;nr&amp;quot;: attmntAccess = &amp;quot;${ACCESS.FAC_nr:0}&amp;quot; - 0; break;&lt;br /&gt;
  // End Custom&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Clear the SDM web cache ====&lt;br /&gt;
Clear the SDM Webengine web cache by executing 'pdm_webcache' in a command prompt on the SD primary server. This will incorporate the interface customizations done in the previous steps and show them in the SDM web client.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Spel_FAQ&amp;diff=5473</id>
		<title>Spel FAQ</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Spel_FAQ&amp;diff=5473"/>
				<updated>2012-10-23T16:14:18Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: removed spam link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== What is the purpose of group_leader? ==&lt;br /&gt;
A group_leader is a ''reservation'' for modifying an object.With a group_leader you can create a new object, modify it, then save it. Without a group_leader you can only modify the content of the object on which the Spel method is executed.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=SPELL_CODE_to_Make_ACT_/_EVT_INTERNAL&amp;diff=4009</id>
		<title>SPELL CODE to Make ACT / EVT INTERNAL</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=SPELL_CODE_to_Make_ACT_/_EVT_INTERNAL&amp;diff=4009"/>
				<updated>2010-01-31T08:54:49Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: added a simpler way to accomplish the requirement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The requirement is that whenever an event / activity is performed - e.g. SLA VIOLATION - then that activity should be logged as Internal so that Employees would not be able to view it. If new activities are added - e.g. UPDATE FIELD - to ticket (CR) who's SLA is already violated then log that activity as Internal.&lt;br /&gt;
To achieve the above requiremtn I have written two mod and spel files. &lt;br /&gt;
&lt;br /&gt;
# '''MOD File''' (zactint.mod)&lt;br /&gt;
&lt;br /&gt;
 MODIFY alg POST_VALIDATE zevt_set() 125 FILTER( EVENT(&amp;quot;INSERT&amp;quot;)) ;&lt;br /&gt;
&lt;br /&gt;
# '''SPEL File''' (zactint.spl)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//method zevt_set() &lt;br /&gt;
//Sets the EVENT of SDMr12.1 as internal =&amp;gt;1&lt;br /&gt;
//author: adi : adi_g001@yahoo.com&lt;br /&gt;
//********************************************************&lt;br /&gt;
&lt;br /&gt;
alg::zevt_set( ... ) {&lt;br /&gt;
       logf(SIGNIFICANT, &amp;quot;SPELL zevt_set %s&amp;quot;,type.code);&lt;br /&gt;
if(type.code == &amp;quot;EVT&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
	send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;internal&amp;quot;, &amp;quot;set_val&amp;quot;, 1,&amp;quot;SURE_SET&amp;quot;); &lt;br /&gt;
	if ( msg_error() ) {&lt;br /&gt;
      	logf(ERROR, &amp;quot;Error initializing object:%s&amp;quot;,msg[0]);&lt;br /&gt;
	  	return;&lt;br /&gt;
    	}&lt;br /&gt;
}&lt;br /&gt;
logf(SIGNIFICANT, &amp;quot;SPELL zevt_set %s&amp;quot;,internal);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the above files in $NXOOT/site/mods/majic folder and bounce the SDMr12.1 services.&lt;br /&gt;
&lt;br /&gt;
--------------------&lt;br /&gt;
--[[User:Mitcr01|Mitu]] 01:54, 31 January 2010 (MST) &lt;br /&gt;
Of course, it is much simpler to actually mark the 'Event Occured' Activity type as Internal from the Administration ('Notifications-&amp;gt;Activity Notifications') and no customization is needed.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=SPELL_CODE_to_Make_ACT_/_EVT_INTERNAL&amp;diff=4008</id>
		<title>SPELL CODE to Make ACT / EVT INTERNAL</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=SPELL_CODE_to_Make_ACT_/_EVT_INTERNAL&amp;diff=4008"/>
				<updated>2010-01-31T08:51:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: Reformatted the original page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The requirement is that whenever an event / activity is performed - e.g. SLA VIOLATION - then that activity should be logged as Internal so that Employees would not be able to view it. If new activities are added - e.g. UPDATE FIELD - to ticket (CR) who's SLA is already violated then log that activity as Internal.&lt;br /&gt;
To achieve the above requiremtn I have written two mod and spel files. &lt;br /&gt;
&lt;br /&gt;
# '''MOD File''' (zactint.mod)&lt;br /&gt;
&lt;br /&gt;
MODIFY alg POST_VALIDATE zevt_set() 125 FILTER( EVENT(&amp;quot;INSERT&amp;quot;)) ;&lt;br /&gt;
&lt;br /&gt;
# '''SPEL File''' (zactint.spl)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
//method zevt_set() &lt;br /&gt;
//Sets the EVENT of SDMr12.1 as internal =&amp;gt;1&lt;br /&gt;
//author: adi : adi_g001@yahoo.com&lt;br /&gt;
//********************************************************&lt;br /&gt;
&lt;br /&gt;
alg::zevt_set( ... ) {&lt;br /&gt;
       logf(SIGNIFICANT, &amp;quot;SPELL zevt_set %s&amp;quot;,type.code);&lt;br /&gt;
if(type.code == &amp;quot;EVT&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
	send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;internal&amp;quot;, &amp;quot;set_val&amp;quot;, 1,&amp;quot;SURE_SET&amp;quot;); &lt;br /&gt;
	if ( msg_error() ) {&lt;br /&gt;
      	logf(ERROR, &amp;quot;Error initializing object:%s&amp;quot;,msg[0]);&lt;br /&gt;
	  	return;&lt;br /&gt;
    	}&lt;br /&gt;
}&lt;br /&gt;
logf(SIGNIFICANT, &amp;quot;SPELL zevt_set %s&amp;quot;,internal);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the above files in $NXOOT/site/mods/majic folder and bounce the SDMr12.1 services.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=EIAM_Services_dont_start_on_fresh_install&amp;diff=3964</id>
		<title>EIAM Services dont start on fresh install</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=EIAM_Services_dont_start_on_fresh_install&amp;diff=3964"/>
				<updated>2009-08-23T19:27:55Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''EIAM does not start on install'''&lt;br /&gt;
&lt;br /&gt;
I had to install Service Desk, Service Catalog and Workflow on a very new image. I started with the install shield and went through the instructions and steps provided for a clean install of all this products. Though I did not recieve any error's while I was doing the install, I still could not get the EIAM services to start. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When I looked at the services on the server, I could see the eTrust Directory services were stopped and would not start when I try manually or through command line. I was not getting enough help from the log's to narrow down the problem. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, not have anywhere to go, I uninstalled all the Unicenter products and rebooted the machine and tried to install again, but this time I was using another User ID logging into the server. [Note: The permissions on both the id's I used were exactly the same and were a part of Administrative Group on the local machine].&lt;br /&gt;
 &lt;br /&gt;
'''This time, I was able to successfully install everything and also had the EIAM working, wondering what might be the issue...we noticed that when you install the CA products it does not like the user account to be all numbers. In our environment, and in this particular case, our USER ID to login to the server are 9 digit numbers. EIAM does not like userid to be starting with a number'''&lt;br /&gt;
&lt;br /&gt;
The second time I installed the products again, I used a alpha-numeric userid and everything worked normal.&lt;br /&gt;
&lt;br /&gt;
Thought I will share this with anyone who might have faced a similar issue.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;lt;br&amp;gt;&lt;br /&gt;
AKM&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=EIAM_Services_dont_start_on_fresh_install&amp;diff=3963</id>
		<title>EIAM Services dont start on fresh install</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=EIAM_Services_dont_start_on_fresh_install&amp;diff=3963"/>
				<updated>2009-08-23T19:27:41Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''EIAM does not start on install'''&lt;br /&gt;
&lt;br /&gt;
I had to install Service Desk, Service Catalog and Workflow on a very new image. I started with the install shield and went through the instructions and steps provided for a clean install of all this products. Though I did not recieve any error's while I was doing the install, I still could not get the EIAM services to start. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When I looked at the services on the server, I could see the eTrust Directory services were stopped and would not start when I try manually or through command line. I was not getting enough help from the log's to narrow down the problem. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, not have anywhere to go, I uninstalled all the Unicenter products and rebooted the machine and tried to install again, but this time I was using another User ID logging into the server. [Note: The permissions on both the id's I used were exactly the same and were a part of Administrative Group on the local machine.&lt;br /&gt;
 &lt;br /&gt;
'''This time, I was able to successfully install everything and also had the EIAM working, wondering what might be the issue...we noticed that when you install the CA products it does not like the user account to be all numbers. In our environment, and in this particular case, our USER ID to login to the server are 9 digit numbers. EIAM does not like userid to be starting with a number.'''&lt;br /&gt;
&lt;br /&gt;
The second time I installed the products again, I used a alpha-numeric userid and everything worked normal.&lt;br /&gt;
&lt;br /&gt;
Thought I will share this with anyone who might have faced a similar issue.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;lt;br&amp;gt;&lt;br /&gt;
AKM&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Calculating_the_Time_when_the_Service_Type_is_Stopped&amp;diff=3906</id>
		<title>Calculating the Time when the Service Type is Stopped</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Calculating_the_Time_when_the_Service_Type_is_Stopped&amp;diff=3906"/>
				<updated>2009-05-26T10:47:38Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: formatting and including the categories, added a table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
=== Abstract ===&lt;br /&gt;
This document describes the procedure followed for calculating the total time a Request was on HOLD status.&lt;br /&gt;
&lt;br /&gt;
=== Schema Customization ===&lt;br /&gt;
Add the following custom attributes on the Call_Req table, using the Web Screen Painter:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Name&lt;br /&gt;
! style=&amp;quot;width:50px;&amp;quot; | Type&lt;br /&gt;
! style=&amp;quot;width:100px;&amp;quot; | Default Value&lt;br /&gt;
! style=&amp;quot;width:400px;&amp;quot; | Comments&lt;br /&gt;
|-&lt;br /&gt;
| zwait_sec&lt;br /&gt;
| Integer&lt;br /&gt;
| 0&lt;br /&gt;
| This stores the total seconds when the status was on HOLD.&lt;br /&gt;
|-&lt;br /&gt;
| zwait_flag&lt;br /&gt;
| Integer&lt;br /&gt;
|&lt;br /&gt;
|  This is a flag variable which keeps track if the previous status is HOLD&lt;br /&gt;
|-&lt;br /&gt;
| zwait_time&lt;br /&gt;
| Date&lt;br /&gt;
|&lt;br /&gt;
| This stores the Last time when the status was on HOLD &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Mod and Spel Customizations ===&lt;br /&gt;
Add 2 custom files in the $NXROOT/site/mods/majic folder:&lt;br /&gt;
&lt;br /&gt;
Mod File:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
MODIFY cr status ON_POST_VAL set_zcrtime () 300 ;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spel File:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
cr.status::set_zcrtime(...)&lt;br /&gt;
{&lt;br /&gt;
	int curr_time;&lt;br /&gt;
	int time_sec;&lt;br /&gt;
	int wait_time;&lt;br /&gt;
	int temp_time;&lt;br /&gt;
	&lt;br /&gt;
	curr_time = (int) now();&lt;br /&gt;
	wait_time = (int) zwait_time;&lt;br /&gt;
	time_sec=(int) ztime_sec;&lt;br /&gt;
	&lt;br /&gt;
if (status.hold == 1 &amp;amp;&amp;amp; status!=&amp;quot;RE&amp;quot;)&lt;br /&gt;
	{&lt;br /&gt;
         &lt;br /&gt;
           zwait_time=now();&lt;br /&gt;
	   zwait_flag=1;&lt;br /&gt;
}&lt;br /&gt;
if ((status.hold != 1 || Status == &amp;quot;RE&amp;quot;) &amp;amp;&amp;amp; zwait_flag==1) 		    &lt;br /&gt;
{&lt;br /&gt;
	temp_time = curr_time - wait_time;&lt;br /&gt;
	zwait_flag =0;&lt;br /&gt;
	ztime_sec= temp_time + time_sec;&lt;br /&gt;
	&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
return;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Service Desk]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3905</id>
		<title>Relate Issues And Change Orders</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3905"/>
				<updated>2009-05-26T10:31:25Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: added global header and categories to the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
'''Creating a LREL between Changes and Issues'''&lt;br /&gt;
&lt;br /&gt;
= Adding the Cutomization =&lt;br /&gt;
==Create a LREL relation between Issue and Change Order == &lt;br /&gt;
# Write a majic file called “lrel1.maj”, in site\mods\majic folder with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot; &amp;gt;LREL lrel1 iss impacted_iss &amp;lt;&amp;gt; chg impacted_chg;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Recycle the service&lt;br /&gt;
# Verify if these objects have been created properly by giving the commands&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;tt&amp;gt;Bop_sinfo –da chg&lt;br /&gt;
&lt;br /&gt;
::Bop_sinfo –da iss&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check the same information in the wsp_schema table from the MDB.&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
* ''Impacted_iss'' is the Lrel object to the Issue (iss) Table with the Changes related to the Issue.&lt;br /&gt;
* ''Impacted_chg'' the Lrel object to the Change (chg) Table with the Issues related to the Change.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Create a customised htmpl tab page called “chg_iss_tab.htmpl” ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;PDM_PRAGMA RELEASE=110&amp;gt;&lt;br /&gt;
&amp;lt;PDM_WSP mode=edit factory=chg preview=&amp;quot;NBTAB=chg_iss_tab&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=styles.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_head.htmpl busy=no&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/sitemods.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl filename=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_FORM NAME=&amp;quot;frmDTLRO&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
tab_banner(&amp;quot;Related Issues List&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TABLE ID=tbl101 CLASS=tab summary='Issue List Notebook Tab row &amp;quot; + (_dtl.rowNum + 1) + &amp;quot;'&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TR&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Ref#&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Status&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Description&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_IF $args.impacted_chg.length == 0 &amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;    &lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD ALIGN=middle class=detailro&amp;gt;&amp;quot;);  &lt;br /&gt;
docWriteln(&amp;quot;No Issue Attached&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlEndTable&amp;gt;&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
var counter=0;&lt;br /&gt;
&amp;lt;PDM_LIST SOURCE=args.impacted_chg&amp;gt;&lt;br /&gt;
			var sClass;&lt;br /&gt;
			if(counter%2)&lt;br /&gt;
				sClass = &amp;quot;results1&amp;quot;;&lt;br /&gt;
			else&lt;br /&gt;
				sClass = &amp;quot;results0&amp;quot;;&lt;br /&gt;
			counter++;&lt;br /&gt;
			var strHTML=&amp;quot;&amp;lt;TR class=&amp;quot; + sClass +  &amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
			&lt;br /&gt;
docWriteln(strHTML); &lt;br /&gt;
&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;quot;);&lt;br /&gt;
var start_a_tag = &amp;quot;&amp;lt;A&amp;quot; + detailNextID(true) +&lt;br /&gt;
           &amp;quot; HREF=\&amp;quot;javascript:showDetailWithPersid('&amp;quot; +&lt;br /&gt;
           '&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;$args.impacted_chg.persistent_id&amp;lt;/PDM_FMT&amp;gt;' +&lt;br /&gt;
           &amp;quot;')\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
var ecsaped_name=&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;&amp;quot;$args.impacted_chg.ref_num&amp;quot;&amp;lt;/PDM_FMT&amp;gt;;&lt;br /&gt;
end_a_tag=&amp;quot;&amp;lt;/A&amp;gt;&amp;quot;;&lt;br /&gt;
docWriteln(start_a_tag+ecsaped_name+end_a_tag);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.status.sym&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.description&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_LIST&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TABLE&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_FORM&amp;gt;&lt;br /&gt;
&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF 0&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
== Modifications to 'detail_chg.htmpl' ==&lt;br /&gt;
Create a button to attach Issues&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;UPDATE_LREL&amp;quot;, &amp;quot;Attach Issues&amp;quot;, &amp;quot;update_lrel('chg', '$args.persistent_id', 'iss', 'impacted_chg',  'Issues', msgtext(211), '')&amp;quot;, true, 0);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Include a tab called “Related Issues” in the Change page (detail_chg.htmpl):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_TAB ID=rel FILE=&amp;quot;chg_iss_tab.htmpl&amp;quot; NAME=&amp;quot;Related Issues&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications to 'list_iss.htmpl' ==&lt;br /&gt;
Add the below line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.ForLrel&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
After the line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.Forchild&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
This is added so that when we search for the Issues to be attached to the current Change Request the search page will not go to the default list page but go to the ''update_lrel_iss.htmpl'' page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: Follow the above 3 points (1.2 through 1.4) with the object Iss (Issue) also''':&lt;br /&gt;
&lt;br /&gt;
# Create a new ''iss_chg_tab.htmpl'' using the same code, but change Iss to Chg and vice-versa. Make sure you use 'impacted_iss' instead of 'impacted_chg' as the source of the list.&lt;br /&gt;
# Create a button to attach Changes and include the 'Related Changes' tab (iss_chg_tab.htmpl) to the detail_iss.htmpl page, using the same code, but also change Chg to Iss and the other way around.&lt;br /&gt;
# Modify 'list_chg.htmpl' and add the needed line (see 1.4), substituting ''update_lrel_iss.htmpl'' with ''update_lrel_chg.htmpl''. &lt;br /&gt;
&lt;br /&gt;
= How to use the Customization =&lt;br /&gt;
&lt;br /&gt;
After logging in the Service Desk web interface, open a Change Order:&lt;br /&gt;
[[Image:detail_chg.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
When you click on 'Attach Issues' the search filter for Issues will be shown:&lt;br /&gt;
[[Image:Attach_Issues.jpg|280px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Click Search and you'll get a list of Issues&lt;br /&gt;
[[Image:search.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Add the Tickets that needs to be attached and then see the tab “Issues” to find all the attached Issues to the current Change Order &lt;br /&gt;
[[Image:Final.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Customizations]]&lt;br /&gt;
[[Category:r11]]&lt;br /&gt;
[[Category:Service Desk]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3895</id>
		<title>Relate Issues And Change Orders</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3895"/>
				<updated>2009-05-25T17:26:07Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Creating a LREL between Changes and Issues'''&lt;br /&gt;
&lt;br /&gt;
= Adding the Cutomization =&lt;br /&gt;
==Create a LREL relation between Issue and Change Order == &lt;br /&gt;
# Write a majic file called “lrel1.maj”, in site\mods\majic folder with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot; &amp;gt;LREL lrel1 iss impacted_iss &amp;lt;&amp;gt; chg impacted_chg;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Recycle the service&lt;br /&gt;
# Verify if these objects have been created properly by giving the commands&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;tt&amp;gt;Bop_sinfo –da chg&lt;br /&gt;
&lt;br /&gt;
::Bop_sinfo –da iss&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check the same information in the wsp_schema table from the MDB.&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
* ''Impacted_iss'' is the Lrel object to the Issue (iss) Table with the Changes related to the Issue.&lt;br /&gt;
* ''Impacted_chg'' the Lrel object to the Change (chg) Table with the Issues related to the Change.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Create a customised htmpl tab page called “chg_iss_tab.htmpl” ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;PDM_PRAGMA RELEASE=110&amp;gt;&lt;br /&gt;
&amp;lt;PDM_WSP mode=edit factory=chg preview=&amp;quot;NBTAB=chg_iss_tab&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=styles.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_head.htmpl busy=no&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/sitemods.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl filename=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_FORM NAME=&amp;quot;frmDTLRO&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
tab_banner(&amp;quot;Related Issues List&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TABLE ID=tbl101 CLASS=tab summary='Issue List Notebook Tab row &amp;quot; + (_dtl.rowNum + 1) + &amp;quot;'&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TR&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Ref#&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Status&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Description&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_IF $args.impacted_chg.length == 0 &amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;    &lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD ALIGN=middle class=detailro&amp;gt;&amp;quot;);  &lt;br /&gt;
docWriteln(&amp;quot;No Issue Attached&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlEndTable&amp;gt;&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
var counter=0;&lt;br /&gt;
&amp;lt;PDM_LIST SOURCE=args.impacted_chg&amp;gt;&lt;br /&gt;
			var sClass;&lt;br /&gt;
			if(counter%2)&lt;br /&gt;
				sClass = &amp;quot;results1&amp;quot;;&lt;br /&gt;
			else&lt;br /&gt;
				sClass = &amp;quot;results0&amp;quot;;&lt;br /&gt;
			counter++;&lt;br /&gt;
			var strHTML=&amp;quot;&amp;lt;TR class=&amp;quot; + sClass +  &amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
			&lt;br /&gt;
docWriteln(strHTML); &lt;br /&gt;
&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;quot;);&lt;br /&gt;
var start_a_tag = &amp;quot;&amp;lt;A&amp;quot; + detailNextID(true) +&lt;br /&gt;
           &amp;quot; HREF=\&amp;quot;javascript:showDetailWithPersid('&amp;quot; +&lt;br /&gt;
           '&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;$args.impacted_chg.persistent_id&amp;lt;/PDM_FMT&amp;gt;' +&lt;br /&gt;
           &amp;quot;')\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
var ecsaped_name=&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;&amp;quot;$args.impacted_chg.ref_num&amp;quot;&amp;lt;/PDM_FMT&amp;gt;;&lt;br /&gt;
end_a_tag=&amp;quot;&amp;lt;/A&amp;gt;&amp;quot;;&lt;br /&gt;
docWriteln(start_a_tag+ecsaped_name+end_a_tag);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.status.sym&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.description&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_LIST&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TABLE&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_FORM&amp;gt;&lt;br /&gt;
&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF 0&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
== Modifications to 'detail_chg.htmpl' ==&lt;br /&gt;
Create a button to attach Issues&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;UPDATE_LREL&amp;quot;, &amp;quot;Attach Issues&amp;quot;, &amp;quot;update_lrel('chg', '$args.persistent_id', 'iss', 'impacted_chg',  'Issues', msgtext(211), '')&amp;quot;, true, 0);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Include a tab called “Related Issues” in the Change page (detail_chg.htmpl):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_TAB ID=rel FILE=&amp;quot;chg_iss_tab.htmpl&amp;quot; NAME=&amp;quot;Related Issues&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications to 'list_iss.htmpl' ==&lt;br /&gt;
Add the below line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.ForLrel&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
After the line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.Forchild&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
This is added so that when we search for the Issues to be attached to the current Change Request the search page will not go to the default list page but go to the ''update_lrel_iss.htmpl'' page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: Follow the above 3 points (1.2 through 1.4) with the object Iss (Issue) also''':&lt;br /&gt;
&lt;br /&gt;
# Create a new ''iss_chg_tab.htmpl'' using the same code, but change Iss to Chg and vice-versa. Make sure you use 'impacted_iss' instead of 'impacted_chg' as the source of the list.&lt;br /&gt;
# Create a button to attach Changes and include the 'Related Changes' tab (iss_chg_tab.htmpl) to the detail_iss.htmpl page, using the same code, but also change Chg to Iss and the other way around.&lt;br /&gt;
# Modify 'list_chg.htmpl' and add the needed line (see 1.4), substituting ''update_lrel_iss.htmpl'' with ''update_lrel_chg.htmpl''. &lt;br /&gt;
&lt;br /&gt;
= How to use the Customization =&lt;br /&gt;
&lt;br /&gt;
After logging in the Service Desk web interface, open a Change Order:&lt;br /&gt;
[[Image:detail_chg.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
When you click on 'Attach Issues' the search filter for Issues will be shown:&lt;br /&gt;
[[Image:Attach_Issues.jpg|280px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Click Search and you'll get a list of Issues&lt;br /&gt;
[[Image:search.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Add the Tickets that needs to be attached and then see the tab “Issues” to find all the attached Issues to the current Change Order &lt;br /&gt;
[[Image:Final.jpg|480px|center|frame]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3894</id>
		<title>Relate Issues And Change Orders</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Relate_Issues_And_Change_Orders&amp;diff=3894"/>
				<updated>2009-05-25T13:43:13Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: added some formatting and code tags. Made the images resizable.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Creating a LREL between Changes and Issues'''&lt;br /&gt;
&lt;br /&gt;
= Adding the Cutomization =&lt;br /&gt;
==Create a LREL relation between Issue and Change Order == &lt;br /&gt;
# Write a majic file called “lrel1.maj”, in site\mods\majic folder with the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot; &amp;gt;LREL lrel1 iss impacted_iss &amp;lt;&amp;gt; chg impacted_chg;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Recycle the service&lt;br /&gt;
# Verify if these objects have been created properly by giving the commands&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;tt&amp;gt;Bop_sinfo –da chg &amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;tt&amp;gt;Bop_sinfo –da iss&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can check the same information in the wsp_schema table from the MDB.&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
* ''Impacted_iss'' is the Lrel object to the Issue Table&lt;br /&gt;
* ''Impacted_chg'' the Lrel object to the chg Table&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Create a customised htmpl tab page called “Chg_iss_tab.htmpl” ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;PDM_PRAGMA RELEASE=110&amp;gt;&lt;br /&gt;
&amp;lt;PDM_WSP mode=edit factory=chg preview=&amp;quot;NBTAB=chg_iss_tab&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=styles.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_head.htmpl busy=no&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/sitemods.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl filename=&amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_FORM NAME=&amp;quot;frmDTLRO&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
tab_banner(&amp;quot;Related Issues List&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TABLE ID=tbl101 CLASS=tab summary='Issue List Notebook Tab row &amp;quot; + (_dtl.rowNum + 1) + &amp;quot;'&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TR&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Ref#&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Status&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;th scope=col ALIGN=LEFT class=results&amp;gt;Description&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_IF $args.impacted_chg.length == 0 &amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;    &lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD ALIGN=middle class=detailro&amp;gt;&amp;quot;);  &lt;br /&gt;
docWriteln(&amp;quot;No Issue Attached&amp;quot;);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlEndTable&amp;gt;&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
var counter=0;&lt;br /&gt;
&amp;lt;PDM_LIST SOURCE=args.impacted_chg&amp;gt;&lt;br /&gt;
			var sClass;&lt;br /&gt;
			if(counter%2)&lt;br /&gt;
				sClass = &amp;quot;results1&amp;quot;;&lt;br /&gt;
			else&lt;br /&gt;
				sClass = &amp;quot;results0&amp;quot;;&lt;br /&gt;
			counter++;&lt;br /&gt;
			var strHTML=&amp;quot;&amp;lt;TR class=&amp;quot; + sClass +  &amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
			&lt;br /&gt;
docWriteln(strHTML); &lt;br /&gt;
&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;quot;);&lt;br /&gt;
var start_a_tag = &amp;quot;&amp;lt;A&amp;quot; + detailNextID(true) +&lt;br /&gt;
           &amp;quot; HREF=\&amp;quot;javascript:showDetailWithPersid('&amp;quot; +&lt;br /&gt;
           '&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;$args.impacted_chg.persistent_id&amp;lt;/PDM_FMT&amp;gt;' +&lt;br /&gt;
           &amp;quot;')\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
var ecsaped_name=&amp;lt;PDM_FMT ESC_STYLE=C&amp;gt;&amp;quot;$args.impacted_chg.ref_num&amp;quot;&amp;lt;/PDM_FMT&amp;gt;;&lt;br /&gt;
end_a_tag=&amp;quot;&amp;lt;/A&amp;gt;&amp;quot;;&lt;br /&gt;
docWriteln(start_a_tag+ecsaped_name+end_a_tag);&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.status.sym&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln('&amp;lt;TD VALIGN=TOP class=detailroTab&amp;gt;&amp;lt;PDM_FMT ESC_STYLE=C PAD=NO&amp;gt;$args.impacted_chg.description&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/TD&amp;gt;');&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_LIST&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
docWriteln(&amp;quot;&amp;lt;/TABLE&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_FORM&amp;gt;&lt;br /&gt;
&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF 0&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
== Modifications to 'detail_chg.htmpl' ==&lt;br /&gt;
Create a button to attach issues&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;UPDATE_LREL&amp;quot;, &amp;quot;Attach Issues&amp;quot;, &amp;quot;update_lrel('chg', '$args.persistent_id', 'iss', 'impacted_chg',  'Issues', msgtext(211), '')&amp;quot;, true, 0);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Include a Tab called “Related Issues”&lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_TAB ID=rel FILE=&amp;quot;chg_iss_tab.htmpl&amp;quot; NAME=&amp;quot;Related Issues&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Modifications to 'list_iss.htmpl' ==&lt;br /&gt;
Add the Below line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.ForLrel&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
After the line &lt;br /&gt;
&amp;lt;source lang=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.KEEP.Forchild&amp;quot; == &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
document.writeln('&amp;lt;INPUT TYPE=hidden NAME=HTMPL VALUE=update_lrel_iss.htmpl&amp;gt;');&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
&lt;br /&gt;
This is added so that when we search for the Issues to be attached to the current Change Request the search page will not go to the default list page but go to the update_lrel_iss page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note: Follow the above 4 points with the object Iss(Issue) also'''&lt;br /&gt;
&lt;br /&gt;
= How to use the Customization =&lt;br /&gt;
&lt;br /&gt;
After logging in the Service Desk web interface, open a Change Order:&lt;br /&gt;
[[Image:detail_chg.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
When you click on 'Attach Issues' the search filter for Issues will be shown:&lt;br /&gt;
[[Image:Attach_Issues.jpg|280px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Click Search and you'll get a list of Issues&lt;br /&gt;
[[Image:search.jpg|480px|center|frame]]&lt;br /&gt;
&lt;br /&gt;
Add the Tickets that needs to be attached and then see the tab “Issues” to find all the attached Issues to the current Change Order &lt;br /&gt;
[[Image:Final.jpg|480px|center|frame]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=SDU:SDU_r12_EP1&amp;diff=3702</id>
		<title>SDU:SDU r12 EP1</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=SDU:SDU_r12_EP1&amp;diff=3702"/>
				<updated>2009-02-06T19:04:21Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: moved the c:\ in front of the file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;lt;font size=&amp;quot;3&amp;quot; color=&amp;quot;green&amp;quot;&amp;gt;Please click the ''discussion tab'' above and provide us with your feedback regarding the Enhancement Pack.&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Available exclusively from SDU is Enhancement Pack 1 (EP1) for CA Service Desk r12. EP1 contains 5 commonly implemented customizations focusing on improving technician efficiencies. &lt;br /&gt;
&lt;br /&gt;
== List of Enhancements ==&lt;br /&gt;
&lt;br /&gt;
'''Consolidated Request, Incident, &amp;amp; Problem Gobtn Search'''&amp;lt;br&amp;gt;&lt;br /&gt;
Simplifies finding the proper ticket when all you know is the number. Applies to Requests, Incident, and Problems.&lt;br /&gt;
&lt;br /&gt;
'''Change Requests to Incidents (or Incidents to Requests)'''&amp;lt;br&amp;gt;&lt;br /&gt;
Adds the ability to change a Request to an Incident (or vice versa) eliminating the need to create duplicate tickets.  Applies to Requests and Incidents, but can be added to Problems with slight modification.&lt;br /&gt;
&lt;br /&gt;
'''Create Child button'''&amp;lt;br&amp;gt;&lt;br /&gt;
Expedites the child creation process by copying most of the values from the Parent and automatically attaching the two tickets. Applies to Requests, Incidents, Problems, Change Orders, and Issues.&lt;br /&gt;
&lt;br /&gt;
'''Propagate Status from Parent to Child(ren)'''&amp;lt;br&amp;gt;&lt;br /&gt;
When the Status is being set on a Parent ticket, there is an option to push that Status to all the children. Applies to Requests, Incidents, Problems, Change Orders, and Issues.&lt;br /&gt;
&lt;br /&gt;
'''Propagate Solution from Parent to Child(ren)'''&amp;lt;br&amp;gt;&lt;br /&gt;
When logging a Solution on a Parent ticket, there is an option to push that Solution to all the children. Applies to Requests, Incidents, Problems, and Issues.&lt;br /&gt;
&lt;br /&gt;
== Implementation Procedures ==&lt;br /&gt;
&lt;br /&gt;
=== Step 1. Download Package===&lt;br /&gt;
[[media:SDU_r12_EP1.zip|Click Here]] to download r12 EP1.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Add Scripts ===&lt;br /&gt;
Copy the files from the majic directory of this package to $NX_ROOT\site\mods\majic of the Primary Server.&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Add Triggers ===&lt;br /&gt;
Launch the Schema Designer and add the following Site-Defined Triggers to the tables specified.&lt;br /&gt;
&lt;br /&gt;
'''Table: alg (Request Activity Log)'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;POST_VALIDATE zcr_stat_to_child() 111 FILTER((type{-&amp;gt; 'CL'} || type{-&amp;gt; 'RE'} || type{-&amp;gt; 'ST'}) &amp;amp;&amp;amp; zset_child_f == 1);&lt;br /&gt;
POST_VALIDATE zcr_soln_to_child() 121 FILTER(type{-&amp;gt; 'SOLN'} &amp;amp;&amp;amp; zset_child_f == 1 );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Table: chgalg (Change Order Activity Log)'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;POST_VALIDATE zchg_stat_to_child() 111 FILTER((type{-&amp;gt; 'CL'} || type{-&amp;gt; 'CNCL'} || type{-&amp;gt; 'RE'} || type{-&amp;gt; 'ST'}) &amp;amp;&amp;amp; zset_child_f == 1);&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Table: issalg (Issue Activity Log)'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;POST_VALIDATE ziss_stat_to_child() 111 FILTER((type{-&amp;gt; 'CL'} || type{-&amp;gt; 'CNCL'} || type{-&amp;gt; 'RE'} || type{-&amp;gt; 'ST'}) &amp;amp;&amp;amp; zset_child_f == 1);&lt;br /&gt;
POST_VALIDATE ziss_soln_to_child() 121 FILTER(type{-&amp;gt; 'SOLN'} &amp;amp;&amp;amp; zset_child_f == 1 );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: If triggers currently exist for these tables using the sequence numbers provided (111 &amp;amp; 121), then simply use different numbers.''&lt;br /&gt;
&lt;br /&gt;
=== Step 4. Publish Schema Changes ===&lt;br /&gt;
To publish schema changes made in step 3, use the CA supported method which is as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
#File &amp;gt; Save and Publish.&amp;lt;br&amp;gt;&lt;br /&gt;
#Close all the Schema Designer and Web Screen Painter windows.&amp;lt;br&amp;gt;&lt;br /&gt;
#Stop the &amp;quot;CA Service Desk Server&amp;quot; service.&amp;lt;br&amp;gt;&lt;br /&gt;
#Run the &amp;quot;pdm_publish&amp;quot; command from a command prompt.&amp;lt;br&amp;gt;&lt;br /&gt;
#Start the &amp;quot;CA Service Desk Server&amp;quot; service.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 5. Add Analyst HTMPL Files ===&lt;br /&gt;
Copy the files from the htmpl directory of this package to $NX_ROOT\site\mods\www\htmpl\web\analyst on ALL the CA Service Desk servers.&lt;br /&gt;
&lt;br /&gt;
''Note 1: If utilizing Form Groups, ensure these files are placed within the appropriate Form Group folder located within the analyst directory on all of the CA Service Desk servers.''&lt;br /&gt;
&lt;br /&gt;
''Note 2: If these files already exist in the specified destinations, then simply locate the added or modified code clearly identified within the files provided here, and copy the code to the existing files.'' &lt;br /&gt;
&lt;br /&gt;
=== Step 6. Add Javascript Files ===&lt;br /&gt;
Copy the files from the script directory of this package to $NX_ROOT\site\mods\www\wwwroot\scripts on ALL the CA Service Desk servers.&lt;br /&gt;
&lt;br /&gt;
=== Step 7. Add Extract File ===&lt;br /&gt;
Copy usp_web_form.dat from this package to C: of the Primary Server. &lt;br /&gt;
&lt;br /&gt;
=== Step 8. Load Extract ===&lt;br /&gt;
From a command prompt run &amp;quot;pdm_load -f C:\usp_web_form.dat -i&amp;quot; from the Primary Server.&lt;br /&gt;
&lt;br /&gt;
=== Step 9. Clear Cache ===&lt;br /&gt;
From a command prompt run the &amp;quot;C:\pdm_webcache&amp;quot;  from the Primary Server.&lt;br /&gt;
&lt;br /&gt;
=== Step 10. Modify Roles ===&lt;br /&gt;
Via the Administration tab, go to Security and Role Management &amp;gt; Role Management &amp;gt; Role List and select the Administrator role. &lt;br /&gt;
#From the Administrator Role Detail, access tab &amp;quot;8. Go Resources&amp;quot;.&lt;br /&gt;
#Select the &amp;quot;Update Go Resources&amp;quot; button.&lt;br /&gt;
#On the Web Form Search select the &amp;quot;Search&amp;quot; button.&lt;br /&gt;
#Move the Req/Inc/Prb options to the right and select &amp;quot;OK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
''Note 1: Once the Req/Inc/Prb option has been added to the Go Button Search options, feel free to remove the individual Incident, Problem, and Request options.''&lt;br /&gt;
&lt;br /&gt;
''Note 2: Step 10 should be performed on all Roles where a combined search function is desired.''&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
02/06/09 - Removed gobtn.html and added procedures for adding new Go Button Resources&amp;lt;br&amp;gt;&lt;br /&gt;
02/05/09 - Generally available.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;font size=&amp;quot;3&amp;quot; color=&amp;quot;green&amp;quot;&amp;gt;Please click the ''discussion tab'' above and provide us with your feedback regarding the Enhancement Pack.&amp;lt;/font&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3664</id>
		<title>Integrating Service Desk with CA SPECTRUM</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3664"/>
				<updated>2009-01-25T14:54:26Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is a straightforward installation procedure out of the box which will create tickets when Spectrum detects an incident. For more informaton about Spectrum please see the [http://www.dachsug.ch/wiki/index.php/ServiceDesk_integration Spectrum/eHealth Wiki] &amp;lt;br&amp;gt;&lt;br /&gt;
[[User:Jabba 71|Jabba_71]] 22:44, 2 December 2008 (MST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Spectrum integration with Service Desk is supported by CA with an integration module and it is detailed in the Spectrum documentation (or the Service Desk integrations [https://support.ca.com/irj/portal/anonymous/phpdocs?filePath=0/common/greenbooks.html Green Book]. The integration provides:&lt;br /&gt;
* Creating a Service Desk Request/Incident/Problem from a Spectrum Alarm (Spectrum 8.1 and 9). After the ticket is created in Service Desk, a bidirectional correspondence is in place: when the Alarm in Spectrum gets reassigned or cleared, the status is transmitted in Service Desk and vice-versa, when the ticket is Closed in Service Desk the Alarm gets cleared in Spectrum. &lt;br /&gt;
:Tickets can be created automatically by Spectrum (based on the Alarm type) or manually from each Alarm.&lt;br /&gt;
* Synchronizing Spectrum models with Service Desk Configuration Items (Spectrum 9 only). This is a new concept in version 9 of Spectrum, a step towards integrating the Spectrum discovered network devices with the MDB asset data.&lt;br /&gt;
[[User:Mitcr01|Mitcr01]] 07:51, 25 January 2009 (MST)&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3663</id>
		<title>Integrating Service Desk with CA SPECTRUM</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3663"/>
				<updated>2009-01-25T14:54:10Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is a straightforward installation procedure out of the box which will create tickets when Spectrum detects an incident. For more informaton about Spectrum please see the [http://www.dachsug.ch/wiki/index.php/ServiceDesk_integration Spectrum/eHealth Wiki] &amp;lt;br&amp;gt;&lt;br /&gt;
[[User:Jabba 71|Jabba_71]] 22:44, 2 December 2008 (MST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Spectrum integration with Service Desk is supported by CA with an integration module and it is detailed in the Spectrum documentation (or the Service Desk integrations [https://support.ca.com/irj/portal/anonymous/phpdocs?filePath=0/common/greenbooks.html Green Book]. The integration provides:&lt;br /&gt;
* Creating a Service Desk Request/Incident/Problem from a Spectrum Alarm (Spectrum 8.1 and 9). After the ticket is created in Service Desk, a bidirectional correspondence is in place: when the Alarm in Spectrum gets reassigned or cleared, the status is transmitted in Service Desk and vice-versa, when the ticket is Closed in Service Desk the Alarm gets cleared in Spectrum. &lt;br /&gt;
:Tickets can be created automatically by Spectrum (based on the Alarm type) or manually from each Alarm.&lt;br /&gt;
* Synchronizing Spectrum models with Service Desk Configuration Items (Spectrum 9 only). This is a new concept in version 9 of Spectrum, a step towards integrating the Spectrum discovered network devices with the MDB asset data.&lt;br /&gt;
--[[User:Mitcr01|Mitcr01]] 07:51, 25 January 2009 (MST)&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3662</id>
		<title>Integrating Service Desk with CA SPECTRUM</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Integrating_Service_Desk_with_CA_SPECTRUM&amp;diff=3662"/>
				<updated>2009-01-25T14:51:48Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: detailed what the integration provides and the new asset (CI) integration provided by version 9&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is a straightforward installation procedure out of the box which will create tickets when Spectrum detects an incident. For more informaton about Spectrum please see the [http://www.dachsug.ch/wiki/index.php/ServiceDesk_integration Spectrum/eHealth Wiki] &amp;lt;br&amp;gt;&lt;br /&gt;
[[User:Jabba 71|Jabba_71]] 22:44, 2 December 2008 (MST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Spectrum integration with Service Desk is supported by CA with an integration module and it is detailed in the Spectrum documentation (or the Service Desk integrations [https://support.ca.com/irj/portal/anonymous/phpdocs?filePath=0/common/greenbooks.html Green Book]. The integration provides:&lt;br /&gt;
* Creating a Service Desk Request/Incident/Problem from a Spectrum Alarm (Spectrum 8.1 and 9). After the ticket is created in Service Desk, a bidirectional correspondence is in place: when the Alarm in Spectrum gets reassigned or cleared, the status is transmitted in Service Desk and vice-versa, when the ticket is Closed in Service Desk the Alarm gets cleared in Spectrum. Tickets can be created automatically by Spectrum (based on the Alarm type) or manually from each Alarm.&lt;br /&gt;
* Synchronizing Spectrum models with Service Desk Configuration Items (Spectrum 9 only). This is a new concept in version 9 of Spectrum, a step towards integrating the Spectrum discovered network devices with the MDB asset data.&lt;br /&gt;
--[[User:Mitcr01|Mitcr01]] 07:51, 25 January 2009 (MST)&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Maileater&amp;diff=3641</id>
		<title>Maileater</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Maileater&amp;diff=3641"/>
				<updated>2009-01-14T18:41:14Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Enabling maileater */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
[[Category:Integration]]&lt;br /&gt;
[[Category:r6]]&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 provides details about the maileater functionality. Maileater is a legacy feature used to create and update tickets via an email. It is very limited in its flexibilities and is best for automated ticket creation by enterprise systems that are not web services capabilities. Although it is an aged and outdated practice, many company's rely on email as a source for ticket generation, and thus rely on maileater to automate ticket creation.&lt;br /&gt;
&lt;br /&gt;
== How it Works ==&lt;br /&gt;
Once enabled, Maileater will access the specified email inbox via POP3 or IMAP. All emails in the inbox are processed. Emails that are properly configured and contain the required information will generate new tickets or update existing tickets. An email is sent verifying a successful creation or update. Emails that are properly configured but are lacking required information, such as any required fields, will generate an a failure email. Emails that are improperly configured have no reply email generated. All emails that are processed are deleted from the inbox.&lt;br /&gt;
&lt;br /&gt;
== Enabling maileater ==&lt;br /&gt;
Maileater is enabled via the [[Options_Manager#Email|Options Manager]]. All maileater options are prefixed with the word ''maileater''.&lt;br /&gt;
&lt;br /&gt;
== Understanding text_api ==&lt;br /&gt;
Maileater is driven by the text_api.cfg. All the values that can be set via an email can be found in the [[text_api]]. Additional attributes can be added to the &amp;lt;nowiki&amp;gt;[KEYWORDS]&amp;lt;/nowiki&amp;gt; section of the text_api to allow for setting custom fields or alternate methods of setting default fields. &lt;br /&gt;
&lt;br /&gt;
The sections specific to Maileater are &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;[EMAIL_IGNORE_INCOMING]&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; are used to consistently set the same value for all email generated tickets. For example, if you always want a specific initial Priority level, then identify it here. This eliminates the need for having to account for the Priority in the body of the email. However, any values identified in the email take priority over those set in &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt;. In other words, the &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; is a backup just in case the email does not contain any value for that particular variable.&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[EMAIL_IGNORE_INCOMING]&amp;lt;/nowiki&amp;gt; allows you to identify fields that are not permitted to be set via an email. This can be helpful for maintaining standards.&lt;br /&gt;
&lt;br /&gt;
== Configuring the Email Message ==&lt;br /&gt;
An email message that Maileater is to process must have a precise configuration.&lt;br /&gt;
&lt;br /&gt;
'''Subject Line'''&amp;lt;br&amp;gt;&lt;br /&gt;
The Subject Line must contain either the word REQUEST, CHANGE, or ISSUE. See the text_api.cfg and see how items are all referenced in the same manner. Since the system will set the Affected End User based on the email account sending the email, the -m argument can be used to trump this functionality. &lt;br /&gt;
&lt;br /&gt;
For example, &lt;br /&gt;
If Gregg sent an email with ''REQUEST'' in the subject line, a Request would be created where Gregg is the Affected End User. But if he send an email with ''REQUEST -m gityerfix@servicedeskusers.com'' as the subject, then a Request would be created with Gityerfix as the Affected End User.&lt;br /&gt;
&lt;br /&gt;
'''Body'''&amp;lt;br&amp;gt;&lt;br /&gt;
The message body by default is treated as the ticket Description unless otherwise noted. To set other fields via the email use a format that coincides with the &amp;lt;nowiki&amp;gt;[KEYWORD]&amp;lt;/nowiki&amp;gt; values identified in the text_api similar to this example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;%PRIORITY=1&lt;br /&gt;
%CATEGORY=ServiceDeskUsers&lt;br /&gt;
%IMPACT=5&lt;br /&gt;
%DESCRIPTION=SDU is great&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Handling required fields ==&lt;br /&gt;
There are two ways to handle required fields. &lt;br /&gt;
#Account for them in the email body.&lt;br /&gt;
#Account for them in the text_api.cfg in the &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; section. &lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
*'''No way of setting the Parent.''' If there is a way of doing this, it is a well guarded secret. &lt;br /&gt;
&lt;br /&gt;
*'''Dependent on intelligence of the sender.''' This means that Service Desk has no way of knowing what the correct values should be if enter incorrectly, and no way way of knowing that multiple emails from an auto-generating system are regarding the same issue.&lt;br /&gt;
&lt;br /&gt;
*'''Only one existence of the user's email.''' If the -m argument does not exist in the subject line of the email, then the FROM ADDRESS is used to determine the End User of the ticket. The system will look for the existence of that email address and the contact record containing that email address becomes the Affected End User. However, if there are multiple instances of the email address, problems can occur. &lt;br /&gt;
&lt;br /&gt;
== Best Practices ==&lt;br /&gt;
#The ''best practice'' is to '''restrict the use of Maileater''' to the auto-generation of tickets via systems that do not have web services capabilities. Web Services is a much more flexibly method of automating ticket creation. Web Services is a direct A to B communication, where as Maileater is A to B to C where B is the mail system. Consequently using maileater adds an addition point of failure.&lt;br /&gt;
#'''Promote level 0''' support. While email support is cheaper than phone support, self-help is the absolute cheapest. And in order to promote self-help you have to get the users to utilize the application. Using maileater does not help to promote this directive and only results in users being dependent on an outdated and archaic form of support. &lt;br /&gt;
#If you do elect to utilize Maileater, have a '''dedicated email''' address used exclusively by Maileater. As Maileater processes emails it deletes them from the inbox. For this reason, it is not practical for the Maileater inbox to be used by anything (or anyone) else.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Maileater&amp;diff=3640</id>
		<title>Maileater</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Maileater&amp;diff=3640"/>
				<updated>2009-01-14T18:40:48Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
[[Category:Integration]]&lt;br /&gt;
[[Category:r6]]&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 provides details about the maileater functionality. Maileater is a legacy feature used to create and update tickets via an email. It is very limited in its flexibilities and is best for automated ticket creation by enterprise systems that are not web services capabilities. Although it is an aged and outdated practice, many company's rely on email as a source for ticket generation, and thus rely on maileater to automate ticket creation.&lt;br /&gt;
&lt;br /&gt;
== How it Works ==&lt;br /&gt;
Once enabled, Maileater will access the specified email inbox via POP3 or IMAP. All emails in the inbox are processed. Emails that are properly configured and contain the required information will generate new tickets or update existing tickets. An email is sent verifying a successful creation or update. Emails that are properly configured but are lacking required information, such as any required fields, will generate an a failure email. Emails that are improperly configured have no reply email generated. All emails that are processed are deleted from the inbox.&lt;br /&gt;
&lt;br /&gt;
== Enabling maileater ==&lt;br /&gt;
Maileater is enabled via the [[Options_Manager#Email|Options Manager]]. All maileater options are with the word ''maileater''.&lt;br /&gt;
&lt;br /&gt;
== Understanding text_api ==&lt;br /&gt;
Maileater is driven by the text_api.cfg. All the values that can be set via an email can be found in the [[text_api]]. Additional attributes can be added to the &amp;lt;nowiki&amp;gt;[KEYWORDS]&amp;lt;/nowiki&amp;gt; section of the text_api to allow for setting custom fields or alternate methods of setting default fields. &lt;br /&gt;
&lt;br /&gt;
The sections specific to Maileater are &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; and &amp;lt;nowiki&amp;gt;[EMAIL_IGNORE_INCOMING]&amp;lt;/nowiki&amp;gt;. &lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; are used to consistently set the same value for all email generated tickets. For example, if you always want a specific initial Priority level, then identify it here. This eliminates the need for having to account for the Priority in the body of the email. However, any values identified in the email take priority over those set in &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt;. In other words, the &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; is a backup just in case the email does not contain any value for that particular variable.&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[EMAIL_IGNORE_INCOMING]&amp;lt;/nowiki&amp;gt; allows you to identify fields that are not permitted to be set via an email. This can be helpful for maintaining standards.&lt;br /&gt;
&lt;br /&gt;
== Configuring the Email Message ==&lt;br /&gt;
An email message that Maileater is to process must have a precise configuration.&lt;br /&gt;
&lt;br /&gt;
'''Subject Line'''&amp;lt;br&amp;gt;&lt;br /&gt;
The Subject Line must contain either the word REQUEST, CHANGE, or ISSUE. See the text_api.cfg and see how items are all referenced in the same manner. Since the system will set the Affected End User based on the email account sending the email, the -m argument can be used to trump this functionality. &lt;br /&gt;
&lt;br /&gt;
For example, &lt;br /&gt;
If Gregg sent an email with ''REQUEST'' in the subject line, a Request would be created where Gregg is the Affected End User. But if he send an email with ''REQUEST -m gityerfix@servicedeskusers.com'' as the subject, then a Request would be created with Gityerfix as the Affected End User.&lt;br /&gt;
&lt;br /&gt;
'''Body'''&amp;lt;br&amp;gt;&lt;br /&gt;
The message body by default is treated as the ticket Description unless otherwise noted. To set other fields via the email use a format that coincides with the &amp;lt;nowiki&amp;gt;[KEYWORD]&amp;lt;/nowiki&amp;gt; values identified in the text_api similar to this example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;%PRIORITY=1&lt;br /&gt;
%CATEGORY=ServiceDeskUsers&lt;br /&gt;
%IMPACT=5&lt;br /&gt;
%DESCRIPTION=SDU is great&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Handling required fields ==&lt;br /&gt;
There are two ways to handle required fields. &lt;br /&gt;
#Account for them in the email body.&lt;br /&gt;
#Account for them in the text_api.cfg in the &amp;lt;nowiki&amp;gt;[EMAIL_DEFAULTS]&amp;lt;/nowiki&amp;gt; section. &lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
*'''No way of setting the Parent.''' If there is a way of doing this, it is a well guarded secret. &lt;br /&gt;
&lt;br /&gt;
*'''Dependent on intelligence of the sender.''' This means that Service Desk has no way of knowing what the correct values should be if enter incorrectly, and no way way of knowing that multiple emails from an auto-generating system are regarding the same issue.&lt;br /&gt;
&lt;br /&gt;
*'''Only one existence of the user's email.''' If the -m argument does not exist in the subject line of the email, then the FROM ADDRESS is used to determine the End User of the ticket. The system will look for the existence of that email address and the contact record containing that email address becomes the Affected End User. However, if there are multiple instances of the email address, problems can occur. &lt;br /&gt;
&lt;br /&gt;
== Best Practices ==&lt;br /&gt;
#The ''best practice'' is to '''restrict the use of Maileater''' to the auto-generation of tickets via systems that do not have web services capabilities. Web Services is a much more flexibly method of automating ticket creation. Web Services is a direct A to B communication, where as Maileater is A to B to C where B is the mail system. Consequently using maileater adds an addition point of failure.&lt;br /&gt;
#'''Promote level 0''' support. While email support is cheaper than phone support, self-help is the absolute cheapest. And in order to promote self-help you have to get the users to utilize the application. Using maileater does not help to promote this directive and only results in users being dependent on an outdated and archaic form of support. &lt;br /&gt;
#If you do elect to utilize Maileater, have a '''dedicated email''' address used exclusively by Maileater. As Maileater processes emails it deletes them from the inbox. For this reason, it is not practical for the Maileater inbox to be used by anything (or anyone) else.&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Get_attr_vals&amp;diff=3330</id>
		<title>Get attr vals</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Get_attr_vals&amp;diff=3330"/>
				<updated>2008-10-01T10:05:52Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
== Overview ==&lt;br /&gt;
Get values of attributes on the root object.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
get_attr_vals(int count, [ string attr_path... ])&lt;br /&gt;
&lt;br /&gt;
* count - number of attributes to get. It must corresponds to the number of ''attr_path'' parameters&lt;br /&gt;
* attr_path - name of the attribute with dot convention (you can ask for value also on subsidiary objects)&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
You can found values in '''msg''' array on a triplicate position (first value is on msg[3], second on msg[6] and so on)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* get first name, last name and email from CR's customer&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
send_wait (0, this, &amp;quot;get_attr_vals&amp;quot;, 3, &amp;quot;customer.first_name&amp;quot;, &amp;quot;customer.last_name&amp;quot;, &amp;quot;customer.email&amp;quot;);&lt;br /&gt;
cstName = msg[3];&lt;br /&gt;
cstSurname = msg[6];&lt;br /&gt;
cstEmail = msg [9];&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3304</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3304"/>
				<updated>2008-09-21T08:27:29Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, Service Desk log files have a cutover size of 3000000 Bytes.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| Lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| Number of bytes in a single logfile, before cutover.&lt;br /&gt;
| To set the correct file size you have to enter the size in ''bytes''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* If you want to have a log file size of 10 Megabytes just enter following command:&lt;br /&gt;
 pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3303</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3303"/>
				<updated>2008-09-21T08:26:50Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, Service Desk log files have a cutover size of 3000000 Bytes.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| Lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| Number of bytes in a single logfile, before cutover.&lt;br /&gt;
| To set the correct file size you have to enter the size in ''bytes''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
 pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3302</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3302"/>
				<updated>2008-09-21T08:25:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default, Service Desk log files have a cutover size of 3000000 Bytes.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| Lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| Number of bytes in a single logfile, before cutover&lt;br /&gt;
| to set the correct filesize you have to enter the size in ''bytes''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
 pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3301</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3301"/>
				<updated>2008-09-21T08:23:42Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| Lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| Number of bytes in a single logfile, before cutover&lt;br /&gt;
| to set the correct filesize you have to enter the size in ''bytes''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
 pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3300</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3300"/>
				<updated>2008-09-21T08:21:43Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| Lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| Number of bytes in a single logfile, before cutover&lt;br /&gt;
| to set the correct filesize you have to enter the size in ''bytes''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
&amp;lt;math&amp;gt;Insert formula here&amp;lt;/math&amp;gt;&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3299</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3299"/>
				<updated>2008-09-21T08:20:55Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Alter the log file size Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| number of bytes in a single logfile, before cutover&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
&amp;lt;math&amp;gt;Insert formula here&amp;lt;/math&amp;gt;&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3298</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3298"/>
				<updated>2008-09-21T08:19:49Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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 can be used to set or display the current logfiles cutover configuration.&lt;br /&gt;
&lt;br /&gt;
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
pdm_logfile [-h] [-q] [-L] [-b bytes]&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;
| -L&lt;br /&gt;
| lists the current cutover settings and log files.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| -q&lt;br /&gt;
| Quiet mode&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| -b bytes&lt;br /&gt;
| number of bytes in a single logfile, before cutover&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Alter the log file size Example ==&lt;br /&gt;
To set the correct filesize you have to enter the size in bytes.&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3297</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3297"/>
				<updated>2008-09-21T07:48:22Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
pdm_logfile is another command-line utility.&lt;br /&gt;
&lt;br /&gt;
You can define a special filesize of the log files before a cutover happens.&lt;br /&gt;
&lt;br /&gt;
Just enter pdm_logfile -? to see the help for this tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Alter the log file size Example ==&lt;br /&gt;
To set the correct filesize you have to enter the size in bytes.&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3296</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3296"/>
				<updated>2008-09-21T07:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;pdm_logfile is another commandline utility.&lt;br /&gt;
&lt;br /&gt;
You can define a special filesize of the log files before a cutover happens.&lt;br /&gt;
&lt;br /&gt;
Just enter pdm_logfile -? to see the help for this tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Alter the logfilesize'''&lt;br /&gt;
To set the correct filesize you have to enter the size in bytes.&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3295</id>
		<title>Pdm logfile</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Pdm_logfile&amp;diff=3295"/>
				<updated>2008-09-21T07:34:09Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;pdm_logfile is another commandline utility.&lt;br /&gt;
&lt;br /&gt;
You can define a special filesize of the log files bevore a cutover happens.&lt;br /&gt;
&lt;br /&gt;
Just enter pdm_logfile -? to see the help for this tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Alter the logfilesize'''&lt;br /&gt;
To set the correct filesize you have to enter the size in bytes.&lt;br /&gt;
OOTB standard is 3 Megabytes which is 3000000 Bytes&lt;br /&gt;
&lt;br /&gt;
If you want to have a filesize of 10 Megabytes just enter following command:&lt;br /&gt;
pdm_logfile -b 10000000&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Add_Workflow_to_Employee/Customer_Interface&amp;diff=2873</id>
		<title>Add Workflow to Employee/Customer Interface</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Workflow_to_Employee/Customer_Interface&amp;diff=2873"/>
				<updated>2008-08-01T04:35:06Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&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 workflow capabilities to the Employee/Customer Interface. Workflow refers to the built-in classic legacy workflow, not the CA Workflow application that is included with the Service Desk installation. &lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Set Access Type ===&lt;br /&gt;
In order to be able to complete a Workflow Task, the Employee/Customer Access Types will need to be updated. The Functional Access for Change Orders must be changed to ''Modify''.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Add Nodes to Employee/Customer Scoreboards ===&lt;br /&gt;
Customize the Employee/Customer Scoreboard by adding a Node with the following parameters&amp;lt;br&amp;gt;&lt;br /&gt;
'''Node label:''' pending tasks&amp;lt;br&amp;gt;&lt;br /&gt;
'''Node's Stored Query:''' My Pending Tasks&lt;br /&gt;
&lt;br /&gt;
Note: The ''My pending Tasks'' query is the default label for a query with the code of MYPEND which contains the syntax of...&lt;br /&gt;
 assignee = @cnt.id AND status = \'PEND\'&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Create list_wf.htmpl Form ===&lt;br /&gt;
The list_wf.htmpl form is needed if workflow nodes are added to the Employee/Customer Scoreboards. From this list, all of the workflow tasks meeting the criteria of the Stored Query associated with the node will be displayed. These are typically all the tasks assigned to the logged in person.&lt;br /&gt;
&lt;br /&gt;
[[Media:Employee_Workflow_Files.zip|Click Here]] to download files, or copy syntax below.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;PDM_PRAGMA RELEASE=110&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=&amp;quot;std_head.htmpl&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT&amp;gt;&lt;br /&gt;
var argBackfillField = '$args.KEEP.backfill_field';&lt;br /&gt;
var argBackfillForm = '$args.KEEP.backfill_form';&lt;br /&gt;
var argSearchSqlClause = '&amp;lt;PDM_FMT PAD=NO ESC_STYLE=C&amp;gt;$args.search_sql_clause&amp;lt;/PDM_FMT&amp;gt;';&lt;br /&gt;
var argSearchWhereClause = '&amp;lt;PDM_FMT PAD=NO ESC_STYLE=C&amp;gt;$args.search_where_clause&amp;lt;/PDM_FMT&amp;gt;';&lt;br /&gt;
var argSaveSqlClause = '&amp;lt;PDM_FMT PAD=NO ESC_STYLE=C&amp;gt;$args.KEEP.save_sql_clause&amp;lt;/PDM_FMT&amp;gt;';&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;${current:n/a}&amp;quot; == &amp;quot;n/a&amp;quot;&amp;gt;&lt;br /&gt;
var searchFilterInitialState = &amp;quot;show&amp;quot;;&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
var cfgCurrent = '$current';&lt;br /&gt;
var cfgTotal = '$total';&lt;br /&gt;
var cfgRecordCount = '$record_count';&lt;br /&gt;
var cfgStart = '$start';&lt;br /&gt;
var cfgLength = '$length';&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
var cfgUseTemplate = '$args.use_template';&lt;br /&gt;
var cfgIsPopup = '$args.KEEP.IsPopUp';&lt;br /&gt;
var rptName = new Array(&amp;quot;no&amp;quot;, &amp;quot;no&amp;quot;);&lt;br /&gt;
var cfgCanEdit = true;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/date_helper.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/convert_date.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/val_type.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_list_include.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/comboname.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/sitemods.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY CLASS=&amp;quot;emp&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;PDM_FORM NAME=&amp;quot;frmFID&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_FORM&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;${current:n/a}&amp;quot; != &amp;quot;n/a&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
var msgFoundNone = &amp;quot;No workflow tasks found&amp;quot;;&lt;br /&gt;
var msgFound1 = &amp;quot;1 workflow task found&amp;quot;;&lt;br /&gt;
var msgFound = &amp;quot;%1 workflow tasks found&amp;quot;;&lt;br /&gt;
var msgFoundMore = &amp;quot;%1 workflow tasks found.  Displaying %2 through %3&amp;quot;;&lt;br /&gt;
var msgSelect = &amp;quot;Click to select desired workflow task&amp;quot;;&lt;br /&gt;
var ref_num_style;&lt;br /&gt;
&amp;lt;pdm_macro name=lsStart&amp;gt;&lt;br /&gt;
rs.overrideMenu=true;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Task&amp;quot; attr=task link=yes&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Assignee&amp;quot; attr=assignee&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Status&amp;quot; attr=status&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Description&amp;quot; attr=description  width=200&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsEnd factory=wf&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;BASE TARGET=&amp;quot;_top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=&amp;quot;std_footer.htmpl&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 4. Create detail_wf.htmpl Form ===&lt;br /&gt;
The detail_wf.htmpl form will be accessed directly from an email URL or from the list_wf.htmpl. Sections have been added to allow for viewing details of the Change Order as well as viewing any Attachments on the Change Order. Both of these sections can be easily removed.&lt;br /&gt;
&lt;br /&gt;
[[Media:Employee_Workflow_Files.zip|Click Here]] to download files, or copy syntax below.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&amp;lt;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;
&amp;lt;PDM_PRAGMA RELEASE=110&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=styles.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
var hdrTitle = &amp;quot;Change Workflow Detail&amp;quot;;&lt;br /&gt;
var hdrTitleUpd = &amp;quot;Update Change Workflow&amp;quot;;&lt;br /&gt;
var hdrTitleNew = &amp;quot;Create New Change Workflow&amp;quot;;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_head.htmpl &amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT&amp;gt;&lt;br /&gt;
cfgDateFormat = &amp;quot;$date_format&amp;quot;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/detail_form.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/arrow_button.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/check_submit.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/img_link.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/val_type.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/sitemods.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/attevts.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/convert_date.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/attmnt_upload.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot; SRC=&amp;quot;$CAisd/scripts/upload.js&amp;quot;&amp;gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;ro&amp;quot;&amp;gt;&lt;br /&gt;
			var cfgAllowPopupResize = true;&lt;br /&gt;
			var lnkid = -1;&lt;br /&gt;
			var attdata = new Array();&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
argPersistentID = &amp;quot;$args.persistent_id&amp;quot;;&lt;br /&gt;
function unloadActions()&lt;br /&gt;
{&lt;br /&gt;
   if ( _dtl.edit )&lt;br /&gt;
      unload_check();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HEAD&amp;gt;&lt;br /&gt;
&amp;lt;BODY class=detailro onUnload=&amp;quot;unloadActions()&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl filename=&amp;quot;Change Workflow&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;CENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=FACTORY VALUE=wf&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;edit&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=OP VALUE=&amp;quot;UPDATE&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF 0 == $args.id&amp;gt;&lt;br /&gt;
&amp;lt;SPAN class=labeltext&amp;gt;You are not allowed to create a new Workflow&amp;lt;/SPAN&amp;gt;&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF $args.id&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.id  VALUE=&amp;quot;$args.id&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlForm factory=wf button=false&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;edit&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnRow();&lt;br /&gt;
ImgBtnCreate(&amp;quot;btn001&amp;quot;, msgtext(208), &amp;quot;detailSave()&amp;quot;, true, 120);&lt;br /&gt;
ImgBtnCreate(&amp;quot;btncncl&amp;quot;, msgtext(209), &amp;quot;cancel_update('$prop.form_name_2','$args.id','$args.NEXT_PERSID')&amp;quot;, true, 120);&lt;br /&gt;
ImgBtnCreate(&amp;quot;btn003&amp;quot;, msgtext(400), &amp;quot;pdm_reset()&amp;quot;, true, 120);&lt;br /&gt;
ImgBtnEndRow();&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;ro&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.status.allow_task_update&amp;quot; == &amp;quot;1&amp;quot; || &amp;quot;$args.status.code&amp;quot; == &amp;quot;COMP&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_FORM NAME=&amp;quot;frmDTLRO&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=FACTORY VALUE=wf&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.id  VALUE=&amp;quot;$args.id&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=OP&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnRow();&lt;br /&gt;
ImgBtnCreate(&amp;quot;btn001&amp;quot;, msgtext(513), &amp;quot;pdm_submit('frmDTLRO','UPDATE')&amp;quot;, true, 120);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_FORM&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
ImgBtnEndRow();&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStart&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Task attr=&amp;quot;task.sym&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Assignee attr=&amp;quot;assignee&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;edit&amp;quot;&amp;gt;&lt;br /&gt;
detailRowHdr(&amp;quot;Status&amp;quot;, 1 , &amp;quot;$args.REQUIRED_status&amp;quot;);&lt;br /&gt;
var item = '&amp;lt;PDM_SELECT NAME=SET.status ESC_STYLE=HTML FACTORY=tskstat WF_FAC_FOR_TSKSTAT=wf SELECTED=&amp;quot;$args.status&amp;quot; SELECTED_SYM=&amp;quot;$args.status.COMMON_NAME&amp;quot;&amp;gt;';&lt;br /&gt;
var ins_pos = item.indexOf(&amp;quot;NAME=&amp;quot;);&lt;br /&gt;
if (ins_pos &amp;gt; 0) &lt;br /&gt;
{&lt;br /&gt;
    _dtl.tabIndex++;&lt;br /&gt;
    item = item.substring(0, ins_pos) + &amp;quot; TABINDEX=&amp;quot; + _dtl.tabIndex + &amp;quot; &amp;quot; + item.substring(ins_pos, item.length);&lt;br /&gt;
}&lt;br /&gt;
detailSetRowData(item);&lt;br /&gt;
&amp;lt;PDM_ELSE&amp;gt;&lt;br /&gt;
	&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Status attr=&amp;quot;status.sym&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlTextbox hdr=&amp;quot;Task Description&amp;quot; attr=&amp;quot;description&amp;quot; size=70 colspan=4 rows=4 spellchk=yes&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- BEGIN CHANGE DETAILS --&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;ro&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Change# attr=&amp;quot;chg.chg_ref_num&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Category attr=&amp;quot;chg.category.sym&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=Requestor attr=&amp;quot;chg.requestor.combo_name&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=&amp;quot;End User&amp;quot; attr=&amp;quot;chg.affected_contact.combo_name&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlStartRow&amp;gt;&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlReadonly hdr=&amp;quot;Change Description&amp;quot; attr=&amp;quot;chg.description&amp;quot; colspan=4&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;!-- END CHANGE DETAILS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlEndTable&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- BEGIN CHANGE ATTACHMENTS --&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$prop.form_name_3&amp;quot; == &amp;quot;ro&amp;quot; &amp;amp;&amp;amp; $args.chg.attachments.length != 0 &amp;gt;&lt;br /&gt;
&amp;lt;P&amp;gt;&lt;br /&gt;
&amp;lt;TABLE WIDTH=90%&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT&amp;gt;&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;TR&amp;gt;&amp;quot;);&lt;br /&gt;
document.write(&amp;quot;&amp;lt;TH CLASS=detailro ALIGN=left VALIGN=top&amp;gt;Attachments&amp;quot;);&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;/TH&amp;gt;&amp;quot;);&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;PDM_LIST SOURCE=args.chg.attachments&amp;gt;&lt;br /&gt;
attdata[++lnkid] = new Object();&lt;br /&gt;
attdata[lnkid].id = &amp;quot;$args.chg.attachments.id&amp;quot;;&lt;br /&gt;
attdata[lnkid].attmnt_name = unescape('&amp;lt;PDM_FMT ESC_STYLE=JS2&amp;gt;$args.chg.attachments.attmnt_name&amp;lt;/PDM_FMT&amp;gt;');&lt;br /&gt;
attdata[lnkid].orig_file_name = unescape('&amp;lt;PDM_FMT ESC_STYLE=JS2&amp;gt;$args.chg.attachments.orig_file_name&amp;lt;/PDM_FMT&amp;gt;');&lt;br /&gt;
attdata[lnkid].status = &amp;quot;$args.chg.attachments.status&amp;quot;;&lt;br /&gt;
&amp;lt;PDM_IF &amp;quot;$args.chg.attachments.link_only&amp;quot; != &amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
attdata[lnkid].cgi_path =&amp;quot;$args.chg.attachments.repository.servlet_path&amp;quot;;&lt;br /&gt;
attdata[lnkid].protocol = &amp;quot;servlet&amp;quot;;&lt;br /&gt;
attdata[lnkid].server = &amp;quot;$args.chg.attachments.repository.server&amp;quot;;&lt;br /&gt;
attdata[lnkid].retrieve_path = &amp;quot;$args.chg.attachments.repository.retrieve_path&amp;quot;;&lt;br /&gt;
attdata[lnkid].file_name = &amp;quot;$args.chg.attachments.file_name&amp;quot;;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;TR&amp;gt;&amp;quot;);&lt;br /&gt;
document.write(&amp;quot;&amp;lt;TD CLASS=detailro ALIGN=left VALIGN=top&amp;gt;&amp;quot;);&lt;br /&gt;
var link = &amp;quot;&amp;lt;A HREF=\&amp;quot;javascript:download_exec(attdata[&amp;quot; + lnkid + &amp;quot;])\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
document.write(link + '&amp;lt;PDM_FMT esc_style=c&amp;gt;&amp;lt;PDM_FMT JUSTIFY=TRUNCATE WIDTH=40&amp;gt;$args.chg.attachments.attmnt_name&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/PDM_FMT&amp;gt;&amp;lt;/A&amp;gt;');&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;/TD&amp;gt;&amp;quot;);&lt;br /&gt;
document.writeln(&amp;quot;&amp;lt;/TR&amp;gt;&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_LIST&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/P&amp;gt;&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;!-- END CHANGE ATTACHMENTS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PDM_MACRO NAME=dtlEnd&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_footer.htmpl&amp;gt;&lt;br /&gt;
&amp;lt;/BODY&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&amp;lt;PDM_WSP&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 5. Clear the web cache ===&lt;br /&gt;
{{R11 Clear Cache}}&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2447</id>
		<title>T3GQ028</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2447"/>
				<updated>2008-07-23T04:50:21Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2446</id>
		<title>T3GQ028</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2446"/>
				<updated>2008-07-23T04:49:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2445</id>
		<title>T3GQ028</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2445"/>
				<updated>2008-07-23T04:48:47Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2444</id>
		<title>T3GQ028</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=T3GQ028&amp;diff=2444"/>
				<updated>2008-07-23T04:48:08Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: New page: The Task Behavior page on the Administration side is showing blank after applying the 2nd set of cummulative patches for r11.2 GA.  The error appears only if C2 is applied over the GA vers...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Patches&amp;diff=2443</id>
		<title>Patches</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Patches&amp;diff=2443"/>
				<updated>2008-07-23T04:45:51Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* Test Patches */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Installation]]&lt;br /&gt;
&lt;br /&gt;
== Test Patches ==&lt;br /&gt;
{| style=&amp;quot;vertical-align:top;&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Patch !! Brief Description&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[T5ET051]]   &lt;br /&gt;
| Customization on Contact or Contact_Type tables may cause problem for 6.0 to r11.2 migration.&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[T5GQ012]]&lt;br /&gt;
| Notification History missing after cumulative patches are installed&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[T5GQ027]]&lt;br /&gt;
| Bad where clause error in announcement search, when analyst has an organization and location        (Need to have 2nd cumulative applied to apply)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|[[T3GQ028]]&lt;br /&gt;
| After applying the 2nd cumulative patches the task behavior page is blank (for either Change or Issue)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
&lt;br /&gt;
*[http://supportconnectw.ca.com/public/ahd_paradigm/downloads/usvdr112-solpatch.asp Unicenter Service Desk 11.2 Solutions &amp;amp; Patches]&lt;br /&gt;
*[http://supportconnectw.ca.com/premium/uniservplus/infodocs/usrdr112-cumpatch.asp Reported Incidents with First Cumulative patches of Service Desk R11.2]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div align='center'&amp;gt;&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;lt;br&amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1904</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1904"/>
				<updated>2008-05-15T17:12:20Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;try out your code here&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;bop_sinfo&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1222</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1222"/>
				<updated>2008-02-14T18:56:20Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: /* code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
int i, n;&lt;br /&gt;
&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
    i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
    '''i''' = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
n = i + 1;&lt;br /&gt;
send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1220</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1220"/>
				<updated>2008-02-13T21:28:24Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
int i, n;&lt;br /&gt;
&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
    i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
    i = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
n = i + 1;&lt;br /&gt;
send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1219</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1219"/>
				<updated>2008-02-13T21:27:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x^2=y^2+z^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
int i, n;&lt;br /&gt;
&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
    i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
    i = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
n = i + 1;&lt;br /&gt;
send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1196</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1196"/>
				<updated>2008-02-11T20:21:34Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;&lt;br /&gt;
int i, n;&lt;br /&gt;
&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
    i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
    i = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
n = i + 1;&lt;br /&gt;
send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1195</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1195"/>
				<updated>2008-02-11T20:20:12Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;cpp&amp;quot;&amp;gt;int i, n;&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
i = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
n = i + 1;&lt;br /&gt;
 send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1194</id>
		<title>Help:Sandbox</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Help:Sandbox&amp;diff=1194"/>
				<updated>2008-02-11T20:19:40Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Feel free to try out the wiki syntax in this page.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!-- test your skills below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;rss desc=off&amp;gt;http://www.servicedeskusers.com/forum/index.php?act=rssout&amp;amp;id=8&amp;lt;/rss&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:CA Workflow]] &lt;br /&gt;
&lt;br /&gt;
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=xml&amp;gt;&lt;br /&gt;
&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1170219743489&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/duedateprocessing&amp;gt;&lt;br /&gt;
  &amp;lt;preprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;postprocessing /&amp;gt; &lt;br /&gt;
  &amp;lt;executioncontexts /&amp;gt; &lt;br /&gt;
  &amp;lt;exceptionhandlers /&amp;gt; &lt;br /&gt;
  &amp;lt;/subactivity&amp;gt;&lt;br /&gt;
  &amp;lt;/nodes&amp;gt;&lt;br /&gt;
- &amp;lt;transitions&amp;gt;&lt;br /&gt;
- &amp;lt;transition id=&amp;quot;1164858697231&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;from&amp;gt;1509732671450107440&amp;lt;/from&amp;gt; &lt;br /&gt;
  &amp;lt;frompointnormal&amp;gt;-1&amp;lt;/frompointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;frompointswimlane&amp;gt;-1&amp;lt;/frompointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;topointnormal&amp;gt;-1&amp;lt;/topointnormal&amp;gt; &lt;br /&gt;
  &amp;lt;topointswimlane&amp;gt;-1&amp;lt;/topointswimlane&amp;gt; &lt;br /&gt;
  &amp;lt;to&amp;gt;1164858205749&amp;lt;/to&amp;gt; &lt;br /&gt;
  &amp;lt;sequence&amp;gt;-1&amp;lt;/sequence&amp;gt; &lt;br /&gt;
  &amp;lt;label /&amp;gt; &lt;br /&gt;
  &amp;lt;description /&amp;gt; &lt;br /&gt;
  &amp;lt;done&amp;gt;N&amp;lt;/done&amp;gt; &lt;br /&gt;
  &amp;lt;condition /&amp;gt; &lt;br /&gt;
  &amp;lt;lineWidth&amp;gt;1&amp;lt;/lineWidth&amp;gt; &lt;br /&gt;
  &amp;lt;lineColor&amp;gt;-16777216&amp;lt;/lineColor&amp;gt; &lt;br /&gt;
  &amp;lt;/transition&amp;gt;&lt;br /&gt;
  &amp;lt;/transitions&amp;gt;&lt;br /&gt;
  &amp;lt;/process&amp;gt;&lt;br /&gt;
  &amp;lt;/processes&amp;gt;&lt;br /&gt;
  &amp;lt;/processdefinition&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c++&amp;quot;&amp;gt;int i, n;&lt;br /&gt;
if (is_null(zreopen_count)) {&lt;br /&gt;
i = 0;&lt;br /&gt;
} else {&lt;br /&gt;
i = zreopen_count;&lt;br /&gt;
}&lt;br /&gt;
n = i + 1;&lt;br /&gt;
 send_wait(0, this, &amp;quot;call_attr&amp;quot;, &amp;quot;zreopen_count&amp;quot;, &amp;quot;set_val&amp;quot;, n, &amp;quot;SURE_SET&amp;quot;);&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=1193</id>
		<title>Bop odump</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=1193"/>
				<updated>2008-02-11T20:10:46Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;lt;domsrvr_name&amp;gt; &amp;lt;object_factory&amp;gt; &amp;lt;where_clause&amp;gt; [attributes]&lt;br /&gt;
&amp;lt;br&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;lt;domsrvr_name&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;lt;object_factory&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;lt;where_clause&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;quot;&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;
&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;quot;&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;quot; problem.ref_num='12' AND active=1 &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;quot; assignee.userid='fred' &amp;quot; customer.combo_name&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div align='center'&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;lt;br&amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Commands man]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=1192</id>
		<title>Bop odump</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Bop_odump&amp;diff=1192"/>
				<updated>2008-02-11T20:09:23Z</updated>
		
		<summary type="html">&lt;p&gt;Mitcr01: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;lt;domsrvr_name&amp;gt; &amp;lt;object_factory&amp;gt; &amp;lt;where_clause&amp;gt; [attributes]&lt;br /&gt;
&amp;lt;br&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;lt;domsrvr_name&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;lt;object_factory&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;lt;where_clause&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;quot;&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;
&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;quot;&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;quot; problem.ref_num='12' AND active=1 &amp;quot;&lt;br /&gt;
&lt;br /&gt;
* Dump all Requests that belong to an Analyst with the username Fred, show only the close date&lt;br /&gt;
 bop_odump domsrvr cr &amp;quot; assignee.userid='fred' &amp;quot; close_date&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div align='center'&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;lt;br&amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Commands man]]&lt;/div&gt;</summary>
		<author><name>Mitcr01</name></author>	</entry>

	</feed>