<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Match table for attachments - too many matches in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/match-table-for-attachments-too-many-matches/m-p/736564#M5017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm generating a match table in order to add attachments to features in ArcGIS for Desktop. The feature has an ID such as '1_2', '1_23', '4_5', '4_50', '4_56'. The files are named '1_2_1.jpg' and '1_2_2.jpg' (for feature '1_2'), '4_5_1.jpg' and '4_5_2.jpg' (for feature '4_5'), '4_50_1.jpg' '4_50_2.jpg' 4_50_3.jpg' (for feature '4_50'), etc. The index after the underscore indicates multiple attachments for the same feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The match table is generated, and the attachments attach, but I have a remaining issue: The feature '4_5' also receives matches for files '4_50_1.jpg', etc due it's closely matching name. Is there any way to avoid this without renaming the files? If I do need to rename, what is the best practice in order to avoid this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this related to this bug :&amp;nbsp;&lt;A class="link-titled" href="http://support.esri.com/bugs/nimbus/TklNMDg2OTI4" title="http://support.esri.com/bugs/nimbus/TklNMDg2OTI4"&gt;NIM086928: Records are duplicated in the output match table wit..&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 20:01:44 GMT</pubDate>
    <dc:creator>Quynh_NhuMai</dc:creator>
    <dc:date>2017-10-24T20:01:44Z</dc:date>
    <item>
      <title>Match table for attachments - too many matches</title>
      <link>https://community.esri.com/t5/developers-questions/match-table-for-attachments-too-many-matches/m-p/736564#M5017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm generating a match table in order to add attachments to features in ArcGIS for Desktop. The feature has an ID such as '1_2', '1_23', '4_5', '4_50', '4_56'. The files are named '1_2_1.jpg' and '1_2_2.jpg' (for feature '1_2'), '4_5_1.jpg' and '4_5_2.jpg' (for feature '4_5'), '4_50_1.jpg' '4_50_2.jpg' 4_50_3.jpg' (for feature '4_50'), etc. The index after the underscore indicates multiple attachments for the same feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The match table is generated, and the attachments attach, but I have a remaining issue: The feature '4_5' also receives matches for files '4_50_1.jpg', etc due it's closely matching name. Is there any way to avoid this without renaming the files? If I do need to rename, what is the best practice in order to avoid this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this related to this bug :&amp;nbsp;&lt;A class="link-titled" href="http://support.esri.com/bugs/nimbus/TklNMDg2OTI4" title="http://support.esri.com/bugs/nimbus/TklNMDg2OTI4"&gt;NIM086928: Records are duplicated in the output match table wit..&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 20:01:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/match-table-for-attachments-too-many-matches/m-p/736564#M5017</guid>
      <dc:creator>Quynh_NhuMai</dc:creator>
      <dc:date>2017-10-24T20:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Match table for attachments - too many matches</title>
      <link>https://community.esri.com/t5/developers-questions/match-table-for-attachments-too-many-matches/m-p/736565#M5018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This problem with the generate&lt;STRONG&gt;&amp;nbsp;attachment match table&amp;nbsp;&lt;/STRONG&gt;tool&lt;STRONG&gt;‌&lt;/STRONG&gt;&amp;nbsp;persists at ArcGIS Pro 2.3.1.&lt;/P&gt;&lt;P&gt;The tool behaves as if a match is positive where the first few characters are identical. For example, a set of attachments (&lt;STRONG&gt;Document_1.pdf&lt;/STRONG&gt;, &lt;STRONG&gt;Document_1A.pdf&lt;/STRONG&gt;, &lt;STRONG&gt;Document_1B.pdf&lt;/STRONG&gt;, &lt;STRONG&gt;Document_1C.pdf&lt;/STRONG&gt;), would result in 3 false positive matches for the key, &lt;STRONG&gt;Document_1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will be addressed, as this type of error renders the tool useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One correction is mentioned &lt;A href="https://gis.stackexchange.com/questions/282453/attachment-match-table-attaching-too-many-files"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another correction would be to:&lt;/P&gt;&lt;P&gt;1. Add a field (&lt;STRONG&gt;MatchKey&lt;/STRONG&gt;) to the resulting match table.&lt;/P&gt;&lt;P&gt;2. Calculate the file name of the attachment (less the extension).&lt;/P&gt;&lt;P&gt;3. Join the field in your feature class you originally used as your key to the &lt;STRONG&gt;MatchKey&lt;/STRONG&gt; field.&lt;/P&gt;&lt;P&gt;4. Use the join to sort and delete the false positives (or select and export the true matches).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 15:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/match-table-for-attachments-too-many-matches/m-p/736565#M5018</guid>
      <dc:creator>JoeMagnotta</dc:creator>
      <dc:date>2020-04-23T15:01:56Z</dc:date>
    </item>
  </channel>
</rss>

