<?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: Custom PrintService in ArcGIS WebApp Builder throws error when used in PrintWidget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-printservice-in-arcgis-webapp-builder/m-p/189488#M5190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;It is most likely failing because your print service fails to access agol base map services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set your print service Message Level to Error/Warning/Info, you should see more descriptive error message showing the reason behind the failure.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/484178_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most likely reason your print service fails to connect basemap services is because of firewall settings.&lt;/P&gt;&lt;P&gt;I think I usually asks users to do is this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;log on to your server machine that is running your print service&lt;UL&gt;&lt;LI&gt;make sure you log as &lt;STRONG&gt;ArcGIS Server Account &lt;/STRONG&gt;not as your account&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;open a browser and try to access a agol basemap service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 17:27:31 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2020-03-05T17:27:31Z</dc:date>
    <item>
      <title>Custom PrintService in ArcGIS WebApp Builder throws error when used in PrintWidget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-printservice-in-arcgis-webapp-builder/m-p/189487#M5189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; border: 0px; margin: 0px 0px 1em;"&gt;I have a WebApp application I am creating with the Web AppBuilder Developer Edition. In ArcMap, I created a custom print service like described here (&lt;A href="https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm" rel="nofollow noreferrer" style="color: #1d4d5c; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;https://enterprise.arcgis.com/en/server/latest/create-web-apps/windows/tutorial-publishing-additional-services-for-printing.htm&lt;/A&gt;). When I use the custom PrintService in the PrintWidget, no file is exported but an error is thrown: &lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;EM&gt;Error executing tool. Export Web Map.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #242729; border: 0px; margin: 0px 0px 1em;"&gt;When I copy the Web_Map_as_JSON code that is generated from the execute call, remove the basemap layer (&lt;A href="https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" rel="nofollow noreferrer" style="color: #1d4d5c; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer&lt;/A&gt;) from the JSON code, I can get the PrintService to work when I execute&amp;nbsp;from REST endpoint (execute) in the ArcGIS Server Manager.&lt;/P&gt;&lt;P style="color: #242729; border: 0px; margin: 0px 0px 1em;"&gt;But&amp;nbsp;the combination of MapServices (hosted on an internal server) and the ESRI basemap does not work.&lt;/P&gt;&lt;P style="color: #242729; border: 0px; margin: 0px 0px 1em;"&gt;When I use the standard PrintService of WAB, I can get an export when I deselect all layers and only print the basemap, but when I add layers of my MapServices, it fails. However, since I need a custom template, I cannot use the standard PrintService.&lt;/P&gt;&lt;P style="color: #242729; border: 0px; margin: 0px 0px 1em;"&gt;Any idea what has to be done to make the print widget working with a custom PrintService and combine the ESRI basemap with MapServices hosted internally?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 07:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-printservice-in-arcgis-webapp-builder/m-p/189487#M5189</guid>
      <dc:creator>MarioNowak</dc:creator>
      <dc:date>2020-03-05T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom PrintService in ArcGIS WebApp Builder throws error when used in PrintWidget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-printservice-in-arcgis-webapp-builder/m-p/189488#M5190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;It is most likely failing because your print service fails to access agol base map services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set your print service Message Level to Error/Warning/Info, you should see more descriptive error message showing the reason behind the failure.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/484178_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most likely reason your print service fails to connect basemap services is because of firewall settings.&lt;/P&gt;&lt;P&gt;I think I usually asks users to do is this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;log on to your server machine that is running your print service&lt;UL&gt;&lt;LI&gt;make sure you log as &lt;STRONG&gt;ArcGIS Server Account &lt;/STRONG&gt;not as your account&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;open a browser and try to access a agol basemap service&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 17:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/custom-printservice-in-arcgis-webapp-builder/m-p/189488#M5190</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2020-03-05T17:27:31Z</dc:date>
    </item>
  </channel>
</rss>

