<?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=Add_Contact_Search_to_Employee%2FCustomer_Interface</id>
		<title>Add Contact Search to Employee/Customer Interface - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Add_Contact_Search_to_Employee%2FCustomer_Interface"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Contact_Search_to_Employee/Customer_Interface&amp;action=history"/>
		<updated>2026-07-27T10:49:26Z</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=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=3629&amp;oldid=prev</id>
		<title>Gityerfix at 05:43, 8 January 2009</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=3629&amp;oldid=prev"/>
				<updated>2009-01-08T05:43:42Z</updated>
		
		<summary type="html">&lt;p&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 05:43, 8 January 2009&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-l91&quot; &gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&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&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&amp;gt;&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 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;5&lt;/del&gt;. Clear the web cache ===&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 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/ins&gt;. Clear the web cache ===&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;{{R11 Clear Cache}}&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;{{R11 Clear Cache}}&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=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=2952&amp;oldid=prev</id>
		<title>Gityerfix: /* Step 3. Create list_cnt.htmpl Form */</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=2952&amp;oldid=prev"/>
				<updated>2008-08-06T20:26:51Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Step 3. Create list_cnt.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 20:26, 6 August 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-l22&quot; &gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&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;The list_cnt.htmpl will display the list of contacts from which to make a selection.&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;The list_cnt.htmpl will display the list of contacts from which to make a selection.&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;[[Media:Employee_Contact_Search.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;htmpl&lt;/del&gt;|Click Here]] to download file, or copy syntax below.&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;[[Media:Employee_Contact_Search.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;zip&lt;/ins&gt;|Click Here]] to download file, or copy syntax below.&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;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&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;html lang=&amp;quot;en&amp;quot;&amp;gt;&amp;lt;HEAD&amp;gt;&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;PDM_PRAGMA RELEASE=110&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;PDM_PRAGMA RELEASE=110&amp;gt;&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=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=2951&amp;oldid=prev</id>
		<title>Gityerfix: New page: __NOTOC__ Category:Contacts Category:Customizations Category:Employee Interface Category:r11 {{Global Header}} {{Global Announcement}}  == Overview == This article provides...</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Add_Contact_Search_to_Employee/Customer_Interface&amp;diff=2951&amp;oldid=prev"/>
				<updated>2008-08-06T20:25:36Z</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:Employee_Interface&quot; title=&quot;Category:Employee Interface&quot;&gt;Category:Employee Interface&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...&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:Employee Interface]]&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 Contact Searching capabilities to the Employee/Customer Interface. &lt;br /&gt;
&lt;br /&gt;
== Procedures ==&lt;br /&gt;
=== Step 1. Remove Data Partition Constraints ===&lt;br /&gt;
By default the Employee and Customer Access Types have Data Partitions associated with them.  Delete or Inactivate the VIEW constraint on the ca_contact table.&lt;br /&gt;
&lt;br /&gt;
=== Step 2. Add lookup field to forms ===&lt;br /&gt;
Add a dtlLookup PDM_MACRO to the desired detail form ''(detail_chg.htmpl, detail_cr.htmpl, detail_iss.htmpl)''. When the label of this field is selected the list_cnt.htmpl form is launched.&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;PDM_MACRO NAME=dtlLookup hdr=&amp;quot;My Field&amp;quot; attr=&amp;quot;zyourfield&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Step 3. Create list_cnt.htmpl Form ===&lt;br /&gt;
The list_cnt.htmpl will display the list of contacts from which to make a selection.&lt;br /&gt;
&lt;br /&gt;
[[Media:Employee_Contact_Search.htmpl|Click Here]] to download file, 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;pdm_set PRE.Is3FieldContact=1&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 argBackfillAttr = '$args.KEEP.backfill_attr';&lt;br /&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;
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 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;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/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;list&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_INCLUDE FILE=std_body.htmpl&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=sfStart factory=cnt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pdm_macro name=sfStartRow&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfTextbox hdr=&amp;quot;Last Name&amp;quot; attr=last_name size=20&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfTextbox hdr=&amp;quot;First Name&amp;quot; attr=first_name size=20&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfTextbox hdr=&amp;quot;Middle Name&amp;quot; attr=middle_name size=20&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pdm_macro name=sfStartRow&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfDropdown hdr=&amp;quot;Active&amp;quot; attr=delete_flag&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfTextbox hdr=&amp;quot;Contact ID&amp;quot; attr=contact_num size=20&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=sfTextbox hdr=&amp;quot;Phone Number&amp;quot; attr=phone_number size=20&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pdm_macro name=sfEnd&amp;gt;&lt;br /&gt;
&amp;lt;/SCRIPT&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 contacts found&amp;quot;;&lt;br /&gt;
var msgFound1 = &amp;quot;1 contact found&amp;quot;;&lt;br /&gt;
var msgFound = &amp;quot;%1 contcts found&amp;quot;;&lt;br /&gt;
var msgFoundMore = &amp;quot;%1 contacts found.  Displaying %2 through %3&amp;quot;;&lt;br /&gt;
var msgSelect = &amp;quot;Click to select desired contact&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pdm_macro name=lsStart&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Name&amp;quot; attr=combo_name link=yes&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Phone Number&amp;quot; attr=phone_number&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Location&amp;quot; attr=location.name&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Organization&amp;quot; attr=organization.name&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsCol hdr=&amp;quot;Status&amp;quot; attr=delete_flag&amp;gt;&lt;br /&gt;
&amp;lt;pdm_macro name=lsEnd&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;&lt;br /&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>Gityerfix</name></author>	</entry>

	</feed>