<?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: Qlik Extension: Get all data for field in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1729302#M13041</link>
    <description>&lt;P&gt;The limitation of 10000 cells is for each getHyperCubeData call, so building up a page array will not help you. You need to make multiple calls &amp;nbsp;instead. But should you really do this? What happens &amp;nbsp;if there are millions of rows?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 17:10:33 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2020-07-20T17:10:33Z</dc:date>
    <item>
      <title>Qlik Extension: Get all data for field</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1676159#M12348</link>
      <description>&lt;P&gt;Hello again guys!&lt;BR /&gt;&lt;BR /&gt;My quest on building an extension for advanced filters continues. Now I want to get all data by field.&lt;/P&gt;&lt;P&gt;For now, my code looks like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const getDataByField = function (app, fieldName) {
    return new Promise((resolve, reject) =&amp;gt; {
        // We'll create a table, which we'll then take hypercube data from
        var table = app.createTable([fieldName], [], {});
        table.OnData.bind(function () {
            // Create an array of pages to retrieve
            var pageArray = [];
            for (let i = 0; i &amp;lt; 1; i++) {
                pageArray.push({qTop: 10000 * i, qLeft: 0, qWidth: 1, qHeight: 10000 * (i + 1) - 1});
            }

            // Set up the main retrieve
            table.model.getHyperCubeData('/qHyperCubeDef', pageArray).then(function (data) {
                let rows = data[0].qMatrix;

                var outputList = [];
                rows.forEach(function (row) {
                    outputList.push(row[0].qText);
                });

                // Kill the imaginary table
                table.OnData.unbind();
                app.destroySessionObject(table.model.id);

                resolve(outputList);
            })
        })
    })
};&lt;/LI-CODE&gt;&lt;P&gt;But I'm limited to 10k rows. It looks like&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/November2019/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/FieldAPI/getMoreData-method.htm#anchor-4" target="_self"&gt;qlik.app.field.getMoreData()&lt;/A&gt; might be what I'm looking for, but the docs have zero info &lt;span class="lia-unicode-emoji" title=":crying_face:"&gt;😢&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any tips?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1676159#M12348</guid>
      <dc:creator>savandriy</dc:creator>
      <dc:date>2024-11-16T03:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Extension: Get all data for field</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1728098#M13021</link>
      <description>&lt;P&gt;Does anyone have any idea how to achieve this? The question is still relevant &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 15:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1728098#M13021</guid>
      <dc:creator>savandriy</dc:creator>
      <dc:date>2020-07-15T15:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Extension: Get all data for field</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1729302#M13041</link>
      <description>&lt;P&gt;The limitation of 10000 cells is for each getHyperCubeData call, so building up a page array will not help you. You need to make multiple calls &amp;nbsp;instead. But should you really do this? What happens &amp;nbsp;if there are millions of rows?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 17:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Extension-Get-all-data-for-field/m-p/1729302#M13041</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2020-07-20T17:10:33Z</dc:date>
    </item>
  </channel>
</rss>

