<?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 Print Map with Layer Definition in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-map-with-layer-definition/m-p/706272#M65722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to print with a definition query. It not works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've downloaded this sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_print"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_print&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and tried to apply a definition query on the census block layer. It works perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem might be my layer or something on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something that must be done on the layer in order to print it with a definition query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found the problem. I think it is a &lt;/SPAN&gt;&lt;STRONG&gt;BUG&lt;/STRONG&gt;&lt;SPAN&gt; of ArcGis Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MapServer has enabled the option &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;'Allow per request modification of layer order and symbology'&lt;/SPAN&gt;&lt;SPAN&gt;. After disabling it I can print with the layer definition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 13:54:21 GMT</pubDate>
    <dc:creator>MarcoBrugna</dc:creator>
    <dc:date>2013-02-26T13:54:21Z</dc:date>
    <item>
      <title>Print Map with Layer Definition</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-map-with-layer-definition/m-p/706272#M65722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to print with a definition query. It not works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've downloaded this sample:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_print"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_print&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and tried to apply a definition query on the census block layer. It works perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem might be my layer or something on the server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something that must be done on the layer in order to print it with a definition query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found the problem. I think it is a &lt;/SPAN&gt;&lt;STRONG&gt;BUG&lt;/STRONG&gt;&lt;SPAN&gt; of ArcGis Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The MapServer has enabled the option &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;'Allow per request modification of layer order and symbology'&lt;/SPAN&gt;&lt;SPAN&gt;. After disabling it I can print with the layer definition.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-map-with-layer-definition/m-p/706272#M65722</guid>
      <dc:creator>MarcoBrugna</dc:creator>
      <dc:date>2013-02-26T13:54:21Z</dc:date>
    </item>
  </channel>
</rss>

