<?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 How to cast integer to esriFieldTypeOID in Oracle view? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-cast-integer-to-esrifieldtypeoid-in-oracle/m-p/648119#M24807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a new ArcGIS service and it has one geometry feature and one table. Now I'm trying to query the data using the same code that all the other services use. I get "The field already exists." error on ServiceFeatureTable.OpenAsync(uri). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm suspecting that this is caused by the fact that the service's table is in fact an Oracle View and it has an ObjectID field of type integer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a way to convert the integer to the required type &lt;EM&gt;esriFieldTypeOID &lt;/EM&gt;or do something else to fix the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 11:50:12 GMT</pubDate>
    <dc:creator>JuhoVainio</dc:creator>
    <dc:date>2015-02-11T11:50:12Z</dc:date>
    <item>
      <title>How to cast integer to esriFieldTypeOID in Oracle view?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-cast-integer-to-esrifieldtypeoid-in-oracle/m-p/648119#M24807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a new ArcGIS service and it has one geometry feature and one table. Now I'm trying to query the data using the same code that all the other services use. I get "The field already exists." error on ServiceFeatureTable.OpenAsync(uri). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm suspecting that this is caused by the fact that the service's table is in fact an Oracle View and it has an ObjectID field of type integer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a way to convert the integer to the required type &lt;EM&gt;esriFieldTypeOID &lt;/EM&gt;or do something else to fix the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 11:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-cast-integer-to-esrifieldtypeoid-in-oracle/m-p/648119#M24807</guid>
      <dc:creator>JuhoVainio</dc:creator>
      <dc:date>2015-02-11T11:50:12Z</dc:date>
    </item>
  </channel>
</rss>

