<?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 accessing fields with periods in field names in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469473#M43522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I issue a query from a layer in my map service that has a join to a table in SQLServer.&amp;nbsp; Typically I can get the value by using a construct such as 'result.features[0].attribute.fieldID'&amp;nbsp; However, the field names in the joined table have names such as "dbasename.user.fieldname"&amp;nbsp; If I use the periods in my previous construct like 'result.features[0].attribute.dbasename.user.fieldID' it of course will not run.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is a quick and easy way to get around the dots in the field names?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 21:13:05 GMT</pubDate>
    <dc:creator>DennisAkins</dc:creator>
    <dc:date>2012-02-01T21:13:05Z</dc:date>
    <item>
      <title>accessing fields with periods in field names</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469473#M43522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I issue a query from a layer in my map service that has a join to a table in SQLServer.&amp;nbsp; Typically I can get the value by using a construct such as 'result.features[0].attribute.fieldID'&amp;nbsp; However, the field names in the joined table have names such as "dbasename.user.fieldname"&amp;nbsp; If I use the periods in my previous construct like 'result.features[0].attribute.dbasename.user.fieldID' it of course will not run.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is a quick and easy way to get around the dots in the field names?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 21:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469473#M43522</guid>
      <dc:creator>DennisAkins</dc:creator>
      <dc:date>2012-02-01T21:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: accessing fields with periods in field names</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469474#M43523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this instead:&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;result.features[0].attributes['dbasename.user.fieldID']&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I issue a query from a layer in my map service that has a join to a table in SQLServer.&amp;nbsp; Typically I can get the value by using a construct such as 'result.features[0].attribute.fieldID'&amp;nbsp; However, the field names in the joined table have names such as "dbasename.user.fieldname"&amp;nbsp; If I use the periods in my previous construct like 'result.features[0].attribute.dbasename.user.fieldID' it of course will not run.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;What is a quick and easy way to get around the dots in the field names?&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 21:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469474#M43523</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2012-02-01T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: accessing fields with periods in field names</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469475#M43524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Excellent!&amp;nbsp; That worked perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 16:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469475#M43524</guid>
      <dc:creator>DennisAkins</dc:creator>
      <dc:date>2012-02-02T16:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: accessing fields with periods in field names</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469476#M43525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to access it in popup template when using $feature ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 05:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/accessing-fields-with-periods-in-field-names/m-p/469476#M43525</guid>
      <dc:creator>AhmadLibda</dc:creator>
      <dc:date>2018-05-07T05:42:54Z</dc:date>
    </item>
  </channel>
</rss>

