<?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: Paging results in Popup class in JS API 3.4 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572854#M53521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; That's a good tip - I just tried doing that and it still didn't work for me.&amp;nbsp; Would you mind posting your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 16:30:27 GMT</pubDate>
    <dc:creator>Jay_Gregory</dc:creator>
    <dc:date>2013-05-07T16:30:27Z</dc:date>
    <item>
      <title>Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572849#M53516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have never understood how to implement a paging infoWindow using the Popup class in any of the infoWindows?&amp;nbsp; Now that popups are the default infoWindow for v 3.4 of the JS API, I was wondering if someone could post some code on how to ensure that the infoWindow / popup will have paging options when click on a location with multiple markers.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 19:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572849#M53516</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2013-05-06T19:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572850#M53517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also wondering same thing here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 11:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572850#M53517</guid>
      <dc:creator>MartynSmith</dc:creator>
      <dc:date>2013-05-07T11:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572851#M53518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I never really thought about it, but the paging is set up by the number of features associated with the popup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://developers.arcgis.com/en/javascript/jsapi/popup.html#setFeatures"&gt;http://developers.arcgis.com/en/javascript/jsapi/popup.html#setFeatures&lt;/A&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When setFeatures is used the title area displays the number of features and the index of the currently selected feature and ignores the title defined in the info template. If you want to display title text you will need to specify it as part of the info window content. &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Think like on an Identify function; you grab multiple features and set their infoTemplate content and stuff those features into a popup via setFeatures, then use show() to display it somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572851#M53518</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2013-05-07T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572852#M53519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was under the impression that all this was handled under the hood, and no real additional coding was necessary.&amp;nbsp; Otherwise you'd have to set a search radius and loop through all the results to show in the popup right?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried following the demo at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/widget_popupfl.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/widget_popupfl.html&lt;/A&gt;&lt;SPAN&gt; and I still don't get paging...but the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/popup.html"&gt;Popup dijit reference page&lt;/A&gt;&lt;SPAN&gt; shows properties "pagingControls" and "pagingInfo" (both default to true), that should elegantly handle the paging, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:33:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572852#M53519</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2013-05-07T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572853#M53520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did find a resolution to my issue.&amp;nbsp; For me, changing the feature layer selection mode from "MODE_SELECTION" to "MODE_SNAPSHOT" enabled paging in the popup for me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572853#M53520</guid>
      <dc:creator>MartynSmith</dc:creator>
      <dc:date>2013-05-07T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572854#M53521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; That's a good tip - I just tried doing that and it still didn't work for me.&amp;nbsp; Would you mind posting your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572854#M53521</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2013-05-07T16:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572855#M53522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jay-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a json feature collection to populate a feature layer.&amp;nbsp; Similar to the example shown here (except this is using an ArcGIS server feature layer):&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/fl_popup.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/fl_popup.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572855#M53522</guid>
      <dc:creator>MartynSmith</dc:creator>
      <dc:date>2013-05-07T16:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572856#M53523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; I got it working - I had to add a FeatureLayer twice - one in selection mode with the popup template to handle the query and infoWindow contents, and a second time in ONDEMAND mode to simply show the data when one loads the map.&amp;nbsp; Seems a bit unnecessary that I have to add the same layer twice to handle this functionality, but if that is the preferred way to do it then so be it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 16:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572856#M53523</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2013-05-07T16:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572857#M53524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad you got it working.&amp;nbsp; The API documentation for FeatureLayer needs some work to say the least.&amp;nbsp; I just got there by trial and error my self.&amp;nbsp; You'l see in the sample they add the layer twice as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 17:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572857#M53524</guid>
      <dc:creator>MartynSmith</dc:creator>
      <dc:date>2013-05-07T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Paging results in Popup class in JS API 3.4</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572858#M53525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Glad you got it working.&amp;nbsp; The API documentation for FeatureLayer needs some work to say the least.&amp;nbsp; I just got there by trial and error my self.&amp;nbsp; You'l see in the sample they add the layer twice as well.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this affect the AGS JS TOC, and list it twice there? If so and that is indeed how it's designed as of now in the API, that would be important to fix in API 3.5+. Many of us here use AGS JS TOC! :cool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my current site I am using Identify from the Sample code which seems to have this built in. But on our other site I added everything as feature layers, in 3.3, and used Query Task with search radius. Added each only once. I was also surprised no paging was there. Wasn't sure why and this was on a research to do list.. Thank you to everyone that posted here! I will also try this workaround eventually for our other site, post whether it works for us!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 18:37:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/paging-results-in-popup-class-in-js-api-3-4/m-p/572858#M53525</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2013-05-07T18:37:10Z</dc:date>
    </item>
  </channel>
</rss>

