<?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 Modifying the Print Template in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064307#M73370</link>
    <description>&lt;P&gt;Good Day&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1622662448968.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14941i63029F4F714E5CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1622662448968.png" alt="AndrewMurdoch1_0-1622662448968.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have two objects left with the print template, one is to centre the legend and the other is to remove the text under the scale, is it possible to do both of those things?&lt;BR /&gt;&lt;BR /&gt;My current template object:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;const &lt;/SPAN&gt;template = &lt;SPAN&gt;new this&lt;/SPAN&gt;.&lt;SPAN&gt;PrintTemplate&lt;/SPAN&gt;({&lt;BR /&gt;  &lt;SPAN&gt;format&lt;/SPAN&gt;: &lt;SPAN&gt;'jpg'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;layout&lt;/SPAN&gt;: &lt;SPAN&gt;'a4-landscape'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;layoutOptions&lt;/SPAN&gt;: {&lt;BR /&gt;    &lt;SPAN&gt;authorText&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;copyrightText&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;customTextElements&lt;/SPAN&gt;: [{&lt;BR /&gt;      &lt;SPAN&gt;'description'&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      &lt;SPAN&gt;'location'&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;BR /&gt;&lt;/SPAN&gt;    }]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;titleText&lt;/SPAN&gt;: titleText&lt;BR /&gt;  }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;attributionVisible&lt;/SPAN&gt;: &lt;SPAN&gt;false,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;showLabelsBoolean&lt;/SPAN&gt;: &lt;SPAN&gt;false,&lt;BR /&gt;&lt;/SPAN&gt;})&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If it's not possible, that's fine.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 19:37:55 GMT</pubDate>
    <dc:creator>AndrewMurdoch1</dc:creator>
    <dc:date>2021-06-02T19:37:55Z</dc:date>
    <item>
      <title>Modifying the Print Template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064307#M73370</link>
      <description>&lt;P&gt;Good Day&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewMurdoch1_0-1622662448968.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/14941i63029F4F714E5CDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AndrewMurdoch1_0-1622662448968.png" alt="AndrewMurdoch1_0-1622662448968.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have two objects left with the print template, one is to centre the legend and the other is to remove the text under the scale, is it possible to do both of those things?&lt;BR /&gt;&lt;BR /&gt;My current template object:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;const &lt;/SPAN&gt;template = &lt;SPAN&gt;new this&lt;/SPAN&gt;.&lt;SPAN&gt;PrintTemplate&lt;/SPAN&gt;({&lt;BR /&gt;  &lt;SPAN&gt;format&lt;/SPAN&gt;: &lt;SPAN&gt;'jpg'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;layout&lt;/SPAN&gt;: &lt;SPAN&gt;'a4-landscape'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;layoutOptions&lt;/SPAN&gt;: {&lt;BR /&gt;    &lt;SPAN&gt;authorText&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;copyrightText&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;customTextElements&lt;/SPAN&gt;: [{&lt;BR /&gt;      &lt;SPAN&gt;'description'&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      &lt;SPAN&gt;'location'&lt;/SPAN&gt;: &lt;SPAN&gt;''&lt;BR /&gt;&lt;/SPAN&gt;    }]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;titleText&lt;/SPAN&gt;: titleText&lt;BR /&gt;  }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;attributionVisible&lt;/SPAN&gt;: &lt;SPAN&gt;false,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;showLabelsBoolean&lt;/SPAN&gt;: &lt;SPAN&gt;false,&lt;BR /&gt;&lt;/SPAN&gt;})&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If it's not possible, that's fine.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 19:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064307#M73370</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-06-02T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the Print Template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064488#M73378</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm going to assume that you are using either the ArcGIS Online print service or the out of the box print service that comes with ArcGIS Enterprise.&lt;/P&gt;&lt;P&gt;If so, then the print layouts are fixed and cannot be modified. You can change some elements, like the title or the date, etc but not what is included or not (eg the attribute text under the scale bar).&lt;/P&gt;&lt;P&gt;However, if you are referencing a custom print service (only on ArcGIS Enterprise) that has custom print layouts then it may be possible to talk with the custodian of this print service to produce print layouts to your requirements.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 05:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064488#M73378</guid>
      <dc:creator>mdonnelly</dc:creator>
      <dc:date>2021-06-03T05:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the Print Template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064620#M73382</link>
      <description>&lt;P&gt;That's what I was thinking, thanks for your answer.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:01:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/modifying-the-print-template/m-p/1064620#M73382</guid>
      <dc:creator>AndrewMurdoch1</dc:creator>
      <dc:date>2021-06-03T14:01:12Z</dc:date>
    </item>
  </channel>
</rss>

