<?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: Labels work in WAB DE but not in deployed site in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822267#M7511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the menu option to show labels&amp;nbsp;for a layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 20:14:05 GMT</pubDate>
    <dc:creator>GeorgeKatsambas</dc:creator>
    <dc:date>2017-11-08T20:14:05Z</dc:date>
    <item>
      <title>Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to show labels for a Feature Layer (this._layerSPGrid) that I've added to the map. I use this code to add them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var label = new TextSymbol();
&amp;nbsp;&amp;nbsp;&amp;nbsp; label.color.setColor(new Color('black'));
&amp;nbsp;&amp;nbsp;&amp;nbsp; label.font.setSize('8pt');
&amp;nbsp;&amp;nbsp;&amp;nbsp; label.font.setFamily("arial");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var json = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; labelExpressionInfo: { value: '{' + this._fieldPriority + '}' }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; var labelClass = new LabelClass(json);
&amp;nbsp;&amp;nbsp;&amp;nbsp; labelClass.symbol = label;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this._layerSPGrid.setLabelingInfo([labelClass]);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works in the app running in Developer Edition. However, when I deploy the app to my server, the labels don't show up. I've stepped through the debugger and it hits all the lines without throwing any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why the labels don't show on the server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822263#M7507</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-12T09:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822264#M7508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;In the LayerList widget do you get the menu option to show labels for that layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 14:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822264#M7508</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-08T14:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822265#M7509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Robert, I had completely overlooked that option. Clicking that does turn the labels on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am still curious as to why the label appear automatically in the DE version but not the deployed version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822265#M7509</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-11-08T20:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822266#M7510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ken,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;To make them appear automatically just add&amp;nbsp;&lt;/P&gt;&lt;P&gt;"showLabels": true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the&amp;nbsp;"mapOptions": {}, portion of the apps main config.json&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822266#M7510</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-08T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822267#M7511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the menu option to show labels&amp;nbsp;for a layer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:14:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822267#M7511</guid>
      <dc:creator>GeorgeKatsambas</dc:creator>
      <dc:date>2017-11-08T20:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822268#M7512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Click on the ... for the layer and you'll see the option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/383015_labels.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822268#M7512</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-11-08T20:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Labels work in WAB DE but not in deployed site</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822269#M7513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have that option? I published to server with a scale range on layers will that affect it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:40:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/labels-work-in-wab-de-but-not-in-deployed-site/m-p/822269#M7513</guid>
      <dc:creator>GeorgeKatsambas</dc:creator>
      <dc:date>2017-11-08T20:40:23Z</dc:date>
    </item>
  </channel>
</rss>

