<?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: 3.10 label layer change not working? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413686#M38076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;I added the correct link, but that did not help, probably something else needs to corrected, still working on it.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 15:49:47 GMT</pubDate>
    <dc:creator>JssrRR</dc:creator>
    <dc:date>2014-09-17T15:49:47Z</dc:date>
    <item>
      <title>3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413679#M38069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upgrading to 3.10 I found in the documentation at what's new ( &lt;A href="https://developers.arcgis.com/javascript/jshelp/whats_new.html" title="https://developers.arcgis.com/javascript/jshelp/whats_new.html"&gt;What's new in Version 3.10 | Guide | ArcGIS API for JavaScript&lt;/A&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Label layer changes: &lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;Labeling expressions no longer use ${field} syntax but now use {field}. In other words, popup template syntax instead of info template syntax.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-weight: bold;"&gt;I've changed it accordingly and the {&lt;STRONG&gt;CASENUMBER&lt;/STRONG&gt;} text is displayed instead of the value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&lt;STRONG style="color: #e23d39;"&gt;&lt;SPAN style="color: #3334ca;"&gt;lomaLabels.addFeatureLayer(featureLayerLOMA, lomaLabelRenderer, "{CASENUMBER}" ,{pointPriorities:"AboveLeft"}&lt;/SPAN&gt;);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need this since I'm struggling with ${} been confused with a TAG and my program blows out with the error org.apache.jasper.JasperException: The attribute prefix &lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;CASENUMBER&lt;/STRONG&gt;&lt;/SPAN&gt; does not correspond to any imported tag library&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 13:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413679#M38069</guid>
      <dc:creator>WalterEralio</dc:creator>
      <dc:date>2014-09-04T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413680#M38070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var labelField = "CASENUMBER";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #e23d39;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3334ca;"&gt;lomaLabels.addFeatureLayer(featureLayerLOMA, lomaLabelRenderer, "{" + labelField + "}" ,{pointPriorities:"AboveLeft"}&lt;/SPAN&gt;);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 13:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413680#M38070</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-04T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413681#M38071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also make sure that you changed the api to 3.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="//js.arcgis.com/3.10/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel="stylesheet" href="https://community.esri.com//js.arcgis.com/3.10/js/esri/css/esri.css"&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 13:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413681#M38071</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-04T13:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413682#M38072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IT WAS WORKING FINE!! my bad!! I was hosting the API and replacing the HOST name I accidentally post to the old api (3.7) &lt;BR /&gt;TIM WITT: THANKS FOR YOUR HELP!! and quick response!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 13:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413682#M38072</guid>
      <dc:creator>WalterEralio</dc:creator>
      <dc:date>2014-09-04T13:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413683#M38073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im glad you got it figured out &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413683#M38073</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-04T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413684#M38074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;I need some help figuring this out, I am trying to do something similar, but once I add the label layer, the feature layer is not showing up.&lt;/P&gt;&lt;P&gt;I have added this, among other required&lt;/P&gt;&lt;P&gt;require ([ "esri/layers/LabelLayer",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "esri/renderers/ScaleDependentRenderer"&lt;/P&gt;&lt;P&gt;function( LabelLayer, ScaleDependentRenderer &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var featureLayer = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServe" rel="nofollow" target="_blank"&gt;http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServe&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: [labelField]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var labelField = "FacilityID"; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NFColor = new Color("#444")&lt;/P&gt;&lt;P&gt;&amp;nbsp; // create a text symbol to define the style of labels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NFLabel = new TextSymbol().setColor(NFColor);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NFLabel.font.setSize("12pt");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NFLabel.font.setFamily("arial");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NFLabelRenderer = new SimpleRenderer(NFLabel);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var labels = new LabelLayer({ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id: "labels" });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // tell the label layer to label the Nursing facility feature layer &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // using the field named "FacilityID"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; labels.addFeatureLayer(featureLayer, NFLabelRenderer, "{" + labelField + "}");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // add the label layer to the map&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(labels);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // scale dependent renderer for NF labels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NFRenderer = new SimpleRenderer(NFLabel);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NFScaleDependent = new ScaleDependentRenderer({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rendererInfos: [{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; renderer: NFRenderer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minScale: 500000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxScale: 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NFOptions = { pointPriorities: "AboveCenter" };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; labels.addFeatureLayer(featureLayer, NFScaleDependent, "{FacilityID}", NFOptions);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FeatureLayer.setRenderer(NFRenderer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addLayer(featureLayer);&lt;/P&gt;&lt;P&gt;The feature layer itself is not loading, something is missing or I am not doing it right, any help will be appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 19:31:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413684#M38074</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-09-15T19:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413685#M38075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saloni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your code there is an "r" missing here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer" title="http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer"&gt;http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this link instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer" title="http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer"&gt;http://services1.arcgis.com/hVMNhMnY75fwfIFy/ArcGIS/rest/services/NursingFacilities/FeatureServer&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if this is the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 19:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413685#M38075</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-15T19:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: 3.10 label layer change not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413686#M38076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;I added the correct link, but that did not help, probably something else needs to corrected, still working on it.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 15:49:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-10-label-layer-change-not-working/m-p/413686#M38076</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2014-09-17T15:49:47Z</dc:date>
    </item>
  </channel>
</rss>

