<?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: PrintWidget Format &amp;amp; Layout_Teplates dropdownlist in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47618#M2034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Do you know is there possible to change the code to only show 2 choices for Layout template when using ESRI GP service on ExportWebMapForm.mxml?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The DropDownList is getting populated by whatever mxd's are located in the TemplateFolder Location which is designated in your GeoProcessing Tool which you publish on your ArcGIS Server 10.1 Instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Esri's Sample Print GP service is not ideal, as you can't customize anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 13:46:07 GMT</pubDate>
    <dc:creator>GISDev1</dc:creator>
    <dc:date>2013-02-20T13:46:07Z</dc:date>
    <item>
      <title>PrintWidget Format &amp;amp;amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47614#M2030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you only have two choices for Formats on the dropdown list instead of 8 choices?&amp;nbsp; Samething for Layout templates as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47614#M2030</guid>
      <dc:creator>MayJeff</dc:creator>
      <dc:date>2013-02-11T14:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47615#M2031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can make as many choices as you'd like in both the Formats and the Layouts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out this Esri video:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://video.esri.com/watch/1058/arcgis-for-server-10.1-printingtools-service-tutorial"&gt;http://video.esri.com/watch/1058/arcgis-for-server-10.1-printingtools-service-tutorial&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 11:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47615#M2031</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-02-12T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47616#M2032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nice video, too bad he leaves out the important part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While creating his service, he points out how/where you can select the formats available.&amp;nbsp; However, he skips over and fails to mention this part from the help documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Due to a known limitation with the Export Web Map tool in 10.1, you cannot filter the parameter choices available to end users.&lt;BR /&gt;&lt;BR /&gt;You can hide a parameter completely from end users and force them to use the default by setting the parameter's Input mode to Constant value.&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it doesn't matter how many of the formats, templates, etc. you un-check creating the service, you will still get them all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way I have found to get around this is to only allow one option (Constant value), or not give them the option in the config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the templates, you can, as long as you only have the two "desired" templates in the template folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 17:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47616#M2032</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-02-12T17:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47617#M2033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good to know that.&amp;nbsp; No wonder my own GP always got all the formats eventhough I just select two of the formats from the list.&amp;nbsp; Do you know is there possible to change the code to only show 2 choices for Layout template when using ESRI GP service on ExportWebMapForm.mxml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47617#M2033</guid>
      <dc:creator>MayJeff</dc:creator>
      <dc:date>2013-02-13T11:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47618#M2034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Do you know is there possible to change the code to only show 2 choices for Layout template when using ESRI GP service on ExportWebMapForm.mxml?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The DropDownList is getting populated by whatever mxd's are located in the TemplateFolder Location which is designated in your GeoProcessing Tool which you publish on your ArcGIS Server 10.1 Instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Esri's Sample Print GP service is not ideal, as you can't customize anything.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 13:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47618#M2034</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-02-20T13:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47619#M2035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Nice video, too bad he leaves out the important part.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;While creating his service, he points out how/where you can select the formats available. However, he skips over and fails to mention this part from the help documentation:&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;So, it doesn't matter how many of the formats, templates, etc. you un-check creating the service, you will still get them all.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;The only way I have found to get around this is to only allow one option (Constant value), or not give them the option in the config.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;For the templates, you can, as long as you only have the two "desired" templates in the template folder.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;R_&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked into this, because I did it a while back and had forgotten how I got around that bug in the API V3.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this out in your ExportWebMapForm.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&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;lt;!-- &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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; 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;&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;PDF&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;PNG&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;nbsp;&amp;nbsp; &amp;lt;/mx:FormItem&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47619#M2035</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-02-20T18:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47620#M2036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much.&amp;nbsp; It works well!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 20:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47620#M2036</guid>
      <dc:creator>MayJeff</dc:creator>
      <dc:date>2013-02-20T20:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: PrintWidget Format &amp; Layout_Teplates dropdownlist</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47621#M2037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I looked into this, because I did it a while back and had forgotten how I got around that bug in the API V3.1&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Try this out in your ExportWebMapForm.mxml&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;PRE class="lia-code-sample line-numbers language-none"&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;lt;!--
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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; 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;&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; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;&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;PDF&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;PNG&amp;lt;/fx:String&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/mx:ArrayCollection&amp;gt;
&amp;nbsp; &amp;lt;/s:DropDownList&amp;gt;&lt;/SPAN&gt;
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:FormItem&amp;gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the answer I have been looking for - however I am new at this and don't have the mxml you are referring to? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcGIS Viewer for Flex, 10.2 server - where would I find this file to add your suggestions to?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:50:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/printwidget-format-amp-amp-amp-layout-teplates/m-p/47621#M2037</guid>
      <dc:creator>TerryHiggins</dc:creator>
      <dc:date>2021-12-10T21:50:30Z</dc:date>
    </item>
  </channel>
</rss>

