<?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 Re: Import attributes from Table into Feature Class in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321392#M18398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same thing to do, can you post the methods you have used in your script? I would love to take a look at this and see if I finally have to get in touch with Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2012 08:09:43 GMT</pubDate>
    <dc:creator>CarstenVock</dc:creator>
    <dc:date>2012-05-29T08:09:43Z</dc:date>
    <item>
      <title>Import attributes from Table into Feature Class</title>
      <link>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321391#M18397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been trying different things dealing with attributes from a table and bringing them into a feature class to make those attributes "native" to the feature class/objects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I currently have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a File Geodatabase (MEWCo_Water_Model.gdb) with a Feature Class called wMeters. Basically its minimal data that just shows the location of a meter. Other pieces of data is maintained and updated in our CIS system in a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; completely different location. I have already developed a Python Script to import a table from the CIS system through an ODBC connection and make it a File Geodatabase Table. This happens every night. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currently - I have a relationship class build btwn the wMeters Feature Class and the CIS Table. The only think that this is helpful is to link the two things together. I have also gone through and did a Table to FC Join. This is nice&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; because I can still change my symbols based on the attributes joined from the table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HOWEVER: Since we use ArcReader for our Crews and Operations staff - the joins do not work....So I lose that Table Joined to FC feature, which does me no good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SO: This is what I want to be able to do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; On a nightly basis - I want to have a Python script Import the CIS Data into my File Geodatabase (Python is already done). From there - I want to be able to take specific attribute fields from that table and import them into the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feature Class so they will become apart of the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I have tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I put together a Model (that would later be exported to a Python Script) to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add Join (which after it exported to a new feature class) it changed ALL the field name. Since ArcDesktop 10 does not give us the ability to Rename a field - I had to Add Field, Calculate Field, Delete Field so I could have it &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set-up the way I wanted it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROBLEM: When I did the Copy Features (to make a new feature class) it screwed by ObjectID Field up - which in returns screws my Attachments feature. That ObjectID needs to remain unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Need coffee yet??????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I know there is a much easier way to do this that I am just not seeing. If you understand what I am trying to accomplish - please help me out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 17:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321391#M18397</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2012-05-04T17:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Import attributes from Table into Feature Class</title>
      <link>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321392#M18398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same thing to do, can you post the methods you have used in your script? I would love to take a look at this and see if I finally have to get in touch with Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 08:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321392#M18398</guid>
      <dc:creator>CarstenVock</dc:creator>
      <dc:date>2012-05-29T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import attributes from Table into Feature Class</title>
      <link>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321393#M18399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Since ArcDesktop 10 does not give us the ability to Rename a field - I had to Add Field, Calculate Field, Delete Field so I could have it&amp;nbsp; set-up the way I wanted it. &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;PROBLEM: When I did the Copy Features (to make a new feature class) it screwed by ObjectID Field up - which in returns screws my Attachments feature. That ObjectID needs to remain unchanged.&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure I can solve your problem, but I might be able to shed some light on the subject...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not being able to rename a field is not new to v10.&amp;nbsp; It's been that way as long as I can remember (v4.5).&amp;nbsp; Adding a new field is the tried and true method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The objectIds are not screwed up; when you create a new feature class and copy into it, the objectIds are generated for the new feature class.&amp;nbsp; ObjectIds should be avoided as join items because of this.&amp;nbsp; What I do is add a field and call it something like....&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Joinitem&lt;/SPAN&gt;&lt;SPAN&gt; and calc it to equal the objectId.&amp;nbsp; That way you know you won't have any repeats.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The trick is in automating the increment (joinitem +1 from the last feature/table record).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 18:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321393#M18399</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2012-05-29T18:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Import attributes from Table into Feature Class</title>
      <link>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321394#M18400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if it will help, but the ability to rename geodatabase fields is a new feature in ArcGIS 10.1, scheduled to release in a couple of weeks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 19:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/import-attributes-from-table-into-feature-class/m-p/321394#M18400</guid>
      <dc:creator>SusanO</dc:creator>
      <dc:date>2012-05-30T19:18:07Z</dc:date>
    </item>
  </channel>
</rss>

