<?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 FieldInfo - FieldType.Guid - ArgumentOutOfRangeException in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/fieldinfo-fieldtype-guid/m-p/447501#M5435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to issue a QueryRelatedAsync using the .NET runtime SDK and running into an ArgumentOutOfRangeException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query seems to execute and run just fine, but the JSON that is returned doesn't seem to be able to be parsed.&amp;nbsp; The JSON that is returned looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "fields" : [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "Foo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alias" : "Foo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type" : "esriFieldTypeGUID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "length" : 38&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;more JSON...&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field of Foo seems to be the cause of the exception, because when I try to create it manually, the FieldInfo constructor throws an ArgumentOutOfRangeException:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var foo = new FieldInfo("Foo", "Foo", FieldType.Guid, 38);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else seeing a similar issue and have any ideas on how to get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Apr 2015 19:04:46 GMT</pubDate>
    <dc:creator>meme2</dc:creator>
    <dc:date>2015-04-20T19:04:46Z</dc:date>
    <item>
      <title>FieldInfo - FieldType.Guid - ArgumentOutOfRangeException</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/fieldinfo-fieldtype-guid/m-p/447501#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to issue a QueryRelatedAsync using the .NET runtime SDK and running into an ArgumentOutOfRangeException.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The query seems to execute and run just fine, but the JSON that is returned doesn't seem to be able to be parsed.&amp;nbsp; The JSON that is returned looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; "fields" : [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "Foo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "alias" : "Foo",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type" : "esriFieldTypeGUID",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "length" : 38&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;more JSON...&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This field of Foo seems to be the cause of the exception, because when I try to create it manually, the FieldInfo constructor throws an ArgumentOutOfRangeException:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var foo = new FieldInfo("Foo", "Foo", FieldType.Guid, 38);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else seeing a similar issue and have any ideas on how to get around this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 19:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/fieldinfo-fieldtype-guid/m-p/447501#M5435</guid>
      <dc:creator>meme2</dc:creator>
      <dc:date>2015-04-20T19:04:46Z</dc:date>
    </item>
  </channel>
</rss>

