<?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 Add warning message on print widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1148733#M21955</link>
    <description>&lt;P&gt;Hi, I would like to only control the scale at which request is sent to the printing service via the print widget,&lt;/P&gt;&lt;P&gt;hence would like to add a message on the print widget if scale is say &amp;gt; 1000000. On map change (pan or zoom), I'd like to clear the message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 19:12:30 GMT</pubDate>
    <dc:creator>RaoSona</dc:creator>
    <dc:date>2022-02-28T19:12:30Z</dc:date>
    <item>
      <title>Add warning message on print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1148733#M21955</link>
      <description>&lt;P&gt;Hi, I would like to only control the scale at which request is sent to the printing service via the print widget,&lt;/P&gt;&lt;P&gt;hence would like to add a message on the print widget if scale is say &amp;gt; 1000000. On map change (pan or zoom), I'd like to clear the message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 19:12:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1148733#M21955</guid>
      <dc:creator>RaoSona</dc:creator>
      <dc:date>2022-02-28T19:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning message on print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1148844#M21958</link>
      <description>&lt;P&gt;Try first get the current map's scale with &lt;FONT face="courier new,courier"&gt;getScale()&lt;/FONT&gt;&amp;nbsp;method when the widget is fired, and if it's beyond the limit display the warning text. To listen to map change you can try &lt;FONT face="courier new,courier"&gt;on("extent-change")&lt;/FONT&gt; then remove the text. To add or clear message I usually create a blank &lt;FONT face="courier new,courier"&gt;div&lt;/FONT&gt; with either an &lt;FONT face="courier new,courier"&gt;id&lt;/FONT&gt; or a &lt;FONT face="courier new,courier"&gt;data-dojo-attach-point&lt;/FONT&gt; and change the &lt;FONT face="courier new,courier"&gt;div&lt;/FONT&gt;'s &lt;FONT face="courier new,courier"&gt;innerHTML&lt;/FONT&gt;&amp;nbsp;in Widget.js. Hope this can help you!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 22:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1148844#M21958</guid>
      <dc:creator>XuanKuai</dc:creator>
      <dc:date>2022-02-28T22:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add warning message on print widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1149225#M21964</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I have got the map scale. I think I need to change the div in print.js I have tried to do so in various functions within print.js, but doesn't seem to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 18:36:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/add-warning-message-on-print-widget/m-p/1149225#M21964</guid>
      <dc:creator>Ravravv</dc:creator>
      <dc:date>2022-03-01T18:36:56Z</dc:date>
    </item>
  </channel>
</rss>

