<?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: Export Map in Custom Application in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8570#M184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Francesco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The url seems to be requiring a login yet you are not supplying one in the url. Did you change the security setting of your IIS for this url?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2011 15:53:51 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-03-01T15:53:51Z</dc:date>
    <item>
      <title>Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8569#M183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i developed a widget to export my map in a cutom application in flex 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the script that i used:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public function PrintPDFx():void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var sURL:String;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://193.204.163.134/ArcGIS/rest/services/Roma/Carg_Roma/MapServer/export" rel="nofollow" target="_blank"&gt;http://193.204.163.134/ArcGIS/rest/services/Roma/Carg_Roma/MapServer/export&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL += "?bbox="+myMap.extent.xmin+","+myMap.extent.ymin+","+myMap.extent.xmax+","+myMap.extent.ymax;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sURL+="&amp;amp;layers=";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;size="+myMap.width+","+myMap.height;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;format=pdf";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;trasparent=false";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //sURL+="&amp;amp;dpi";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;f=image";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;width"+myMap.width;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sURL+="&amp;amp;height"+myMap.height;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; navigateToURL(new URLRequest(sURL),'_blank');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now i have a problem. this script in another application it's ok. now i my custom application i added a geocoding service and when i click my print function i have a server error. this is the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception from HRESULT: 0x800706BE code 500&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;help me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 14:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8569#M183</guid>
      <dc:creator>francescodi_vito</dc:creator>
      <dc:date>2011-03-01T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8570#M184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Francesco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The url seems to be requiring a login yet you are not supplying one in the url. Did you change the security setting of your IIS for this url?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 15:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8570#M184</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-01T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8571#M185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks Robert. yes i have a user name and pass. i will change it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8571#M185</guid>
      <dc:creator>francescodi_vito</dc:creator>
      <dc:date>2011-03-02T12:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8572#M186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert but if i would like to keep the user name and pass?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8572#M186</guid>
      <dc:creator>francescodi_vito</dc:creator>
      <dc:date>2011-03-02T12:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8573#M187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Francesco,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am not sure... I guess you would have to figure out how to pass a token or transmit the user name and password in clear text (probably not the best idea).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8573#M187</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-02T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export Map in Custom Application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8574#M188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok thanks Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/export-map-in-custom-application/m-p/8574#M188</guid>
      <dc:creator>francescodi_vito</dc:creator>
      <dc:date>2011-03-02T12:40:05Z</dc:date>
    </item>
  </channel>
</rss>

