<?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: Editor Widget shows 'undefined' after selecting features for editing in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307441#M28234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set the outFields property of the FeatureLayer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2020 19:42:17 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2020-04-23T19:42:17Z</dc:date>
    <item>
      <title>Editor Widget shows 'undefined' after selecting features for editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307440#M28233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using esri-loader which loads ArcGIS 4.15 in an angular cli v9 app.&amp;nbsp; I'm experiencing the following behavior with the editor widget:&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-centered" height="338" src="https://community.esri.com/legacyfs/online/489791_esri_editor_undefined.gif" style="display: block; margin-left: auto; margin-right: auto;" width="338" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially the attributes aren't showing up when initially selecting the area.&amp;nbsp; Only 'undefined' for all features &amp;amp; layers.&amp;nbsp; When I drill down to the feature, the attributes appear fine.&amp;nbsp; I noticed a similar behavior with popups, where the popup was displaying attributes as 'undefined', but was able to resolve it there by setting the "outfields" property on the popup.&amp;nbsp; However, there doesn't appear to be a similar property for the editor widget.&amp;nbsp; Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 19:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307440#M28233</guid>
      <dc:creator>JoeBriggs1</dc:creator>
      <dc:date>2020-04-23T19:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget shows 'undefined' after selecting features for editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307441#M28234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you set the outFields property of the FeatureLayer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 19:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307441#M28234</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2020-04-23T19:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget shows 'undefined' after selecting features for editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307442#M28235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had not set it for the layer, only popups.&amp;nbsp; I just adjusted the code (see below) but unfortunately it didn't seem to help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var trailheadsLayer = new FeatureLayer({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: "https://services6.arcgis.com/708LZoWlLL5mAZXZ/arcgis/rest/services/trailheads/FeatureServer",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; popupTemplate: trailHeadPop,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 20:03:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307442#M28235</guid>
      <dc:creator>JoeBriggs1</dc:creator>
      <dc:date>2020-04-23T20:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget shows 'undefined' after selecting features for editing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307443#M28236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, after looking through the api a little more, I found the "displayField" property.&amp;nbsp; That did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var trailheadsLayer = new FeatureLayer({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: "https://services6.arcgis.com/708LZoWlLL5mAZXZ/arcgis/rest/services/trailheads/FeatureServer",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; popupTemplate: trailHeadPop,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; displayField: "TRL_NAME",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and apologies for not reading the api a little more thoroughly before posting!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 20:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-shows-undefined-after-selecting/m-p/307443#M28236</guid>
      <dc:creator>JoeBriggs1</dc:creator>
      <dc:date>2020-04-23T20:08:23Z</dc:date>
    </item>
  </channel>
</rss>

