<?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: Embedded visuals in Blazor server - Result too large in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Embedded-visuals-in-Blazor-server-Result-too-large/m-p/2128658#M19310</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74474"&gt;@catalin&lt;/a&gt;&lt;/SPAN&gt; , not totally clear here you question. Do you have "Result too large" error in Qlik Sense app as well? It should be a Qlik Sense app issue if you are just showing visualizations with app.getObject method from Capability APIs.&lt;/P&gt;
&lt;P&gt;About getting data, you can retrieve raw data behind a visualization using getObject and then getHypercubeData method&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 07:57:21 GMT</pubDate>
    <dc:creator>alex_colombo</dc:creator>
    <dc:date>2023-10-16T07:57:21Z</dc:date>
    <item>
      <title>Embedded visuals in Blazor server - Result too large</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Embedded-visuals-in-Blazor-server-Result-too-large/m-p/2125416#M19266</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;With the help of capability API, I'm rendering a QS visual (e.g.: a table or a pivot table ) in a razor page.&lt;/P&gt;
&lt;P&gt;It seems straightforward, the results are almost successful apart from large objects when I encounter the Result too large error.&lt;/P&gt;
&lt;P&gt;Basically, it boils down after all the boilerplate to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var object = app.getObject("html_div_for_object", objectId);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how should I retrieve these large objects that output the "Result too large" error, or calculate/retrieve its data, in order to render it with the same method that CapabilityAPI provides getObject?&lt;/P&gt;
&lt;P&gt;LE: I know about the 10k limitation of a data page so I've tried something like this. It seems no of&amp;nbsp; pages are retrieved correctly, but no data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;var pageSize = 100;
var totalPages;
var layout = null;

function retrieveDataPage(page) {
    app.getObject("html_div_for_object", objectId).then(function(model) {
        try {
            var pageOffset = (page - 1) * pageSize;
            var requestPage = [{
                qTop: 0,
                qLeft: 0,
                qWidth: layout.qHyperCube.qSize.qcx,
                qHeight: pageSize,
            }];

        } catch (err) {
            console.log("err", err);
        }

    });
}

app.getObject("html_div_for_object", objectId).then(function(model) {
    model.getLayout().then(function(returnedLayout) {
        layout = returnedLayout;
        var totalDataCount = layout.qHyperCube.qSize.qcy;
        totalPages = Math.ceil(totalDataCount / pageSize);
        console.log("totalPages", totalPages);
        retrieveDataPage(1);
    });
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 07:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Embedded-visuals-in-Blazor-server-Result-too-large/m-p/2125416#M19266</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2023-10-05T07:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded visuals in Blazor server - Result too large</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Embedded-visuals-in-Blazor-server-Result-too-large/m-p/2128658#M19310</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/74474"&gt;@catalin&lt;/a&gt;&lt;/SPAN&gt; , not totally clear here you question. Do you have "Result too large" error in Qlik Sense app as well? It should be a Qlik Sense app issue if you are just showing visualizations with app.getObject method from Capability APIs.&lt;/P&gt;
&lt;P&gt;About getting data, you can retrieve raw data behind a visualization using getObject and then getHypercubeData method&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 07:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Embedded-visuals-in-Blazor-server-Result-too-large/m-p/2128658#M19310</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2023-10-16T07:57:21Z</dc:date>
    </item>
  </channel>
</rss>

