<?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: Example of how to use the PrintTask's customTextElements property in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22915#M1984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can modify the out of the box mxd's installed with ArcGIS server (on the server they are located in C:\Program Files\ArcGIS\Server\Templates\ExportWebMapTemplates) instead of publishing you own.&amp;nbsp; Just add a text element (insert&amp;gt;text) then open its properties and click on the "Size and Poistion" tab and give it an Element Name (ex: infoDetails) this will be referenced in your template parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the below example I'm referencing the customTextElement infoDetails and passing in a string (details) that I generated.&amp;nbsp; This also shows you how to access multiple customTextElements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;template.layoutOptions = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; titleText: "My Print page",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; customTextElements: [{ infoHeader: headers }, { infoDetail: details }],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 14:58:44 GMT</pubDate>
    <dc:creator>JerrySimmons_GISP</dc:creator>
    <dc:date>2013-03-25T14:58:44Z</dc:date>
    <item>
      <title>Example of how to use the PrintTask's customTextElements property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22914#M1983</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;Can anyone share an example of how to use the PrintTask's customTextElements property?&amp;nbsp; Can I pass in a dojo textbox and it's value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 22:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22914#M1983</guid>
      <dc:creator>OscarShell</dc:creator>
      <dc:date>2013-02-27T22:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Example of how to use the PrintTask's customTextElements property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22915#M1984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can modify the out of the box mxd's installed with ArcGIS server (on the server they are located in C:\Program Files\ArcGIS\Server\Templates\ExportWebMapTemplates) instead of publishing you own.&amp;nbsp; Just add a text element (insert&amp;gt;text) then open its properties and click on the "Size and Poistion" tab and give it an Element Name (ex: infoDetails) this will be referenced in your template parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the below example I'm referencing the customTextElement infoDetails and passing in a string (details) that I generated.&amp;nbsp; This also shows you how to access multiple customTextElements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;template.layoutOptions = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; titleText: "My Print page",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; customTextElements: [{ infoHeader: headers }, { infoDetail: details }],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 14:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22915#M1984</guid>
      <dc:creator>JerrySimmons_GISP</dc:creator>
      <dc:date>2013-03-25T14:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Example of how to use the PrintTask's customTextElements property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22916#M1985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Worked great&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 15:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/example-of-how-to-use-the-printtask-s/m-p/22916#M1985</guid>
      <dc:creator>RobertKirkwood</dc:creator>
      <dc:date>2014-10-16T15:23:33Z</dc:date>
    </item>
  </channel>
</rss>

