<?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: Limit on layerDefinitions Length? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13019#M1252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Solved.&amp;nbsp; I needed to change the virtual directory on each server to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/arcgisoutput/ instead of pointing it to the maps.adm.com domain.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2011 12:11:51 GMT</pubDate>
    <dc:creator>MarkHoover</dc:creator>
    <dc:date>2011-11-01T12:11:51Z</dc:date>
    <item>
      <title>Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13013#M1246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to apply a layer definition to a layer.&amp;nbsp; It works fine, universally, until the SQL string gets too long.&amp;nbsp; I don't know the exact character breaking point, but the length of the string is the only thing causing it to fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some length limit on this string for some reason?&amp;nbsp; Is this proxy related? (To my knowledge, the proxy page is set up properly).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The behavior I'm seeing when the string gets too long is that the layer does not update its features; it simply displays whatever it had been displaying prior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help/ideas on this,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 19:33:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13013#M1246</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-10-28T19:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13014#M1247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, this relates to URL length. Once you generate a URL over 2048 characters, the JS API switches to using the proxy. When you get a map image via a proxy, the proxy returns a URL to the image. For this to work, you need to enable a virtual output directory for your service (this is where the map image will be written).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are you seeing in firebug/chrome dev tools? Are you seeing a request to the proxy? What is the response from your server? Screen shots would be helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 19:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13014#M1247</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-28T19:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13015#M1248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By the virtual output directory in the service, are you referring to what I have defined in the screenshot?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I don't have install rights on my machine, so I'm relegated to IE.&amp;nbsp; I'll hunt for ways to get at the proxy request/response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 20:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13015#M1248</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-10-28T20:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13016#M1249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that should cover it. If you're using IE, give fiddler a shot to monitor http traffic:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.fiddler2.com/fiddler2/"&gt;http://www.fiddler2.com/fiddler2/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 20:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13016#M1249</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-28T20:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13017#M1250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I knew of Fiddler as well, but again--no install rights.&amp;nbsp; I'll get in touch with my IT department and have them install it.&amp;nbsp; Hopefully that will shed some light on this early next week.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help, I'll update this post once I know more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 20:26:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13017#M1250</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-10-28T20:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13018#M1251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, some new info about this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am seeing a 404 error.&amp;nbsp; The resource at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://maps.adm.com/" rel="nofollow" target="_blank"&gt;http://maps.adm.com/&lt;/A&gt;&lt;SPAN&gt;&amp;lt;insert file name here&amp;gt;.png does not exist if you try to hit it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;We have 2 load-balancing servers, 1 and 2, that handle all the requests made at the maps.adm.com domain.&amp;nbsp; When I went and checked the output directories of each of those, 1 did have the PNGs I was looking for, while 2 did not.&amp;nbsp; Browsing to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server1&amp;gt;/&amp;lt;insert file name here&amp;gt;.png did take me to the intended image.&amp;nbsp; Browsing to the same spot under the maps.adm.com domain or the &amp;lt;server2&amp;gt; domain gives me a 404.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The request within my application is being posted to maps.adm.com instead, and it doesn't have the file.&amp;nbsp; This may be a case of the Output Directories being set up incorrectly?&amp;nbsp; The attachment provides a look at 1's set up at the server level.&amp;nbsp; 2 has the same setup, with the obvious exception that all 1s are replaced by 2s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is something about this incorrect?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 19:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13018#M1251</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-10-31T19:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13019#M1252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Solved.&amp;nbsp; I needed to change the virtual directory on each server to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/arcgisoutput/ instead of pointing it to the maps.adm.com domain.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 12:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13019#M1252</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-11-01T12:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on layerDefinitions Length?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13020#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you got it sorted!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 13:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-on-layerdefinitions-length/m-p/13020#M1253</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-11-01T13:48:18Z</dc:date>
    </item>
  </channel>
</rss>

