<?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: FeatureLayer: Invalid JSON in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578821#M7059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a try setting a simple renderer, but no luck. Do you have another idea that may help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 07:53:17 GMT</pubDate>
    <dc:creator>AlbertoManero</dc:creator>
    <dc:date>2017-02-15T07:53:17Z</dc:date>
    <item>
      <title>FeatureLayer: Invalid JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578819#M7057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a layer from the URL "&lt;A class="" href="http://mapa.irun.org/arcgis/rest/services/Jardineria/ArboladoDeRiesgo/FeatureServer/0" style="color: #2989c5;" title="http://mapa.irun.org/arcgis/rest/services/Jardineria/ArboladoDeRiesgo/FeatureServer/0"&gt;Layer: Arbolado de riesgo (ID: 0)&lt;/A&gt;&amp;nbsp;" to my map as a&amp;nbsp;FeatureLayer, but I am getting an "Invalid JSON" error when it loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is supposed to be quite easy to load it, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; FeatureLayer gdbFeatureServiceTable = new FeatureLayer(new Uri("[LayerURL]"));&lt;BR /&gt;&amp;nbsp; &amp;nbsp; _map.OperationalLayers.Add(gdbFeatureServiceTable);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578819#M7057</guid>
      <dc:creator>AlbertoManero</dc:creator>
      <dc:date>2017-02-07T17:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer: Invalid JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578820#M7058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can confirm that this wont work in Runtime for reason or another. I have passed figuring out why to my team member that hopefully have a bit more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to set the renderer to a simple renderer and see if that makes any different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 11:40:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578820#M7058</guid>
      <dc:creator>AnttiKajanus1</dc:creator>
      <dc:date>2017-02-09T11:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer: Invalid JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578821#M7059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Antti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a try setting a simple renderer, but no luck. Do you have another idea that may help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 07:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578821#M7059</guid>
      <dc:creator>AlbertoManero</dc:creator>
      <dc:date>2017-02-15T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer: Invalid JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578822#M7060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How was this service created? Is this from archived history table? The reason I ask is because it's using a reserved word as its field name 'gdb_archive_oid' so we're unable to create the table. If this field were renamed to something else, it should work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I logged an issue on our end to check if there's something we can do about it. Any additional info you can share would help us track how we can prevent this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 22:37:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578822#M7060</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2017-02-15T22:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer: Invalid JSON</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578823#M7061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jennifer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You where correct, it was the versioning. We made a copy of the feature class and it worked perfectly with the copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/featurelayer-invalid-json/m-p/578823#M7061</guid>
      <dc:creator>AlbertoManero</dc:creator>
      <dc:date>2017-02-16T08:05:58Z</dc:date>
    </item>
  </channel>
</rss>

