<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Attachments_on_Contacts</id>
		<title>Attachments on Contacts - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Attachments_on_Contacts"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;action=history"/>
		<updated>2026-09-23T07:14:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3635&amp;oldid=prev</id>
		<title>Gityerfix: Add Attachments to Contacts moved to Attachments on Contacts</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3635&amp;oldid=prev"/>
				<updated>2009-01-09T02:08:06Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php?title=Add_Attachments_to_Contacts&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Add Attachments to Contacts (page does not exist)&quot;&gt;Add Attachments to Contacts&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php?title=Attachments_on_Contacts&quot; title=&quot;Attachments on Contacts&quot;&gt;Attachments on Contacts&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:08, 9 January 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Gityerfix</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3630&amp;oldid=prev</id>
		<title>Gityerfix: Adding Attachments to Contacts moved to Add Attachments to Contacts</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3630&amp;oldid=prev"/>
				<updated>2009-01-09T02:05:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php?title=Adding_Attachments_to_Contacts&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Adding Attachments to Contacts (page does not exist)&quot;&gt;Adding Attachments to Contacts&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php?title=Add_Attachments_to_Contacts&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Add Attachments to Contacts (page does not exist)&quot;&gt;Add Attachments to Contacts&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:05, 9 January 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Gityerfix</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3566&amp;oldid=prev</id>
		<title>BrianM: /* Step 3. Edit the detail_nr.htmpl form */</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3566&amp;oldid=prev"/>
				<updated>2008-12-04T06:17:10Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Step 3. Edit the detail_nr.htmpl form&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:17, 4 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot; &gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For ALL releases recycle the Service Desk service.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For ALL releases recycle the Service Desk service.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Step 3. Edit the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;detail_nr&lt;/del&gt;.htmpl form ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Step 3. Edit the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;detail_cnt&lt;/ins&gt;.htmpl form ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Add the following code to the BODY of the form in the PDM_NOTEBOOK area:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Add the following code to the BODY of the form in the PDM_NOTEBOOK area:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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=cnt+PERSID=$args.persistent_id&amp;quot; NAME=&amp;quot;Attachments&amp;quot;&amp;#160; height=300&amp;gt;&amp;lt;/pdm_tab&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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=cnt+PERSID=$args.persistent_id&amp;quot; NAME=&amp;quot;Attachments&amp;quot;&amp;#160; height=300&amp;gt;&amp;lt;/pdm_tab&amp;gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BrianM</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3560&amp;oldid=prev</id>
		<title>Gityerfix: New page: __NOTOC__ Category:Contacts Category:Customizations Category:r11 {{Global Header}} {{Global Announcement}}  == Overview == This article provides instructions for adding attachm...</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Attachments_on_Contacts&amp;diff=3560&amp;oldid=prev"/>
				<updated>2008-12-03T22:16:21Z</updated>
		
		<summary type="html">&lt;p&gt;New page: __NOTOC__ &lt;a href=&quot;/wiki/index.php?title=Category:Contacts&quot; title=&quot;Category:Contacts&quot;&gt;Category:Contacts&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:Customizations&quot; title=&quot;Category:Customizations&quot;&gt;Category:Customizations&lt;/a&gt; &lt;a href=&quot;/wiki/index.php?title=Category:R11&quot; title=&quot;Category:R11&quot;&gt;Category:r11&lt;/a&gt; {{Global Header}} {{Global Announcement}}  == Overview == This article provides instructions for adding attachm...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
[[Category:Contacts]]&lt;br /&gt;
[[Category:Customizations]]&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 instructions for adding attachment capabilities to Contacts.&lt;br /&gt;
&lt;br /&gt;
''Note: This customization is designed for r11.x versions only.''&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;cnt: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:&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=cnt+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;cnt&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          5312 ERROR        DomWrap.c       1162 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_contact.id = usp_contact.id&lt;br /&gt;
kt_daemon          5312 ERROR        DomWrap.c        809 Failed to complete reply method: 'select_sd_ref_num' ,BOP Name:'attmnt:400071' in class:'CAttmntLinks', Error:AHD03053: Bad where clause: invalid constraint.  Could not recognize persistent_id.  OUTER_JOIN ca_contact.id = usp_contact.id&lt;br /&gt;
domsrvr            6020 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_contact.id = usp_contact.id&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gityerfix</name></author>	</entry>

	</feed>