<?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: Leaflet- DynamicMapLayer popup help in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141589#M13171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;featureCollection.features[0].properties&lt;STRONG&gt;["Facility Name"]&lt;/STRONG&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got It...&amp;nbsp;&amp;nbsp; I removed the period after the properties and encased my quotes within brackets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 19:58:00 GMT</pubDate>
    <dc:creator>BillChappell</dc:creator>
    <dc:date>2016-03-01T19:58:00Z</dc:date>
    <item>
      <title>Leaflet- DynamicMapLayer popup help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141588#M13170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a simple leaflet map with a popup but I'm having trouble with the field name in the popup.&lt;/P&gt;&lt;P&gt;Following the example &lt;A href="http://esri.github.io/esri-leaflet/examples/customizing-popups.html" title="http://esri.github.io/esri-leaflet/examples/customizing-popups.html"&gt;Custom Popup with Dynamic Map Layer | Esri Leaflet&lt;/A&gt;&amp;nbsp; you can see the popup is based on featureCollection.features[0].properties.&lt;STRONG&gt;&lt;SPAN style="color: #e23d39;"&gt;FIELDNAME&lt;/SPAN&gt;,&lt;/STRONG&gt; my issue is my data is in SDE and I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOHGIS&lt;SPAN style="color: #eb7a3d;"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;NYSDOH_CI_DATA&lt;STRONG style="color: #eb7a3d;"&gt;.&lt;/STRONG&gt;NAME &lt;EM&gt; ( type: esriFieldTypeString , alias: Facility Name , length: 250 ) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;featureCollection.features[0].properties.&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;DOHGIS.NYSDOH_CI_DATA.NAME&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; doesn't work because of the periods in the name. &lt;/P&gt;&lt;P&gt;featureCollection.features[0].properties&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;.NAME&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp; doesn't work.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the alias I get &lt;/P&gt;&lt;P&gt;featureCollection.features[0].properties.&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;"Facility Name" &lt;/STRONG&gt;&lt;SPAN style="color: #303030;"&gt;this doesn't work because of the quotes and space.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;var temp = "Facility Name"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;featureCollection.features[0].properties.&lt;STRONG style="color: #e23d39;"&gt;temp&lt;/STRONG&gt;; also fails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course fieldnames with an underscore instead of a space work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beyond adding new fields to fix the database any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 19:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141588#M13170</guid>
      <dc:creator>BillChappell</dc:creator>
      <dc:date>2016-03-01T19:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Leaflet- DynamicMapLayer popup help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141589#M13171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;featureCollection.features[0].properties&lt;STRONG&gt;["Facility Name"]&lt;/STRONG&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got It...&amp;nbsp;&amp;nbsp; I removed the period after the properties and encased my quotes within brackets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 19:58:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141589#M13171</guid>
      <dc:creator>BillChappell</dc:creator>
      <dc:date>2016-03-01T19:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Leaflet- DynamicMapLayer popup help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141590#M13172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experiencing this problem and I have tried the solution you are suggesting here but it can't seem to work for me. Did you find something else along this line that can help me&lt;/P&gt;&lt;P&gt;I have put mine this way featureCollection.features[0].properties['PLOTNO_1'] I have also tried " " but I still get undefined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assit please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 16:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141590#M13172</guid>
      <dc:creator>SteveOchieng</dc:creator>
      <dc:date>2016-05-28T16:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Leaflet- DynamicMapLayer popup help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141591#M13173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i was never notified of your question, did you ever figure this out? &lt;/P&gt;&lt;P&gt;I know upper/lower case makes a difference, and in GeoJSON without SDE it's features[0].properties.&lt;STRONG style="color: #e23d39;"&gt;FIELDNAME &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 15:57:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/leaflet-dynamicmaplayer-popup-help/m-p/141591#M13173</guid>
      <dc:creator>BillChappell</dc:creator>
      <dc:date>2016-07-13T15:57:48Z</dc:date>
    </item>
  </channel>
</rss>

