<?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: Rest connector getting data from a sharepoint list with paging (Pagination) in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1601561#M4168</link>
    <description>&lt;P&gt;Thank you, this was super helpful!&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 20:40:05 GMT</pubDate>
    <dc:creator>andoryuu</dc:creator>
    <dc:date>2019-07-11T20:40:05Z</dc:date>
    <item>
      <title>Rest connector getting data from a sharepoint list with paging (Pagination)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1519378#M3481</link>
      <description>&lt;P&gt;I want to post information&amp;nbsp;on how to load items from a sharepoint list with paging. I have searched for some time how to get the paging working in a sharepoint list and I eventually find it&amp;nbsp;out. So&amp;nbsp;that is why I wanted to share this with the community on how you can do that.&lt;/P&gt;&lt;P&gt;Let me start with describing the issue:&lt;/P&gt;&lt;P&gt;The issue with sharepoint is&amp;nbsp;that as a default it will load only&amp;nbsp;100 items even when you have more items in the list. You have actualy 2 solutions one being a temporary workaround if you have less than 5000 items&amp;nbsp;and the other a permanent solution with pagination that will work even over 5000 items.&lt;/P&gt;&lt;P&gt;SOLUTION 1 (Less than 5000 items, workaround):&lt;/P&gt;&lt;P&gt;1. You can add in the request url $top=5000 which will grab 5000 items. However when you have more than 5000 items this will NOT work anymore&lt;/P&gt;&lt;P&gt;example url &lt;A href="https://yoursite.sharepoint.com/_api/lists/getbytitle('SharePointList" target="_blank"&gt;https://yoursite.sharepoint.com/_api/lists/getbytitle('SharePointList&lt;/A&gt; List')/items?$top=5000 with query header Name:&amp;nbsp;Accept Value:&amp;nbsp;application/json;odata=verbose&lt;/P&gt;&lt;P&gt;SOLUTION 2 (Permanent solution works even over 5000 items)&lt;/P&gt;&lt;P&gt;You can enable pagination where it will keep on doing requests until it reaches the end of the list for example if you would use top100 it will get the next url until it reaches the end of the list.&lt;/P&gt;&lt;P&gt;Setup:&lt;/P&gt;&lt;P&gt;1. Add&amp;nbsp;an extra&amp;nbsp;parameter in the request url&amp;nbsp;to enable paging in SharePoint url: &lt;A href="https://yoursite.sharepoint.com/_api/lists/getbytitle('SharePointList" target="_blank"&gt;https://yoursite.sharepoint.com/_api/lists/getbytitle('SharePointList&lt;/A&gt; List')/items?$skiptoken=Paged=TRUE&amp;amp;$top=100&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Enable pagination in the&amp;nbsp;qlik rest connector&amp;nbsp;and select Next Url&amp;nbsp;with as parameter&amp;nbsp;d/__next&lt;BR /&gt;Do NOT enable Look in header.&lt;/P&gt;&lt;P&gt;3. With query header Name:&amp;nbsp;Accept Value:&amp;nbsp;application/json;odata=verbose&lt;/P&gt;&lt;P&gt;4. Save the connection and give it a try&lt;/P&gt;&lt;P&gt;5. Note you can also use top=5000 it will then do a request&amp;nbsp;per 5000 items.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 14:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1519378#M3481</guid>
      <dc:creator>ChristopheG</dc:creator>
      <dc:date>2021-12-23T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rest connector getting data from a sharepoint list with paging (Pagination)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1601561#M4168</link>
      <description>&lt;P&gt;Thank you, this was super helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1601561#M4168</guid>
      <dc:creator>andoryuu</dc:creator>
      <dc:date>2019-07-11T20:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Rest connector getting data from a sharepoint list with paging (Pagination)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1747890#M5433</link>
      <description>&lt;P&gt;Thank you, helped me a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 22:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Rest-connector-getting-data-from-a-sharepoint-list-with-paging/m-p/1747890#M5433</guid>
      <dc:creator>caiogil1</dc:creator>
      <dc:date>2020-09-28T22:48:35Z</dc:date>
    </item>
  </channel>
</rss>

