<?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: Trouble writing bracketed string list from a .geojson file input to a string field in Hosted Feature Layer in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1100424#M3633</link>
    <description>&lt;P&gt;This array behavior for the inbound GeoJSON adapter has been submitted as the following bug:&lt;/P&gt;&lt;P&gt;[BUG-000142930: Inbound GeoJSON adapter is not handling arrays of strings as multicardinal attribute values.]&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 16:25:01 GMT</pubDate>
    <dc:creator>DanWade</dc:creator>
    <dc:date>2021-09-21T16:25:01Z</dc:date>
    <item>
      <title>Trouble writing bracketed string list from a .geojson file input to a string field in Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1087873#M3611</link>
      <description>&lt;P&gt;We are currently using GeoEvent to regularly pull in a .geojson file from an external source. In this GeoJSON, there is a field that contains several strings, contained in brackets, it looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"lbl_list": [
    "label 1","label 2"
],&lt;/LI-CODE&gt;&lt;P&gt;Previously, the contents of the square brackets was written to a string field in the output feature layer, but since we finalized our processing workflow and published a new feature layer from GeoEvent server (using the dialog box in the Output Connector), that field is remaining empty.&lt;/P&gt;&lt;P&gt;I have double checked the field length, and as most features don't contain more than one or two labels, the length of 1024 seems more than adequate to contain all characters. I also checked all our Field Mapper processors to make sure that the field is mapped as expected, and I confirmed that it is.&lt;/P&gt;&lt;P&gt;Has anyone run into a similar problem and found a work-around? Or know what might be wrong in our workflow?&lt;/P&gt;&lt;P&gt;We are currently running GeoEvent Server 10.7.1 on Linux.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 13:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1087873#M3611</guid>
      <dc:creator>AbigailStephens</dc:creator>
      <dc:date>2021-08-11T13:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble writing bracketed string list from a .geojson file input to a string field in Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1087877#M3612</link>
      <description>&lt;P&gt;The "brackets" you speak of are what is called an array. It sounds like the data has been modified from what it was at the start of your project.&lt;/P&gt;&lt;P&gt;I might suggest allowing GeoEvent to create a new definition automatically. This should then show this object with an infinity icon instead of the number one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanWade_0-1628687730803.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20620i1B225EA3C098D205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanWade_0-1628687730803.png" alt="DanWade_0-1628687730803.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is possible your existing output layer will require modification as well.&amp;nbsp;You might then experiment with using this handy processor to break the array: &lt;A title="Field Splitter Processors for GeoEvent Server" href="https://www.arcgis.com/home/item.html?id=68238a93e5fd4043ad0bbb501b265566" target="_blank" rel="noopener"&gt;Field Splitter Processors for GeoEvent Server&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 13:17:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1087877#M3612</guid>
      <dc:creator>DanWade</dc:creator>
      <dc:date>2021-08-11T13:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble writing bracketed string list from a .geojson file input to a string field in Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1090755#M3625</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/664"&gt;@DanWade&lt;/a&gt; - thanks for your response! What you mention about that field being an array makes a lot of sense.&lt;/P&gt;&lt;P&gt;So using the logic that this field is an array, I allowed GeoEvent to re-create the definition, but it continued to read that field as a string. I then tried a couple things to try and get the array to read in as such:&lt;/P&gt;&lt;P&gt;1. I reordered the features in the geojson to put one with multiple items in the lbl_list array first, so it looks more like&lt;/P&gt;&lt;P&gt;"lbl_list": [ "label 1","label 2" ],&lt;/P&gt;&lt;P&gt;and not&lt;/P&gt;&lt;P&gt;"lbl_list": [ null ],&lt;/P&gt;&lt;P&gt;However, it still seems to interpret this as a string.&lt;/P&gt;&lt;P&gt;2. My next test was to change the field in the definition manually to a group attribute and add five string "values" fields beneath that (a quick scan of the geojson in question showed this to be the longest label list I could find).&lt;/P&gt;&lt;P&gt;After doing this, I adjusted the GeoEvent Service to map all those values out as "lbl_lilst.value1" (or similar). I then tried two things here, having those values write directly out into separate fields, and adding a field calculator that should aggregate those fields into one string field. Neither seems to have worked.&lt;/P&gt;&lt;P&gt;I opened an Esri Support Case in case this is unexpected behavior, but I am happy to consider any other insights you might have to help with troubleshooting.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1090755#M3625</guid>
      <dc:creator>AbigailStephens</dc:creator>
      <dc:date>2021-08-20T11:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble writing bracketed string list from a .geojson file input to a string field in Hosted Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1100424#M3633</link>
      <description>&lt;P&gt;This array behavior for the inbound GeoJSON adapter has been submitted as the following bug:&lt;/P&gt;&lt;P&gt;[BUG-000142930: Inbound GeoJSON adapter is not handling arrays of strings as multicardinal attribute values.]&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 16:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/trouble-writing-bracketed-string-list-from-a/m-p/1100424#M3633</guid>
      <dc:creator>DanWade</dc:creator>
      <dc:date>2021-09-21T16:25:01Z</dc:date>
    </item>
  </channel>
</rss>

