<?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 PrintTemplate showAttribution does not seem to work at all. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595966#M55866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Love the Print dijit but the PrintTemplate.showAttribution property appears to be useless unless I am really missing something.&lt;/P&gt;&lt;P&gt;No matter if I set it to true or false, Attribution text of esri's topo basemap appears as well as Attribution info for a Web Tiled Layer I add. My initial map object (esri topo) has showAttribution as false. Setting showAttribution to false in my Web Tiled Layer has no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that when the PDF is landscape, only the esri topo Attribution appears in the lower-right corner, but when it is portrait orientation, both esri's topo and the Web Tiled Layer I add Attribution info is included. Hmmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using our Export Web Map Task on ArcGIS Server 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would really love to get rid of that cluttering text if at all possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much, any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 14:37:52 GMT</pubDate>
    <dc:creator>DavidChrest</dc:creator>
    <dc:date>2015-10-14T14:37:52Z</dc:date>
    <item>
      <title>PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595966#M55866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Love the Print dijit but the PrintTemplate.showAttribution property appears to be useless unless I am really missing something.&lt;/P&gt;&lt;P&gt;No matter if I set it to true or false, Attribution text of esri's topo basemap appears as well as Attribution info for a Web Tiled Layer I add. My initial map object (esri topo) has showAttribution as false. Setting showAttribution to false in my Web Tiled Layer has no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also noticed that when the PDF is landscape, only the esri topo Attribution appears in the lower-right corner, but when it is portrait orientation, both esri's topo and the Web Tiled Layer I add Attribution info is included. Hmmm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using our Export Web Map Task on ArcGIS Server 10.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would really love to get rid of that cluttering text if at all possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much, any help is much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595966#M55866</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2015-10-14T14:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595967#M55867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Strange when I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14448342094043158" data-renderedposition="92_8_912_16" jivemacro_uid="_14448342094043158"&gt;&lt;P&gt;template.showAttribution = false;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595967#M55867</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-14T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595968#M55868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;You must be using the Jedi Mind Trick. Seems like such a simple property setting but will not work for me.&lt;/P&gt;&lt;P&gt;Here is my code snippet:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;templates = array.map(templateNames, function (ch) {
&amp;nbsp; var plate = new PrintTemplate();
&amp;nbsp; plate.layout = plate.label = ch;
&amp;nbsp; plate.format = "PDF";
&amp;nbsp; plate.showAttribution = false,
&amp;nbsp; plate.exportOptions = {
&amp;nbsp; dpi: 150
&amp;nbsp; };
&amp;nbsp; plate.layoutOptions = {
&amp;nbsp; "legendLayers": [legendLayerD1A, legendLayerD2A],
&amp;nbsp; "titleText": "Moves Map",
&amp;nbsp; "scalebarUnit": "Miles"
&amp;nbsp; };
&amp;nbsp; return plate;
&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595968#M55868</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2021-12-12T01:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595969#M55869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Hmm. the only thing I see wrong is the comma instead of semicolon in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;plate.showAttribution = false;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not doing the same thing as you but here is more of my code that works (in case it might help):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var printTask = new PrintTask('my print task url');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var template = new PrintTemplate();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.imgHeight = (740/oWid) * oHgt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.exportOptions = {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 1542,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: (1542/oWid) * oHgt,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dpi: 200
&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; template.format = "jpg";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.layout = "MAP_ONLY";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.preserveScale = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.showAttribution = false;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var params = new PrintParameters();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; params.map = this.map;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; params.template = template;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printTask.execute(params, lang.hitch(this, this.printResult));&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:35:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595969#M55869</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T01:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595970#M55870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, yes, silly of me to leave off that semicolon but this fix still did not do anything. You have a params.template thing going but I'm using an array for all the print choices. I'm utilizing code from this example: &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html" title="https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html"&gt;Print templates with esri.request | ArcGIS API for JavaScript.&lt;/A&gt; I'm suspicious this is some kind of bug if used this way. All the other PrintTemplate properties such as format, exportOptions, layoutOptions work great but there is something definitely wrong with the showAttribution property.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:22:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595970#M55870</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2015-10-14T16:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595971#M55871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this - it didn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="131201" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131201_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="131203" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/131203_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possibly an issue with the version of the print service? I'm using Server 10.3...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595971#M55871</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-10-14T16:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595972#M55872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if it the version, but I am using 10.3.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595972#M55872</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-14T16:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595973#M55873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found an old thread with similar observations - &lt;A href="https://community.esri.com/thread/66154"&gt;Printing: Show Attribution&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/9690"&gt;David Marquardt&lt;/A&gt; was never successful in getting it to work, but worked around it by creating a custom template. I'm using the default template.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 16:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595973#M55873</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-10-14T16:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTemplate showAttribution does not seem to work at all.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595974#M55874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I found that post earlier but his trick of moving the service credits out of view will not work for me. My published services are just MXDs with just feature layers, no base maps. The attributes appear because I am bringing in esri's topo and other Web Tiled Layers. Like you found in your code above, showAttribution just does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 18:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtemplate-showattribution-does-not-seem-to/m-p/595974#M55874</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2015-10-14T18:25:00Z</dc:date>
    </item>
  </channel>
</rss>

