<?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 executeRelationshipQuery field aliases in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executerelationshipquery-field-aliases/m-p/380639#M8944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're having problems with QueryTask's function executeRelationshipQuery, because it doesn't return the field aliases in the property fieldAliases of the class com.esri.ags.FeatureSet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The json seems to be okay (the fields attribute return the fields with the aliases) but the property fieldAliases comes up with null value. It appears to be a problem with the transformation of the result from json (with useAMF results in the same problem) to the actionScript objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an error that occurs when the transformation takes place:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;ReferenceError: Error #1056: Cannot create property fields on com.esri.ags.tasks.supportClasses.RelatedRecordSet.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We really could use some help with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guilherme Soares&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 14:22:22 GMT</pubDate>
    <dc:creator>GuilhermeSoares</dc:creator>
    <dc:date>2010-10-13T14:22:22Z</dc:date>
    <item>
      <title>executeRelationshipQuery field aliases</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executerelationshipquery-field-aliases/m-p/380639#M8944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're having problems with QueryTask's function executeRelationshipQuery, because it doesn't return the field aliases in the property fieldAliases of the class com.esri.ags.FeatureSet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The json seems to be okay (the fields attribute return the fields with the aliases) but the property fieldAliases comes up with null value. It appears to be a problem with the transformation of the result from json (with useAMF results in the same problem) to the actionScript objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's an error that occurs when the transformation takes place:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;ReferenceError: Error #1056: Cannot create property fields on com.esri.ags.tasks.supportClasses.RelatedRecordSet.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We really could use some help with this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Guilherme Soares&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 14:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executerelationshipquery-field-aliases/m-p/380639#M8944</guid>
      <dc:creator>GuilhermeSoares</dc:creator>
      <dc:date>2010-10-13T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: executeRelationshipQuery field aliases</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/executerelationshipquery-field-aliases/m-p/380640#M8945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting this issue. It should be fixed in a future API release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, you could use the DetailsTask to get the fields and their aliases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/DetailsTask.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/DetailsTask.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 23:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/executerelationshipquery-field-aliases/m-p/380640#M8945</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-10-14T23:15:16Z</dc:date>
    </item>
  </channel>
</rss>

