<?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: PrintTask not working with layer Defintion on Dynamic layers. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553908#M51681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having this exact issue with the 3.14 API and a custom geoprocessing service in ArcGIS Server 10.3.1 to print the map. When we set layer definitions on the Dynamic Layer it will display fine in the browser, but the PDF generated by the print service will not show the annotation layers at all for these layer definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you ever found what the problem is, or found a workaround we would love to know about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I'm wondering if this is a known bug and we should just move on for now, because we've already wasted a lot of time on this. Could there be a format issue between the for Web_Map_as_JSON json sent by the api and the REST service ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this image, you can see that the annotation layers 0 and 2 have been added to the visible layers of the Dynamic Layer. These annotations layer are not displayed at all in the PDF when we add the layer definitions shown.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-13_16-29-02.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131028_2015-10-13_16-29-02.png" style="width: 620px; height: 116px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 20:33:19 GMT</pubDate>
    <dc:creator>YohanBienvenue</dc:creator>
    <dc:date>2015-10-13T20:33:19Z</dc:date>
    <item>
      <title>PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553903#M51676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a problem with the printTask when setting a layerDefinition on a dynamic layer. If I run printTask before a layerDefinition is set the layer appears in the PDF printout, After setting a layerDefinition the layer is missing from the PDF printout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done some digging and editing in Charles with little success. The definition expressions is of the form "STATEABBR IN ('IN','MI','MN','OH')". I've tried using a lower case IN/in but that doesn't seem to be the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a js fiddle of the problem &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/Uf99U/20/"&gt;http://jsfiddle.net/Uf99U/20/&lt;/A&gt;&lt;SPAN&gt; , you will see that the printout does not print out the filtered layer, if you remove the the layerDefinition the layer prints fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:54:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553903#M51676</guid>
      <dc:creator>CalumButler</dc:creator>
      <dc:date>2014-03-28T17:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553904#M51677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are having the same issue.&amp;nbsp; If you come up with a solution we would love to know about it.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thansk!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 18:15:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553904#M51677</guid>
      <dc:creator>AnthonyKroon</dc:creator>
      <dc:date>2014-03-28T18:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553905#M51678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like if the server is a 10.21, using the 3.9 API allows the print task to work with layer definitions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553905#M51678</guid>
      <dc:creator>CalumButler</dc:creator>
      <dc:date>2014-03-31T13:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553906#M51679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;3.9 api????&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 13:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553906#M51679</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2014-03-31T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553907#M51680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Calum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied the components of your Fiddle into an index.html webpage to run from my server.&amp;nbsp; I thought I recomposed the components of the application correctly into a webpage, but it runs very slow.&amp;nbsp; Can you send the code in a format that I can directly copy it into a .html webpage?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know when the 3.9 api was released?&amp;nbsp; I looked around for a release date, but could not find one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 15:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553907#M51680</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2014-03-31T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with layer Defintion on Dynamic layers.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553908#M51681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having this exact issue with the 3.14 API and a custom geoprocessing service in ArcGIS Server 10.3.1 to print the map. When we set layer definitions on the Dynamic Layer it will display fine in the browser, but the PDF generated by the print service will not show the annotation layers at all for these layer definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you ever found what the problem is, or found a workaround we would love to know about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I'm wondering if this is a known bug and we should just move on for now, because we've already wasted a lot of time on this. Could there be a format issue between the for Web_Map_as_JSON json sent by the api and the REST service ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this image, you can see that the annotation layers 0 and 2 have been added to the visible layers of the Dynamic Layer. These annotations layer are not displayed at all in the PDF when we add the layer definitions shown.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-13_16-29-02.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131028_2015-10-13_16-29-02.png" style="width: 620px; height: 116px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 20:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-layer-defintion-on/m-p/553908#M51681</guid>
      <dc:creator>YohanBienvenue</dc:creator>
      <dc:date>2015-10-13T20:33:19Z</dc:date>
    </item>
  </channel>
</rss>

