<?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: Trying to auto refresh map services in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284589#M26232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the insight. I finally got it working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 18:54:28 GMT</pubDate>
    <dc:creator>DeannaIrving</dc:creator>
    <dc:date>2013-05-15T18:54:28Z</dc:date>
    <item>
      <title>Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284587#M26230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm am very new to javascript programming and am trying to autorefresh some layers in my web map. I've attached my code...any insight would be extremely helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 17:40:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284587#M26230</guid>
      <dc:creator>DeannaIrving</dc:creator>
      <dc:date>2013-05-14T17:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284588#M26231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The logic looks right. Some things to look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The syntax of setInterval function: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3schools.com/jsref/met_win_setinterval.asp" rel="nofollow" target="_blank"&gt;http://www.w3schools.com/jsref/met_win_setinterval.asp&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Make sure you understand the variable scope in JavaScript: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://stackoverflow.com/questions/500431/javascript-variable-scope" rel="nofollow" target="_blank"&gt;http://stackoverflow.com/questions/500431/javascript-variable-scope&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;In your code, you cannot access those layers which you created in another function, because they are the local variables. You can either set them as global variables, (normally, you should avoid doing so), or pass it as an argument.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 20:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284588#M26231</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-14T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284589#M26232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the insight. I finally got it working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 18:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284589#M26232</guid>
      <dc:creator>DeannaIrving</dc:creator>
      <dc:date>2013-05-15T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284590#M26233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the insight. I finally got it working.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Deanna,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you mean to mark your post as the answer to this thread? If anything, it seems like Jian's post is more appropriate to be marked as the answer for this thread. If his post didn't help, please add specifics to your post about what you did to address your problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 19:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284590#M26233</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-05-15T19:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284591#M26234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry about that, I should not have checked my response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 11:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284591#M26234</guid>
      <dc:creator>DeannaIrving</dc:creator>
      <dc:date>2013-05-16T11:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to auto refresh map services</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284592#M26235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for fixing!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 13:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-auto-refresh-map-services/m-p/284592#M26235</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-05-16T13:05:35Z</dc:date>
    </item>
  </channel>
</rss>

