<?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: print task not showing custom graphic layer as point clustering example in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843043#M544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;No the print widget just uses the print task behind the scenes. There is no workaround I am aware of. It is just a limitation to using custom graphics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Oct 2017 14:11:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-10-22T14:11:26Z</dc:date>
    <item>
      <title>print task not showing custom graphic layer as point clustering example</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843040#M541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear all&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am trying to print the custom graphic layer as the cluster point example&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/layers_point_clustering.html"&gt;ESRI JS clustering example&lt;/A&gt;&amp;nbsp;using the print task class. the problem i had the is that when printing execute, the print results doesn't show the custom graphic layer (cluster) but showing only the base map layer (dynamic), am using arcgis 10.4 with 3.21 JS version, here is my code for the print functionality. is there something i should consider in my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function PrintMap() {&lt;BR /&gt; // print functionality &lt;BR /&gt;&lt;SPAN&gt; var printURL = "&lt;/SPAN&gt;&lt;A class="unlinked"&gt;http://arcgissrv/server/rest/services/Utilities/PrintingTools/GPServer/Export&lt;/A&gt;&lt;SPAN&gt; Web Map Task"; (not the real url)&lt;/SPAN&gt;&lt;BR /&gt; var printTask = new PrintTask(printURL);&lt;BR /&gt; // prepare print template &lt;BR /&gt; var printTemplate = new PrintTemplate();&lt;BR /&gt; printTemplate.format = "PDF"; // values pdf | png32 | png8 | jpg | gif | eps | svg | svgz&lt;BR /&gt; printTemplate.preserveScale = true;&lt;BR /&gt; printTemplate.label = "print"; // The text that appears on the Print widget's print button.&lt;BR /&gt; printTemplate.layout = "A4 Landscape"; // values MAP_ONLY, A3 Landscape, A3 Portrait, A4 Landscape, A4 Portrait, Letter ANSI A Landscape, Letter ANSI A Portrait, Tabloid ANSI B Landscape, Tabloid ANSI B Portrait&lt;BR /&gt; printTemplate.showAttribution = true;&lt;BR /&gt; printTemplate.showLabels = true;&lt;BR /&gt; printTemplate.layoutOptions = {&lt;BR /&gt; // "authorText": dom.byId('txt_PrintMapAuthor').value,&lt;BR /&gt; "legendLayers": [],&lt;BR /&gt; "titleText": dom.byId('txt_PrintMapTitle').value,&lt;BR /&gt; "scalebarUnit": "Kilometers",// 'Miles' | 'Kilometers' | 'Meters' | 'Feet'. Default is "Miles",&lt;BR /&gt; "Content_text": "AAAAAAAAAAAAAA",&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var printParams = new PrintParameters();&lt;/P&gt;&lt;P&gt;printParams.map = map;&lt;BR /&gt; printParams.template = printTemplate;&lt;/P&gt;&lt;P&gt;// set the function when print task excuted the function fingure print is execute(printParameters, callback?, errback?)&lt;BR /&gt; printTask.execute(printParams, printResult, printError);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function printResult(result) {&lt;BR /&gt; window.open(result.url)&lt;/P&gt;&lt;P&gt;}; // function print result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function printError(parm) {&lt;BR /&gt; alert(parm);&lt;BR /&gt; }; // function printError&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 10:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843040#M541</guid>
      <dc:creator>Faris_TawfiqAbdelFattah</dc:creator>
      <dc:date>2017-10-19T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: print task not showing custom graphic layer as point clustering example</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843041#M542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To my knowledge Custom Graphics Layer have never been supported by the print task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 12:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843041#M542</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-19T12:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: print task not showing custom graphic layer as point clustering example</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843042#M543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert for the replay,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a workaround for&amp;nbsp; this solution ???&lt;/P&gt;&lt;P&gt;should i use the print widget for example .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Faris&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 09:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843042#M543</guid>
      <dc:creator>Faris_TawfiqAbdelFattah</dc:creator>
      <dc:date>2017-10-22T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: print task not showing custom graphic layer as point clustering example</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843043#M544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;No the print widget just uses the print task behind the scenes. There is no workaround I am aware of. It is just a limitation to using custom graphics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 14:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/print-task-not-showing-custom-graphic-layer-as/m-p/843043#M544</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-22T14:11:26Z</dc:date>
    </item>
  </channel>
</rss>

