<?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: AutoPopulate a field based on ObjectID value when a feature is created in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692946#M39339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I want to autopopulate a field "FeatureID" based on the value of the "ObjectID" (assigned unique ID ArcGIS).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think you can count on the ObjectID value being something predictable that you can count on.&amp;nbsp; You have little control over the value of that number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 13:05:30 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2013-07-02T13:05:30Z</dc:date>
    <item>
      <title>AutoPopulate a field based on ObjectID value when a feature is created</title>
      <link>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692944#M39337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When a new feature is created I want to autopopulate a field "FeatureID" based on the value of the "ObjectID" (assigned unique ID ArcGIS).&amp;nbsp; I thought I could setup the GDB to handle this, similar to setting a default value for domains but there is no way to setup a Calculation of a field when a new feature is created.&amp;nbsp; Can anyone tell me how I could accomplish this task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathalie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 22:12:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692944#M39337</guid>
      <dc:creator>NathalieNeagle</dc:creator>
      <dc:date>2013-06-05T22:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: AutoPopulate a field based on ObjectID value when a feature is created</title>
      <link>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692945#M39338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are looking to autopopulate a field based on the value of OBJECTID, your best bet is to create a Trigger in my opinion.&amp;nbsp; When a new record is added and the OBJECTID value is autogenerated by ArcSDE, your trigger will be able to use that value to determine the value of your custom field.&amp;nbsp; However, the trigger will need to fire after the OBJECTID trigger from ArcSDE fires.&amp;nbsp; There is some great online help available for creating basic triggers like this for both Oracle and SQL Server depending on which RDBMS you are using.&amp;nbsp; If you are not using an RDBMS, your options are much more limited and you'll need to take a different approach... most likely using a Python script which is run on a periodic basis.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 01:57:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692945#M39338</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-07-02T01:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: AutoPopulate a field based on ObjectID value when a feature is created</title>
      <link>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692946#M39339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I want to autopopulate a field "FeatureID" based on the value of the "ObjectID" (assigned unique ID ArcGIS).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think you can count on the ObjectID value being something predictable that you can count on.&amp;nbsp; You have little control over the value of that number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/autopopulate-a-field-based-on-objectid-value-when/m-p/692946#M39339</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-07-02T13:05:30Z</dc:date>
    </item>
  </channel>
</rss>

