<?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: Avoid Proxy page for Print Task, Print Template; Geometry Service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216905#M20152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Normally you would not have to add the machine that is running the app to the corsEnabledServers. It is the other servers (any other url you are using in your code). Is your web server the same machine as your ArcGIS Server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2016 13:18:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-11-10T13:18:44Z</dc:date>
    <item>
      <title>Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216896#M20143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Is it possible to avoid using proxy page when&lt;/P&gt;&lt;P&gt;1) create pdf file with Print Task, Print Template?&lt;/P&gt;&lt;P&gt;2) use&amp;nbsp;Geometry Service for Buffer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;esriConfig.defaults.geometryService = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt; GeometryService(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515; background: white;"&gt;"some URL");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;esriConfig.defaults.io.proxyUrl = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: #a31515; background: white;"&gt;"/proxy/"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;; - HERE WE MUST PUT CORRECT ADDRESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;esriConfig.defaults.io.alwaysUseProxy = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: blue; background: white;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.5pt; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 22:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216896#M20143</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-09T22:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216897#M20144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pieterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Any particular reason why? You do not have to use a proxy when using the PrintTask but the use the proxy will be necessary when buffering a complex polygon as the text limit for url params will likely be exceeded and the use of a put request will need to be made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 23:26:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216897#M20144</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-09T23:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216898#M20145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply, Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How I configure PrintTask not to use proxy?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have an error&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;init.js:140 GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A55549%2Fproxy%2F%3Fhttps%3A%2F%2Fuser.domain.com%2Farcgis%2Frest%2Fservices%2FDownloadWebMap%2FGPServer%2FExport%2520Web%2520Map%3Ff%3Djson" rel="nofollow" target="_blank"&gt;http://localhost:55549/proxy/?https://user.domain.com/arcgis/rest/services/DownloadWebMap/GPServer/Export%20Web%20Map?f=json&lt;/A&gt;&lt;SPAN&gt; 404 (Not Found)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;when run the JavaScript&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.printUrl = "some URL";&lt;BR /&gt;var printInfo = esriRequest({&lt;BR /&gt;&amp;nbsp;"url": app.printUrl,&lt;BR /&gt;&amp;nbsp;"content": { "f": "json" }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;printInfo.then(handlePrintInfo, handleError);&lt;/P&gt;&lt;P&gt;function handlePrintInfo(resp) {&lt;BR /&gt; var layoutTemplate, templateNames, mapOnlyIndex, templates;&lt;/P&gt;&lt;P&gt;layoutTemplate = arrayUtils.filter(resp.parameters, function (param, idx) {&lt;BR /&gt; return param.name === "Template123";&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;if (layoutTemplate.length === 0) {&lt;BR /&gt; console.log("print service parameters name for templates must be \"&lt;SPAN&gt;Template123&lt;/SPAN&gt;\"");&lt;BR /&gt; return;&lt;BR /&gt; }&lt;BR /&gt; templateNames = layoutTemplate[0].choiceList;&lt;/P&gt;&lt;P&gt;// remove the MAP_ONLY template then add it to the end of the list of templates &lt;BR /&gt; mapOnlyIndex = arrayUtils.indexOf(templateNames, "MAP_ONLY");&lt;BR /&gt; if (mapOnlyIndex &amp;gt; -1) {&lt;BR /&gt; var mapOnly = templateNames.splice(mapOnlyIndex, mapOnlyIndex + 1)[0];&lt;BR /&gt; templateNames.push(mapOnly);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;// create a print template for each choice&lt;BR /&gt; templates = arrayUtils.map(templateNames, function (ch) {&lt;BR /&gt; var plate = new PrintTemplate();&lt;BR /&gt; plate.layout = plate.label = ch;&lt;BR /&gt; plate.format = "PDF";&lt;BR /&gt; plate.layoutOptions = {&lt;BR /&gt; "authorText": "Made by: ZZZ",&lt;BR /&gt; "copyrightText": "&amp;lt;copyright info here&amp;gt;",&lt;BR /&gt; "legendLayers": [],&lt;BR /&gt; "titleText": "&amp;lt;Test Title Here&amp;gt;",&lt;BR /&gt; "scalebarUnit": "Miles"&lt;BR /&gt; };&lt;BR /&gt; return plate;&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// create the print dijit&lt;BR /&gt; app.printer = new Print({&lt;BR /&gt; "map": app.map,&lt;BR /&gt; "templates": templates,&lt;BR /&gt; url: app.printUrl&lt;BR /&gt; }, dom.byId("print_button"));&lt;BR /&gt; app.printer.startup();&lt;BR /&gt; }&lt;BR /&gt; function handleError(err) {&lt;BR /&gt; console.log("Something broke: ", err);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How I configure PrintTask not to use proxy?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 23:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216898#M20145</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-09T23:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216899#M20146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It sounds like you just need to configure your proxy url properly or just comment out those lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;esriConfig.defaults.io.proxyUrl = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;"/proxy/"&lt;/SPAN&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;; - HERE WE MUST PUT CORRECT ADDRESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;esriConfig.defaults.io.alwaysUseProxy = &lt;/SPAN&gt;&lt;SPAN style="color: blue; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;The proxy should only be used when the text limit for the url params has been exceeded or you have that specific url setup in your proxy.config.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 02:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216899#M20146</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T02:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216900#M20147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;I commented out&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;esriConfig.defaults.io.proxyUrl = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;"/proxy/"&lt;/SPAN&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;; - HERE WE MUST PUT CORRECT ADDRESS&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;esriConfig.defaults.io.alwaysUseProxy = &lt;/SPAN&gt;&lt;SPAN style="color: blue; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: black; background: white; border: 0px; font-weight: inherit; font-size: 9.5pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and now have an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;esri.config.defaults.io.proxyUrl is not set. If making a request to a CORS enabled server, please push the domain into esri.config.defaults.io.corsEnabledServers.&lt;BR /&gt;EsriVisualisation.js:576 Something broke: Error: esri.config.defaults.io.proxyUrl is not set. If making a request to a CORS enabled server, please push the domain into esri.config.defaults.io.corsEnabledServers.&lt;BR /&gt;&lt;SPAN&gt; at Object.c.getProxyUrl (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A701%3A63" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:701:63&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at u (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A859%3A368" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:859:368&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at e (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A864%3A490" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:864:490&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at z (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A871%3A60" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:871:60&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at initialiseMap (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A55549%2FScripts%2FEsriVisualisation.js%3A526%3A25" rel="nofollow" target="_blank"&gt;http://localhost:55549/Scripts/EsriVisualisation.js:526:25&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at initApp (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A55549%2FScripts%2FEsriVisualisation.js%3A195%3A9" rel="nofollow" target="_blank"&gt;http://localhost:55549/Scripts/EsriVisualisation.js:195:9&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%3A55549%2FScripts%2FEsriVisualisation.js%3A186%3A5" rel="nofollow" target="_blank"&gt;http://localhost:55549/Scripts/EsriVisualisation.js:186:5&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; at ia (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A28%3A3" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:28:3&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A28%3A256" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:28:256&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; at ja (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A28%3A125" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:28:125&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 02:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216900#M20147</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-10T02:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216901#M20148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So as the error message is saying you are attempting to connect to a server that is not the one the app is running on so you need to have the server you are contacting be CORS enabled and add that server to the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;esri.config.defaults.io.corsEnabledServers or you need to get your proxy configured properly to by-pass the need for CORS.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 03:41:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216901#M20148</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T03:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216902#M20149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Thank you. Could you provide more details how to&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) check "&lt;SPAN style="background-color: #ffffff;"&gt;server you are contacting be CORS enabled"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2) and add that server to the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;esri.config.defaults.io.corsEnabledServers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216902#M20149</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-10T04:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216903#M20150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is 10 times easier to setup the proxy then to enable CORS on your server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 04:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216903#M20150</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T04:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216904#M20151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should I&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;esri.config.defaults.io.corsEnabledServers.push("?????server.com");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;if yes, what I do for local environment?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;esri.config.defaults.io.corsEnabledServers.push("localhost:55549");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 05:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216904#M20151</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-10T05:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216905#M20152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Piterson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Normally you would not have to add the machine that is running the app to the corsEnabledServers. It is the other servers (any other url you are using in your code). Is your web server the same machine as your ArcGIS Server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 13:18:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216905#M20152</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216906#M20153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, our web server is different machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216906#M20153</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-10T21:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216907#M20154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please clarify when you say "&lt;SPAN style="background-color: #ffffff;"&gt;You do not have to use a proxy when using the PrintTask"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;That means use CORS?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Can you please send link to working example that do not uses proxy and do not uses CORS?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 21:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216907#M20154</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-10T21:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216908#M20155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;I am not sure what you have against using a proxy. But you will likely encounter a need to use one sooner rather than latter, once you get a service request that exceeds the URL params text limit.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;But you will not need a proxy if your services and your web server are on the same machine and/or you have your server CORS enabled and added to the cots enabled servers array.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I don't have any examples for you right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 22:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216908#M20155</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-10T22:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Proxy page for Print Task, Print Template; Geometry Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216909#M20156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar with me.&lt;/P&gt;&lt;P&gt;I am trying to avoid the proxy (more later) all works fine, apart from printing in IE11 when I get the "&lt;SPAN style="background-color: #ffffff;"&gt;If making a request to a CORS enabled server, please push the domain into esri.config.defaults.io.corsEnabledServers." - even through I do push the site that I am making a request to,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The reason why I'm switching proxy off, apart from performance, is that I just can't get my head around the config for testing, we now are using a proper version control in Visual Studio so I have to test using VS, and the "localhost" seems to fail, even when I change the config.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Although I'm going to look at why that is later, if I can move away totally it would be great.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Any ideas why just IE11 is having issues?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Dec 2017 10:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/avoid-proxy-page-for-print-task-print-template/m-p/216909#M20156</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-12-02T10:28:32Z</dc:date>
    </item>
  </channel>
</rss>

