<?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 Using an ALIAS in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-an-alias/m-p/183575#M17037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A REST query will return a JSON response.&amp;nbsp; It is very easy to get a value for a field.&amp;nbsp; However, if the query is done on a featureclass that has been JOINED.... the field names are no longer simple, but instead have the table name included .... such as&amp;nbsp; streams.width.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;features[0].attributes.streams.width gives an error.&amp;nbsp; It does not like the two part name.&amp;nbsp; If I assign an alias to the field, how can I use it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 19:08:19 GMT</pubDate>
    <dc:creator>p_thibault</dc:creator>
    <dc:date>2011-01-27T19:08:19Z</dc:date>
    <item>
      <title>Using an ALIAS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-an-alias/m-p/183575#M17037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A REST query will return a JSON response.&amp;nbsp; It is very easy to get a value for a field.&amp;nbsp; However, if the query is done on a featureclass that has been JOINED.... the field names are no longer simple, but instead have the table name included .... such as&amp;nbsp; streams.width.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;features[0].attributes.streams.width gives an error.&amp;nbsp; It does not like the two part name.&amp;nbsp; If I assign an alias to the field, how can I use it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 19:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-an-alias/m-p/183575#M17037</guid>
      <dc:creator>p_thibault</dc:creator>
      <dc:date>2011-01-27T19:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using an ALIAS</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-an-alias/m-p/183576#M17038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also access a object's properties like associative arrays. So maybe you could do something like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;features[0].attributes['streams.width']&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jan 2011 14:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/using-an-alias/m-p/183576#M17038</guid>
      <dc:creator>ShaneCastlen</dc:creator>
      <dc:date>2011-01-28T14:36:24Z</dc:date>
    </item>
  </channel>
</rss>

