<?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: Custom connector to API with pagination in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-connector-to-API-with-pagination/m-p/2471927#M35652</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="63026" data-lia-user-login="Jonas1" class="lia-mention lia-mention-user"&gt;Jonas1&lt;/a&gt;, were you able to accomplish this?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2022 15:16:57 GMT</pubDate>
    <dc:creator>DHCookTech</dc:creator>
    <dc:date>2022-04-22T15:16:57Z</dc:date>
    <item>
      <title>Custom connector to API with pagination</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-connector-to-API-with-pagination/m-p/741899#M20017</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currentely trying to build a custom connector to an API using pagination. I have understood that I need to use&amp;nbsp;&lt;SPAN&gt;Table.GenerateByPage(), however there are not any examples on how to do this for APIs that are not OData-ready.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I receive the folowing metadata when the current page is not the current page:&lt;BR /&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And this if I am on the last page:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So how do refer to the url marked &amp;lt;Link rel="next"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The code when dealing with OData.Nextlink would typically begin like this:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Page = (url as text) as nullable table =&amp;gt;
    let
        response = Web.Contents(url, [ Headers = BuildHeader()]),
        body = Json.Document(response),
        nextLink = GetNextLink(body),
        data = Table.FromRecords(body[next])
    in
        data meta [next = nextLink];&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;But what can I write instead of GetNextLink()?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 08:10:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-connector-to-API-with-pagination/m-p/741899#M20017</guid>
      <dc:creator>Jonas1</dc:creator>
      <dc:date>2019-07-17T08:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom connector to API with pagination</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-connector-to-API-with-pagination/m-p/2471927#M35652</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="63026" data-lia-user-login="Jonas1" class="lia-mention lia-mention-user"&gt;Jonas1&lt;/a&gt;, were you able to accomplish this?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:16:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-connector-to-API-with-pagination/m-p/2471927#M35652</guid>
      <dc:creator>DHCookTech</dc:creator>
      <dc:date>2022-04-22T15:16:57Z</dc:date>
    </item>
  </channel>
</rss>

