title: How can you edit the objectID of a row in an ArcGIS geodatabase?
body: <p>I am trying to add a row to an ArcGIS geodatabase but I don't want an automatic objectid to be generated for this row. I want to insert a specific objectid. I get the error: field is not editable.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>feature = fclass.CreateFeature();
  feature.setValue((int)_fields[i].targetIndex, tripValue);
  </code></pre>
  
  <p>Now, in the first iteration, _fields[i].targetIndex=0 because I want to insert the specific objectid.
  But the first iteration gives me an error, while the rest are fine.</p>
  
  <p>Any idea on how to somehow get around the automatic objectid ?</p>