<?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: Legend element isOverflowing property is not working properly in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879064#M5025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also having this problem. Works in the Map Documents as a local script but not as a GP Service. Did you ever find a solution to it? I'm using ArcGIS Server 10.7.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2019 00:40:15 GMT</pubDate>
    <dc:creator>KeithMiller3</dc:creator>
    <dc:date>2019-12-06T00:40:15Z</dc:date>
    <item>
      <title>Legend element isOverflowing property is not working properly</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879062#M5023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp;have a&amp;nbsp;very strange problem with printing workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplified workflow is that I am printing web map with template for legend. With arpcy.mapping.MapDocument.isOverflowing I am checking, if legend overflows, and if it overflows, I am trying to use template with bigger frame for legend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the isOverlowing value doesn’t work correctly when the script is run from geoprocessing service. If I&amp;nbsp;run the script as a&amp;nbsp;geoprocessing service, I&amp;nbsp;can see in the resulting messages and server log, that the isOverlowing property was equal to false. However if I&amp;nbsp;save the map document I&amp;nbsp;can see the three red dots indicating that legend is overflowing and legend is indeed overflowing. Strangely enough, if I&amp;nbsp;run the same script as a&amp;nbsp;script within IDLE, with the same parameters, same version on python, on the very same server the geoprocessing services was run, I&amp;nbsp;can see in the messages that the isOverflowing property was correctly equal to true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simplified script and sample mxd are enclosed. All you need is to set mxdPath on 3th line to path for enclosed mxd document and give it a try. The isOverflowing property value is indicated in messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running with ArcGIS for Server 10.6.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea, why it is different with geoprocessing service, or any suggestion how to fix it would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 09:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879062#M5023</guid>
      <dc:creator>matuskajba</dc:creator>
      <dc:date>2019-10-24T09:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Legend element isOverflowing property is not working properly</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879063#M5024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exaktly the same question here!&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using custom print-script locally: No problem&lt;/LI&gt;&lt;LI&gt;Using custom print-script published as GP-Service on ArcGIS Server 10.6: Does not recognize "isOverflowing".&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any ideas welcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 07:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879063#M5024</guid>
      <dc:creator>FlorianSteiner</dc:creator>
      <dc:date>2019-10-25T07:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Legend element isOverflowing property is not working properly</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879064#M5025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also having this problem. Works in the Map Documents as a local script but not as a GP Service. Did you ever find a solution to it? I'm using ArcGIS Server 10.7.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 00:40:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879064#M5025</guid>
      <dc:creator>KeithMiller3</dc:creator>
      <dc:date>2019-12-06T00:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Legend element isOverflowing property is not working properly</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879065#M5026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately not. I have reported the problem to our local esri distributor, but I didn't get any response, so I don't event know, if this was reported to esri as a bug.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 04:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/legend-element-isoverflowing-property-is-not/m-p/879065#M5026</guid>
      <dc:creator>matuskajba</dc:creator>
      <dc:date>2019-12-06T04:07:39Z</dc:date>
    </item>
  </channel>
</rss>

