<?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 Printing in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216671#M20097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am tryring to incorporate a Print funtion into my app from this example&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the example everything works alright....note that I reference my own proxy and printURL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can print&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises when I try and add my own feature services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The map and print button appear as expected and the login screen appears as my services are secured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add the below &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The secured login screen appears.&amp;nbsp; I am able to enter my credentials and the Feature Service appears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT when I hit the print button is just spins and spins...nothing happens&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the service name....It seems to be coming from the Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you print Secured services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it have to be a Map Service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; var TestUrl = "https://web1.gov/arcgis/rest/services/Map/Map_Readonly/FeatureServer/0";
&amp;nbsp;&amp;nbsp;&amp;nbsp; var FeatureLayer = new FeatureLayer(TestUrl, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_SNAPSHOT
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; app.map.addLayer(FeatureLayer);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 10:36:20 GMT</pubDate>
    <dc:creator>jaykapalczynski</dc:creator>
    <dc:date>2021-12-11T10:36:20Z</dc:date>
    <item>
      <title>Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216671#M20097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am tryring to incorporate a Print funtion into my app from this example&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the example everything works alright....note that I reference my own proxy and printURL&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can print&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem arises when I try and add my own feature services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The map and print button appear as expected and the login screen appears as my services are secured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add the below &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The secured login screen appears.&amp;nbsp; I am able to enter my credentials and the Feature Service appears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT when I hit the print button is just spins and spins...nothing happens&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the service name....It seems to be coming from the Service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you print Secured services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it have to be a Map Service?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; var TestUrl = "https://web1.gov/arcgis/rest/services/Map/Map_Readonly/FeatureServer/0";
&amp;nbsp;&amp;nbsp;&amp;nbsp; var FeatureLayer = new FeatureLayer(TestUrl, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_SNAPSHOT
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; app.map.addLayer(FeatureLayer);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216671#M20097</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2021-12-11T10:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216672#M20098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to add your credentials to the print tool before publishing the print task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a help page for it but I can't seem to find it. Here's how:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) copy Export Web Map tool to a new toolbox&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) right click and now Edit is enabled and select it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) fill in credentials&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) publish as usual&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You do need catalog to be connected to the server(s), which I assume you do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 15:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216672#M20098</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2014-03-24T15:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216673#M20099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you....this has been driving me crazy...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you look for the documentation and post here is anyone else is having the same issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;very appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 15:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216673#M20099</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-03-24T15:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216674#M20100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the help: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Printing_maps_that_contain_secured_services/0154000005q3000000/"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#/Printing_maps_that_contain_secured_services/0154000005q3000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 15:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216674#M20100</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2014-03-24T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216675#M20101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;THANK YOU!!....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; Something not working still.....will get to ya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 15:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216675#M20101</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-03-24T15:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216676#M20102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the secured print and have done exactly as they have indicated on the link you have provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario is pretty straight forward. I create a map accessing secured serviced via a proxy. When I want to print I am using the esri/dijit/Print widget to which I assign my map and the URL of my secured print service which I have published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I call it, nothing happens and no map is printed. My only success with printing secured services was by creating a new map into which I load the main map's layers but I needed to append a short lived token to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 01:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216676#M20102</guid>
      <dc:creator>AlexeiB</dc:creator>
      <dc:date>2014-10-01T01:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Printing</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216677#M20103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you able to get this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 01:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing/m-p/216677#M20103</guid>
      <dc:creator>AlexeiB</dc:creator>
      <dc:date>2014-10-01T01:18:12Z</dc:date>
    </item>
  </channel>
</rss>

