Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Help with coding the Print Widget config xml file

$
0
0
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:

Code:

<?xml version="1.0" ?>
<configuration>
    <!-- change this URL to your own Export Web Map Task (requires ArcGIS 10.1), or just remove the taskurl tag to get quick printing -->
    <taskurl>http://sampleserver6.arcgisonline.com/ArcGIS/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl>
    <layouttemplates visible="true">
        <layouttemplate>MAP_ONLY</layouttemplate>
        <layouttemplate>Tabloid ANSI B Landscape</layouttemplate>
        <layouttemplate>Tabloid ANSI B Portrait</layouttemplate>
    </layouttemplates> 
<formats visible="true">png32,png8,jpg,gif,eps,svg,svgz</formats>
</configuration>

<!--
    See Print widget tag reference at
    http://links.esri.com/printwidget
-->

Thank you,
Alison

Viewing all articles
Browse latest Browse all 2097

Trending Articles