<?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: Print Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/1092725#M14609</link>
    <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I find the print tool is finicky. I have found that I sometimes need to delete the URL and paste a fresh one in, even if there are no changes.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My two biggest tips would be:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;As already mentioned, %20 is HTML for a space. By default, "Export Web Map" has spaces. These spaces will all be converted to %20 by the widget. When you paste the link in, &lt;STRONG&gt;let WAB convert the spaces to %20&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The URL, at least in my case, needs to be updated from default for the Print widget to work. The URL it is looking for is the same as the &lt;STRONG&gt;REST Service URL for Export Web Map&lt;/STRONG&gt;. Go to your portal &amp;gt; find/open the print tool &amp;gt; scroll down &amp;gt; look for URL at the bottom right and click View to go to the REST Service Directory.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1629991384192.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21799i34408E341D8F3276/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1629991384192.png" alt="abureaux_0-1629991384192.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Once there, click the "Export Web Map" URL, and then copy the full URL from the URL bar and paste into your Print widget. If you have Service Directory disabled, this will obviously not work.&lt;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;If your Service Directory &lt;EM&gt;is&lt;/EM&gt; disabled, you can always try this: In your Print widget, copy the URL (see image above for reference) and paste into your URL bar (or and text editor - this is just convenient). Then, add&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#FF0000"&gt; &lt;STRONG&gt;/Export Web Map&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT face="arial,helvetica,sans-serif"&gt;(&lt;U&gt;with&lt;/U&gt; spaces). See below for before and after&lt;/FONT&gt;&lt;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;A href="http://NULL" target="_self"&gt;https://YOURSERVER.com/server/rest/services/WebTools/Printing_Layouts/GPServer&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;A href="http://NULL" target="_self"&gt;https://YOURSERVER.com/server/rest/services/WebTools/Printing_Layouts/GPServer/Export Web Map&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 26 Aug 2021 15:29:49 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2021-08-26T15:29:49Z</dc:date>
    <item>
      <title>Print Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/814914#M6889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I add the print widget and set the service url i get an error that this is not a print task. See Attachment. When I add this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;http://xxxxxx.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it tells me its a print task and works. What is the %20&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 20:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/814914#M6889</guid>
      <dc:creator>GeorgeKatsambas</dc:creator>
      <dc:date>2017-04-24T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/814915#M6890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%20 is url encoding for a space in the url. I am not sure why it would not accept&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fxxxxxx.com%2Farcgis%2Frest%2Fservices%2FUtilities%2FPrintingTools%2FGPServer%2FExport" rel="nofollow" target="_blank"&gt;http://xxxxxx.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export&lt;/A&gt;&lt;SPAN&gt; Web Map Task" though.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 21:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/814915#M6890</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-04-24T21:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/1092725#M14609</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I find the print tool is finicky. I have found that I sometimes need to delete the URL and paste a fresh one in, even if there are no changes.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My two biggest tips would be:&lt;/FONT&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;As already mentioned, %20 is HTML for a space. By default, "Export Web Map" has spaces. These spaces will all be converted to %20 by the widget. When you paste the link in, &lt;STRONG&gt;let WAB convert the spaces to %20&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The URL, at least in my case, needs to be updated from default for the Print widget to work. The URL it is looking for is the same as the &lt;STRONG&gt;REST Service URL for Export Web Map&lt;/STRONG&gt;. Go to your portal &amp;gt; find/open the print tool &amp;gt; scroll down &amp;gt; look for URL at the bottom right and click View to go to the REST Service Directory.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1629991384192.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/21799i34408E341D8F3276/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1629991384192.png" alt="abureaux_0-1629991384192.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Once there, click the "Export Web Map" URL, and then copy the full URL from the URL bar and paste into your Print widget. If you have Service Directory disabled, this will obviously not work.&lt;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;If your Service Directory &lt;EM&gt;is&lt;/EM&gt; disabled, you can always try this: In your Print widget, copy the URL (see image above for reference) and paste into your URL bar (or and text editor - this is just convenient). Then, add&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT color="#FF0000"&gt; &lt;STRONG&gt;/Export Web Map&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT face="arial,helvetica,sans-serif"&gt;(&lt;U&gt;with&lt;/U&gt; spaces). See below for before and after&lt;/FONT&gt;&lt;/FONT&gt;&lt;OL&gt;&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;A href="http://NULL" target="_self"&gt;https://YOURSERVER.com/server/rest/services/WebTools/Printing_Layouts/GPServer&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;&lt;A href="http://NULL" target="_self"&gt;https://YOURSERVER.com/server/rest/services/WebTools/Printing_Layouts/GPServer/Export Web Map&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 26 Aug 2021 15:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/print-widget/m-p/1092725#M14609</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2021-08-26T15:29:49Z</dc:date>
    </item>
  </channel>
</rss>

