<?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 Help with coding the Print Widget config xml file in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16268#M578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to figure out the proper way to include/exclude formats in the Print Widget config but the explanation in the tag reference is not very good. What I want to do is remove "pdf" from the list of formats but include the other ones. Below is the current config but it's not working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" ?&amp;gt; &amp;lt;configuration&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- change this URL to your own Export Web Map Task (requires ArcGIS 10.1), or just remove the taskurl tag to get quick printing --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;taskurl&amp;gt;http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&amp;lt;/taskurl&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplates visible="true"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;MAP_ONLY&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;Tabloid ANSI B Landscape&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;Tabloid ANSI B Portrait&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layouttemplates&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;formats visible="true"&amp;gt;png32,png8,jpg,gif,eps,svg,svgz&amp;lt;/formats&amp;gt; &amp;lt;/configuration&amp;gt;&amp;nbsp; &amp;lt;!-- &amp;nbsp;&amp;nbsp;&amp;nbsp; See Print widget tag reference at &amp;nbsp;&amp;nbsp;&amp;nbsp; http://links.esri.com/printwidget --&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 13:34:22 GMT</pubDate>
    <dc:creator>AlisonPage</dc:creator>
    <dc:date>2013-04-24T13:34:22Z</dc:date>
    <item>
      <title>Help with coding the Print Widget config xml file</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16268#M578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to figure out the proper way to include/exclude formats in the Print Widget config but the explanation in the tag reference is not very good. What I want to do is remove "pdf" from the list of formats but include the other ones. Below is the current config but it's not working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" ?&amp;gt; &amp;lt;configuration&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- change this URL to your own Export Web Map Task (requires ArcGIS 10.1), or just remove the taskurl tag to get quick printing --&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;taskurl&amp;gt;http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&amp;lt;/taskurl&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplates visible="true"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;MAP_ONLY&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;Tabloid ANSI B Landscape&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layouttemplate&amp;gt;Tabloid ANSI B Portrait&amp;lt;/layouttemplate&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/layouttemplates&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;formats visible="true"&amp;gt;png32,png8,jpg,gif,eps,svg,svgz&amp;lt;/formats&amp;gt; &amp;lt;/configuration&amp;gt;&amp;nbsp; &amp;lt;!-- &amp;nbsp;&amp;nbsp;&amp;nbsp; See Print widget tag reference at &amp;nbsp;&amp;nbsp;&amp;nbsp; http://links.esri.com/printwidget --&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16268#M578</guid>
      <dc:creator>AlisonPage</dc:creator>
      <dc:date>2013-04-24T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with coding the Print Widget config xml file</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16269#M579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Due to a "known limitation" in the server, this is not possible without modifying the source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This has been covered here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/77407-PrintWidget-Format-amp-Layout_Teplates-dropdownlist?p=274746#post274746"&gt;http://forums.arcgis.com/threads/77407-PrintWidget-Format-amp-Layout_Teplates-dropdownlist?p=274746#post274746&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 17:35:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16269#M579</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-04-24T17:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with coding the Print Widget config xml file</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16270#M580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've modified the ExportWebMapForm.mxml as specified in the forum thread you linked me to.. I don't have ArcGIS 10.1, only ArcGIS 10. I've done the following and am receiving the error below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ExportWebMapForm.mxml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;mx:FormItem id="layoutTemplatesFI"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; includeInLayout="{shouldShowTemplateOptions}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="{shouldShowTemplateOptions}"&amp;gt;
&amp;nbsp; &amp;lt;!--
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:DropDownList id="layoutTemplatesDDL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataProvider="{printTask.getServiceInfoLastResult.layoutTemplates}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requireSelection="true"/&amp;gt;
&amp;nbsp; --&amp;gt;
&amp;nbsp; &amp;lt;s:DropDownList id="layoutTemplatesDDL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requireSelection="true"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:ArrayCollection&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;MAP_ONLY&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;Tabloid ANSI B Landscape&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;Tabloid ANSI B Portrait&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/mx:ArrayCollection&amp;gt;
&amp;nbsp; &amp;lt;/s:DropDownList&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:FormItem&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:FormItem id="formatsFI"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; includeInLayout="{shouldShowFormatOptions}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="{shouldShowFormatOptions}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--
&amp;nbsp; &amp;lt;s:DropDownList id="formatsDDL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataProvider="{printTask.getServiceInfoLastResult.formats}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requireSelection="true"/&amp;gt;
&amp;nbsp; --&amp;gt;
&amp;nbsp; &amp;lt;s:DropDownList id="formatsDDL"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="100"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; requireSelection="true"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:ArrayCollection&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;PNG32&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;PNG8&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;JPG&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;GIF&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;EPS&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;SVG&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:String&amp;gt;SVGZ&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/mx:ArrayCollection&amp;gt;
&amp;nbsp; &amp;lt;/s:DropDownList&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:FormItem&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In PrintWidget.xml (I set it back to the original w/ just the url - which I didn't want to change b/c I don't have v10.1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" ?&amp;gt;
&amp;lt;configuration&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- change this URL to your own Export Web Map Task (requires ArcGIS 10.1), or just remove the taskurl tag to get quick printing --&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;taskurl&amp;gt;http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&amp;lt;/taskurl&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error that I'm receiving when I try to use the Print Widget from my map: &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Error executing print task:

[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute"]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16270#M580</guid>
      <dc:creator>AlisonPage</dc:creator>
      <dc:date>2021-12-10T20:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with coding the Print Widget config xml file</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16271#M581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Allison,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are your services public and visible to the world?&amp;nbsp; If not, you will not be able to use the ESRI print task server as it needs to be able to download your layers, etc. to generate the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was stuck with the basic print (comment out the task URL) task until I installed 10.1.&amp;nbsp; Currently, the only thing my 10.1 is doing is serving this print task..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 17:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16271#M581</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-04-25T17:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with coding the Print Widget config xml file</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16272#M582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was testing from my Development server which is why it wasn't working. I didn't realize the map services needed to be live to the world for the print function to work, my dev services are behind our firewall. I've used my live service URLs and it's working fine now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alison&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 18:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-coding-the-print-widget-config-xml-file/m-p/16272#M582</guid>
      <dc:creator>AlisonPage</dc:creator>
      <dc:date>2013-04-25T18:20:45Z</dc:date>
    </item>
  </channel>
</rss>

