<?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 Modal popup message in legend widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767182#M1287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to display messages in a modal popup when clicking a layer in the caption widget? I have already managed to do everything and display the message, but with a default javascript alert. I need to do with a modal popup centralized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 12:42:39 GMT</pubDate>
    <dc:creator>GilbertoMatos</dc:creator>
    <dc:date>2017-01-25T12:42:39Z</dc:date>
    <item>
      <title>Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767182#M1287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to display messages in a modal popup when clicking a layer in the caption widget? I have already managed to do everything and display the message, but with a default javascript alert. I need to do with a modal popup centralized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 12:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767182#M1287</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2017-01-25T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767183#M1288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Gilberto,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; Then just use the jimu/dijit/Message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Message&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; titleLabel&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"your message title"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&amp;nbsp; message&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"your message text"&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The Message dijit can even have custom button and you can specify the message type like "message/question/error"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767183#M1288</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T08:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767184#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Robert. Perfect!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767184#M1289</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2017-01-25T14:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767185#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Nice, thanks Robert.&amp;nbsp;This seems like a more elegant way of accomplishing how I created a dialog window to display layer info. The only thing is mine allows users move the dialog box since it is a Dojo dialog and that was a requested user interface feature. &amp;nbsp;If this is useful to anyone.. -&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="1294" data-containertype="700" data-objectid="188432" data-objecttype="1" href="https://community.esri.com/thread/188432-enhanced-layer-list-metadata-11017" style="color: #287433; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Enhanced Layer List - Metadata (1/31/17)&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 13:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767185#M1290</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-02-06T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767186#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there;&amp;nbsp;&lt;BR /&gt;Forgive me, this is my first foray into widgets. I'm attempting to use the jimu/digit/Message.&amp;nbsp;In your example, you use a titleLabel property, but I'm&amp;nbsp;not seeing this property have any effect. I'm getting successful results setting the message property, and getting the popup with text as expected. In short, should I expect this titleLabel property to set a modal title? Or is there something I'm missing with this example snippet? Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 23:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767186#M1291</guid>
      <dc:creator>KennethWalker</dc:creator>
      <dc:date>2019-03-26T23:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modal popup message in legend widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767187#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create messages using this function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;_showMessage&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;_showMessage&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;title&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; message&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Message&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    titleLabel&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; title&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
    message&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; message
  &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calling it like this&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;this._showMessage(this.nls.signinError, error.message);
‍‍‍‍&lt;SPAN class="line-numbers-rows"&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;&lt;/P&gt;&lt;P&gt;I'm able to use that syntax to get a modal message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/440547_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modal-popup-message-in-legend-widget/m-p/767187#M1292</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-12T08:32:25Z</dc:date>
    </item>
  </channel>
</rss>

