<?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: Setting up a &amp;quot;Next Page&amp;quot; Pagination Type through the REST Connector in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1612663#M11104</link>
    <description>&lt;P&gt;The total_pages field should exist in the 'root' level. If it doesn't exist you can Data Indicator Path instead and point it at a field you know should not be empty, like review_id or similar.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 22:59:45 GMT</pubDate>
    <dc:creator>treysmithdev</dc:creator>
    <dc:date>2019-08-14T22:59:45Z</dc:date>
    <item>
      <title>Setting up a "Next Page" Pagination Type through the REST Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1612547#M11100</link>
      <description>&lt;P&gt;I am trying to set up pagination for an API from Reviews.io.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The information I have from them is this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;The maximum per page size is 250 (per_page)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;there is a property at the top level of the json object for Total Pages (total_pages)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;There is also a page identifier (page)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pagination.PNG" style="width: 475px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17016iDD4B9208135C072F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pagination.PNG" alt="pagination.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Here is a sample of the URL I am using:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://api.reviews.co.uk/merchant/reviews?store=-StoreName&amp;amp;min_date=2019-01-01&amp;amp;max_date=2019-08-05&amp;amp;per_page=250&amp;amp;page=1&amp;amp;apikey=123456789" target="_blank" rel="noopener"&gt;https://api.reviews.co.uk/merchant/reviews?store=-StoreName&amp;amp;min_date=2019-01-01&amp;amp;max_date=2019-08-05&amp;amp;per_page=250&amp;amp;page=1&amp;amp;apikey=123456789&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After selecting the data, this is how it is formatted&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data format.PNG" style="width: 177px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17017iC5D5368C2268A3BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="data format.PNG" alt="data format.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The reviews section holds the actual data, and from what I've seen about Page type pagination I need to find out where the total_pages is being held. I've looked into the stats section, but these are the only fields available:&lt;/P&gt;
&lt;P&gt;Stat columns:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stat columns.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/17018iD43058C7A0533E99/image-size/large?v=v2&amp;amp;px=999" role="button" title="stat columns.PNG" alt="stat columns.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm assuming that I need to change the format of my URL. Can anyone help me figure this out?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 18:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1612547#M11100</guid>
      <dc:creator>laurenwagner</dc:creator>
      <dc:date>2021-08-13T18:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a "Next Page" Pagination Type through the REST Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1612663#M11104</link>
      <description>&lt;P&gt;The total_pages field should exist in the 'root' level. If it doesn't exist you can Data Indicator Path instead and point it at a field you know should not be empty, like review_id or similar.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 22:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1612663#M11104</guid>
      <dc:creator>treysmithdev</dc:creator>
      <dc:date>2019-08-14T22:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a "Next Page" Pagination Type through the REST Connector</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1614436#M11147</link>
      <description>&lt;P&gt;That seemed to work. I found all of the variables exist at the root level, so I referenced them in the pagination section. It looks like the script will begin to load, but it never executes. I've let it run multiple times for over an hour (the example I pasted was only running for ~10 minutes), but nothing ever happens. Any thoughts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 17:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Setting-up-a-quot-Next-Page-quot-Pagination-Type-through-the/m-p/1614436#M11147</guid>
      <dc:creator>laurenwagner</dc:creator>
      <dc:date>2019-08-20T17:04:59Z</dc:date>
    </item>
  </channel>
</rss>

