<?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 Feature service Int64 or Long Integer support in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-service-int64-or-long-integer-support/m-p/746043#M19070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does a feature service support Int64 or "Long Integer" data type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature service for a point layer which exposes the Int64 field types as standard integers or Int32.&amp;nbsp; The feature class in ArcSDE is defined as a "Long Integer" for some fields or Int64; however, the feature service "serves" this layer changing the "Long Integer" fields to "esriFieldTypeInteger" or Int32 (cf. code below):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
DeviceId (Type: esriFieldTypeInteger, Alias: DeviceId, Editable: True)
DcomId (Type: esriFieldTypeInteger, Alias: DcomId, Editable: True)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problems is that when I add new features at run-time, these new features contain these Int64 fields filled from our database ("bigint" in MSSQL).&amp;nbsp; I have to convert these field values to Int32 for the feature service.&amp;nbsp; The feature service expects an Int32 value, although the ArcSDE feature class is of type "Long Integer" or Int64.&amp;nbsp; For now it is ok, for our device ids range is within the Int32 range; but soon, we will have problems, for our device ids will go beyond the Int32 range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can I do to have the feature service expose these "Long Integer" columns as Int64, rather than Int32?&amp;nbsp; Changing these fields to Type "double" is not an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hugo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 18:02:06 GMT</pubDate>
    <dc:creator>HugoCardenas</dc:creator>
    <dc:date>2012-04-19T18:02:06Z</dc:date>
    <item>
      <title>Feature service Int64 or Long Integer support</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-service-int64-or-long-integer-support/m-p/746043#M19070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does a feature service support Int64 or "Long Integer" data type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature service for a point layer which exposes the Int64 field types as standard integers or Int32.&amp;nbsp; The feature class in ArcSDE is defined as a "Long Integer" for some fields or Int64; however, the feature service "serves" this layer changing the "Long Integer" fields to "esriFieldTypeInteger" or Int32 (cf. code below):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
DeviceId (Type: esriFieldTypeInteger, Alias: DeviceId, Editable: True)
DcomId (Type: esriFieldTypeInteger, Alias: DcomId, Editable: True)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problems is that when I add new features at run-time, these new features contain these Int64 fields filled from our database ("bigint" in MSSQL).&amp;nbsp; I have to convert these field values to Int32 for the feature service.&amp;nbsp; The feature service expects an Int32 value, although the ArcSDE feature class is of type "Long Integer" or Int64.&amp;nbsp; For now it is ok, for our device ids range is within the Int32 range; but soon, we will have problems, for our device ids will go beyond the Int32 range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can I do to have the feature service expose these "Long Integer" columns as Int64, rather than Int32?&amp;nbsp; Changing these fields to Type "double" is not an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hugo.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 18:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-service-int64-or-long-integer-support/m-p/746043#M19070</guid>
      <dc:creator>HugoCardenas</dc:creator>
      <dc:date>2012-04-19T18:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Feature service Int64 or Long Integer support</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-service-int64-or-long-integer-support/m-p/746044#M19071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since your service metadata is where the problem is, I suggest you post this in the server forums.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 14:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/feature-service-int64-or-long-integer-support/m-p/746044#M19071</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2012-04-20T14:20:51Z</dc:date>
    </item>
  </channel>
</rss>

