<?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 Basemaps, print tasks &amp; firewalls (oh my!) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemaps-print-tasks-firewalls-oh-my/m-p/635830#M59390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working with the 3.15 version of the JavsScript API.&amp;nbsp; I noticed that the basemap gallery basemaps are pointing at &lt;A href="http://services.arcgisonline.com/arcgis/rest/services"&gt;http://services.arcgisonline.com/arcgis/rest/services&lt;/A&gt;.&amp;nbsp; Is there a way to configure that to instead point to &lt;A href="http://server.arcgisonline.com/arcgis/rest/services"&gt;http://server.arcgisonline.com/arcgis/rest/services&lt;/A&gt;​?&amp;nbsp; (which looks like the same set of services?) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I ask is because of some silly firewall rules built into our agencies server, which breaks my print tasks because it allows services from (server.arcgisonline.com), not from (services.arcgisonline.com)... and the basemapgallery widget to my knowledge points to the latter... Eventually I will be asking for a firewall exception to services.arcgisonline.com, &lt;SPAN style="color: #1f497d;"&gt;openstreetmap.org, &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;nationalmap.gov, &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;virtualearth.net (all the basemaps that my print tasks may use),&lt;/SPAN&gt; but until then I was hoping for a workaround to meet some current client needs...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 22:25:46 GMT</pubDate>
    <dc:creator>JeffreySchmidt</dc:creator>
    <dc:date>2016-01-26T22:25:46Z</dc:date>
    <item>
      <title>Basemaps, print tasks &amp; firewalls (oh my!)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemaps-print-tasks-firewalls-oh-my/m-p/635830#M59390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working with the 3.15 version of the JavsScript API.&amp;nbsp; I noticed that the basemap gallery basemaps are pointing at &lt;A href="http://services.arcgisonline.com/arcgis/rest/services"&gt;http://services.arcgisonline.com/arcgis/rest/services&lt;/A&gt;.&amp;nbsp; Is there a way to configure that to instead point to &lt;A href="http://server.arcgisonline.com/arcgis/rest/services"&gt;http://server.arcgisonline.com/arcgis/rest/services&lt;/A&gt;​?&amp;nbsp; (which looks like the same set of services?) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I ask is because of some silly firewall rules built into our agencies server, which breaks my print tasks because it allows services from (server.arcgisonline.com), not from (services.arcgisonline.com)... and the basemapgallery widget to my knowledge points to the latter... Eventually I will be asking for a firewall exception to services.arcgisonline.com, &lt;SPAN style="color: #1f497d;"&gt;openstreetmap.org, &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;nationalmap.gov, &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;virtualearth.net (all the basemaps that my print tasks may use),&lt;/SPAN&gt; but until then I was hoping for a workaround to meet some current client needs...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 22:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemaps-print-tasks-firewalls-oh-my/m-p/635830#M59390</guid>
      <dc:creator>JeffreySchmidt</dc:creator>
      <dc:date>2016-01-26T22:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Basemaps, print tasks &amp; firewalls (oh my!)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemaps-print-tasks-firewalls-oh-my/m-p/635831#M59391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you having issues with just replacing the url in your file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried it in the printing sample, in the sand box&lt;/P&gt;&lt;P&gt;&lt;A href="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_print" title="http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_print"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and replaced the url on line 130, and it seemed to work just fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I changed line 130 to&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14538615396501833" data-renderedposition="155_8_912_16" jivemacro_uid="_14538615396501833"&gt;&lt;P&gt;&lt;SPAN&gt;var url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fserver.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FUSA_Topo_Maps%2FMapServer" rel="nofollow" target="_blank"&gt;http://server.arcgisonline.com/arcgis/rest/services/USA_Topo_Maps/MapServer&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;for topo maps (didn't have to cahnge anything else in the sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may help if you post a sample of your code (see &lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;Posting Code blocks in the new GeoNet&lt;/A&gt;​ if you don't know how to format for geonet) and/or if you are testing in the JS sandbox.&amp;nbsp; Also, if you are getting an error message, include that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 02:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemaps-print-tasks-firewalls-oh-my/m-p/635831#M59391</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-01-27T02:27:22Z</dc:date>
    </item>
  </channel>
</rss>

