<?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: Instagram - trouble getting nested JSON attributes in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47751#M202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jakc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;one more image of my event definition that was created by importing it from my feature service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 00:32:30 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-08-16T00:32:30Z</dc:date>
    <item>
      <title>Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47750#M201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got the Instagram-10.2.0 connector wired up and ran through the tutorial. Everything works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wanted to take it a step further, and get &lt;/SPAN&gt;&lt;STRONG&gt;images.standard_resolution.url&lt;/STRONG&gt;&lt;SPAN&gt; written to a field in my featureclass via the add feature adapter/feature service. This will allow me to show the images in a popup via ArcGIS Online.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it seems like there is a problem getting to this nested JSON attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The output for the rest of the fields is coming through, just not for images.standard_resolution.url (refer to Null_Data_Coming_Through.png)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From checking the output JSON, I can see that this is coming through ok (refer to ExampleOutput.json)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the field mapper, I can successfully pick the images.standard_resolution.url without any hackery (refer to FieldMapper.png and FieldMapper_ChooseField.png), but when I check the TCP output which is after it has been field mapped, this field is not coming through.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Received Event : InstagramFeed,08/16/2013 11:02:33 AM,http://instagram.com/p/dDg40svwmE/,sneakernews,,You'll s
ee it only here - LeBron 11 #BeautyShots. See it only on Sneakernews.com,"-73.999159003,40.718064088,0.0"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note the empty gap between the two commas. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have replicated this on two machines, and was wondering if someone had an idea on how to resolve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47750#M201</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2021-12-12T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47751#M202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jakc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;one more image of my event definition that was created by importing it from my feature service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 00:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47751#M202</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-08-16T00:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47752#M203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Simon -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have had reports - from customers using other adapters - that the Field Mapper processor is not handling hierarchical data. They are also seeing what you describe; null values in their output when hierarchical data is mapped to a flattened schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are developing a hot-fix for this for the 10.2.0 release and refactoring how GeoEvent Processor components handle hierarchical fields and fields with cardinality greater-than one. The refactoring will be part of the 10.2.1 product release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For now, I do not have a workaround to suggest. What you are doing appears correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 23:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47752#M203</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2013-08-21T23:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47753#M204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: jakc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for looking into this RJ.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be great if you could update this post when hotfix is made available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 00:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47753#M204</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-08-22T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47754#M205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Was this fixed in 10.2.1?&amp;nbsp; I'm running 10.2.1 and see null values in my output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was it fixed in 10.2.2?&amp;nbsp; I see an item in the 10.2.2 Issues Addressed List called - TFS30864 The generic JSON adapter (inbound) now properly handles nested lists. - Does this fix the null values when using nested json?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 17:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47754#M205</guid>
      <dc:creator>ColleenFarrell</dc:creator>
      <dc:date>2014-05-29T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47755#M206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: RJ Sunderman&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Colleen -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apologies for the delay in getting back with you. We are looking to confirm the fix exists in 10.2.2 and also if the fix made it into the 10.2.1 product release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can confirm that a 'hot fix' was never released for this issue ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will respond back to this thread as soon as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RJ&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 17:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47755#M206</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-06-02T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47756#M207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for checking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I went ahead and installed 10.2.2 and did not have any luck with the nested json, so we flattened out the json and are using that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 18:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47756#M207</guid>
      <dc:creator>ColleenFarrell</dc:creator>
      <dc:date>2014-06-02T18:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Instagram - trouble getting nested JSON attributes</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47757#M208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: cris027362&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer Simon, in 10.2.1 and 10.2.2 environment, I was able to get data out of TCP output using his service model and data structure. Using the Identify tool, I've verified the StandardImage is populated with URL as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the TCP output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Received Event : InstagramFeed,06/03/2014 09:53:30 AM,http://instagram.com/p/oyhCWxG9Sh/,nordstrom,http://scontent-a.cdninstagram.com/hphotos-xpa1/t51
 .2885-15/927655_1496496200562288_1391518138_n.jpg,@Prada perfection. #shoes #prada #nordstrom #red,"-122.335956767,47.612982824,0.0"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Field Mapper processor supports data alignment, such as to take hierarchical data and map it to a flatten schema, not map to hierarchical schema. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]34330[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/instagram-trouble-getting-nested-json-attributes/m-p/47757#M208</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T21:50:46Z</dc:date>
    </item>
  </channel>
</rss>

