<?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: Qlikview REST connector pagination XML in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047963#M1232937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't imagine that nobody has an answer on my question ... ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 15:08:15 GMT</pubDate>
    <dc:creator>petercappelle</dc:creator>
    <dc:date>2016-02-11T15:08:15Z</dc:date>
    <item>
      <title>Qlikview REST connector pagination XML</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047962#M1232936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a XML file that is on somewebsite and looks in a way like this (confidential parts stripped:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14545774482512362" jivemacro_uid="_14545774482512362" modifiedtitle="true"&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;lt;feed xml:base="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://somewebsite.com/crm/" rel="nofollow" target="_blank"&gt;https://somewebsite.com/crm/&lt;/A&gt;‌‌&lt;SPAN&gt;" xmlns:d="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/ado/2007/08/dataservices" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices&lt;/A&gt;&lt;SPAN&gt;" xmlns:m="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&lt;/A&gt;&lt;SPAN&gt;" xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2005/Atom" rel="nofollow" target="_blank"&gt;http://www.w3.org/2005/Atom&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;title type="text"&amp;gt;Accounts&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/id&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;updated&amp;gt;2016-02-04T08:36:56Z&amp;lt;/updated&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;link rel="self" title="Accounts" href="Accounts" /&amp;gt;&lt;/P&gt;
&lt;P class="line" style="color: #000000; font-family: monospace; font-size: 13px;"&gt;&amp;lt;entry&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title type="text"&amp;gt;&amp;lt;/title&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;updated&amp;gt;2016-02-04T08:36:56Z&amp;lt;/updated&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;author&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/author&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content type="application/xml"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;m:properties&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:Type&amp;gt;A&amp;lt;/d:Type&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:UniqueTaxpayerReference m:null="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:VATLiability m:null="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:VATNumber m:null="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;d:Website m:null="true" /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/m:properties&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/content&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;/entry&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;link rel="next" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://somewebsite.com/Accounts?$skiptoken=guid'ee6bc390-a8ac-4bbd-8a4d-0a1f04ab9bd3" rel="nofollow" target="_blank"&gt;https://somewebsite.com/Accounts?$skiptoken=guid'ee6bc390-a8ac-4bbd-8a4d-0a1f04ab9bd3&lt;/A&gt;&lt;SPAN&gt;'" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/feed&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use the new Rest connector to get the data out of this XML file.&lt;/P&gt;&lt;P&gt;The XML has pagination and every 60 entries you can load the next 60 with the link &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;at the bottom of this xml file. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem i have is when, in the REST connector, we want to enable pagination with these setting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;SPAN class="ui_item" style="font-weight: bold;"&gt;Pagination Type&lt;/SPAN&gt;: &lt;SPAN class="ui_item" style="font-weight: bold;"&gt;Next URL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;SPAN class="ui_item" style="font-weight: bold;"&gt;Next URL field path&lt;/SPAN&gt;: /*[name()="feed"]/*[name()="link"][contains(@rel,"next")]/@href&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;It doesn't seem to work...&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;EM&gt;side note: the XML file has namespaces so i need to target the elements this way instead of /feed/link/... &lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;I'm using Xpath syntax to target the link href, but maybe this is not the way to go? Or maybe the REST connector isn't using Xpath syntax?&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;Really hope someone can help me!&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;/P&gt;&lt;P style="color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;Regards Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047962#M1232936</guid>
      <dc:creator>petercappelle</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview REST connector pagination XML</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047963#M1232937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't imagine that nobody has an answer on my question ... ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 15:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047963#M1232937</guid>
      <dc:creator>petercappelle</dc:creator>
      <dc:date>2016-02-11T15:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview REST connector pagination XML</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047964#M1232939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually it turns out that this seems to be due to a "bug" in the &lt;STRONG&gt;&lt;EM&gt;Qlik REST Connector 1.0&lt;/EM&gt;&lt;/STRONG&gt; so the pagination doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But there is a fix for it:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1)&lt;/STRONG&gt; Make sure that the Qlik REST Connector 1.0 connect dialog box has the &lt;STRONG&gt;NextUrl&lt;/STRONG&gt; set to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;feed/link/attr:href&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2)&lt;/STRONG&gt; When the SQL has been generated after using the SELECT-button and going through the wizard you have to modify the sub-SELECT that reads like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14556949189352169 jive_text_macro" jivemacro_uid="_14556949189352169"&gt;
&lt;P style="padding-left: 30px;"&gt;.....&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;(SELECT&lt;/P&gt;
&lt;P style="padding-left: 60px;"&gt;"attr:rel" AS "rel",&lt;/P&gt;
&lt;P style="padding-left: 60px;"&gt;"attr:title" AS "title",&lt;/P&gt;
&lt;P style="padding-left: 60px;"&gt;"attr:href" &lt;STRONG&gt;AS href&lt;/STRONG&gt;,&lt;/P&gt;
&lt;P style="padding-left: 60px;"&gt;"__FK_link"&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;FROM "link" FK "__FK_link"),&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;.....&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On line 05 you will have to &lt;SPAN style="text-decoration: underline;"&gt;remove&lt;/SPAN&gt; the text &lt;STRONG&gt;AS href.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14556951774851663" jivemacro_uid="_14556951774851663"&gt;
&lt;P&gt;.....&lt;/P&gt;
&lt;P&gt;(SELECT&lt;/P&gt;
&lt;P&gt;"attr:rel" AS "rel",&lt;/P&gt;
&lt;P&gt;"attr:title" AS "title",&lt;/P&gt;
&lt;P&gt;"attr:href",&lt;/P&gt;
&lt;P&gt;"__FK_link"&lt;/P&gt;
&lt;P&gt;FROM "link" FK "__FK_link"),&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt; font-size: 16px; font-family: 'Times New Roman', serif; color: #000000;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma, sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt; font-size: 16px; font-family: 'Times New Roman', serif; color: #000000;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Tahoma, sans-serif;"&gt;&lt;STRONG&gt;3)&lt;/STRONG&gt; Find the LOAD statement that loads from this sub-select with a RESIDENT [MasterREST further down in the load script and make sure that the reference to href is changed to [attr:href] - or else you will get an error message while loading. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt; font-size: 16px; font-family: 'Times New Roman', serif; color: #000000;"&gt;&lt;SPAN style="font-family: Tahoma, sans-serif; font-size: 10pt; line-height: 1.5em;"&gt;Should look like this after the change:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14556955855821523 jive_text_macro" jivemacro_uid="_14556955855821523"&gt;
&lt;P&gt;[link]:&lt;/P&gt;
&lt;P&gt;LOAD [rel],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [title],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [attr:href],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [__FK_link] AS [__KEY_feed]&lt;/P&gt;
&lt;P&gt;RESIDENT RestConnectorMasterTable&lt;/P&gt;
&lt;P&gt;WHERE NOT IsNull([__FK_link]);&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 07:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-REST-connector-pagination-XML/m-p/1047964#M1232939</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-17T07:56:51Z</dc:date>
    </item>
  </channel>
</rss>

