<?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: GeoEvent Server Update Feature - what am I doing wrong? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192594#M33511</link>
    <description>&lt;P&gt;Take the square Brackets off your test data and try it --&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are telling it you are passing an array of object, not just an object - There is other processing to do if you want to handle an array of object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"OBJECTID": 1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"UXO_STATUS": "NRM"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 20:56:48 GMT</pubDate>
    <dc:creator>JeffSilberberg</dc:creator>
    <dc:date>2022-07-15T20:56:48Z</dc:date>
    <item>
      <title>GeoEvent Server Update Feature - what am I doing wrong?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192542#M33510</link>
      <description>&lt;P&gt;Hi all, I'm new to GeoEvent Server, so please be gentle &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set up a simple prototype GeoEvent Service that uses a "Receive JSON on a WebSocket" input connector hooked up to a "Update a Feature" output connector.&lt;/P&gt;&lt;P&gt;The websocket input connector (json-websocket-in) seems to be working ok.&amp;nbsp; I'm using Postman to test it and I can see the traffic in the activity graph.&amp;nbsp; The GeoEvent Definition is very simple, with two fields: UXO_STATUS (String), and OBECTID (Double).&amp;nbsp; The OBJECTID field is tagged with the TRACK_ID field.&lt;/P&gt;&lt;P&gt;The Update a Feature output connector is hooked up to a Feature Server, and the "Unique Feature Identifier Field" is set to OBJECTID.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Postman, my message to the websocket is:&lt;/P&gt;&lt;P&gt;[{&lt;BR /&gt;"OBJECTID": 1,&lt;BR /&gt;"UXO_STATUS": "NRM"&lt;BR /&gt;}]&lt;/P&gt;&lt;P&gt;However, when I send this, the feature with OBJECTID does not have its "UXO_STATUS" field updated.&lt;/P&gt;&lt;P&gt;The logs show:&amp;nbsp;&lt;SPAN&gt;This output is configured to support update only. Event for 1.0 will not be inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, I'm sure something is not configured properly, but I've no idea what.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 17:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192542#M33510</guid>
      <dc:creator>JonSwoveland</dc:creator>
      <dc:date>2022-07-15T17:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Server Update Feature - what am I doing wrong?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192594#M33511</link>
      <description>&lt;P&gt;Take the square Brackets off your test data and try it --&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are telling it you are passing an array of object, not just an object - There is other processing to do if you want to handle an array of object.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"OBJECTID": 1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"UXO_STATUS": "NRM"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 20:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192594#M33511</guid>
      <dc:creator>JeffSilberberg</dc:creator>
      <dc:date>2022-07-15T20:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: GeoEvent Server Update Feature - what am I doing wrong?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192604#M33512</link>
      <description>&lt;P&gt;Found the problem!&lt;/P&gt;&lt;P&gt;I put the&amp;nbsp;&lt;SPAN&gt;com.esri.ges.transport.featureService.FeatureServiceOutboundTransport log into TRACE mode, and re-sent the message from PostMan.&lt;BR /&gt;&lt;BR /&gt;Here's what I saw in the logs:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Posting to URL: https://------/server/rest/services/OrdnanceByDate/FeatureServer/0/query with parameters: f=json&amp;amp;token=-------.&amp;amp;outFields=OBJECTID,OBJECTID&amp;amp;returnGeometry=false&amp;amp;where=OBJECTID IN (1.0).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;OBJECTID IN (1.0)&amp;nbsp; - The GeoEvent Definition that was automatically generated from my message set the OBJECTID datatype to double.&amp;nbsp; Changing this to an integer fixed it.&lt;/P&gt;&lt;P&gt;I tried again with the [] brackets, and it worked as well.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 21:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/geoevent-server-update-feature-what-am-i-doing/m-p/1192604#M33512</guid>
      <dc:creator>JonSwoveland</dc:creator>
      <dc:date>2022-07-15T21:19:16Z</dc:date>
    </item>
  </channel>
</rss>

