<?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: QlikSense .NET SDK - GetHyperCubePager - pageTransform:=Pager.Next error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1585091#M10649</link>
    <description>&lt;P&gt;Hi! I don't know much about Visual Basic, but "Pager.Next" is a function. I'm not sure what the best way to pass functions as arguments is i in VB, but at least it seems to compile if you write like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;Dim DataPages = qsPager.IteratePages({rowsPerPage}, pageTransform:=Function(p) Pager.Next(p))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 12:54:45 GMT</pubDate>
    <dc:creator>Øystein_Kolsrud</dc:creator>
    <dc:date>2019-05-27T12:54:45Z</dc:date>
    <item>
      <title>QlikSense .NET SDK - GetHyperCubePager - pageTransform:=Pager.Next error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1584721#M10640</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to iterate through a hypercube's pages and I am getting this error in VB. NET:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Argument not specified for parameter 'nxPages' of 'Public Shared Overloads Function [Next](nxPages As IEnumerable(Of NxPage)) As IEnumerable(Of NxPage)'.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code used is ( courtesy of &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Integration/Qliksense-SDK-GetHyperCubeContinuousData-how-to-use/td-p/1264474" target="_blank" rel="noopener"&gt;this blog post )&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim obj As Qlik.Sense.Client.Visualizations.Table = app.GetObject(Of Qlik.Sense.Client.Visualizations.Table)(objectid)                    
Dim qsPager = obj.GetHyperCubePager("/qHyperCubeDef")
Dim qsWidth = qsPager.NumberOfColumns
Dim qsHeight = qsPager.NumberOfRows
Dim maxHeight = CInt((10000 / qsWidth))
Dim pageHeight = Math.Min(qsHeight, maxHeight)
Dim rowsPerPage = New NxPage With {
                                    .Top = 0,
                                    .Left = 0,
                                     .Width = qsWidth,
                                     .Height = pageHeight
                                                        }
Dim DataPages As IEnumerable(Of IEnumerable(Of NxDataPage)) = qsPager.IteratePages({rowsPerPage}, pageTransform:=Pager.Next)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has any idea of what's going on? Any help or hint will be appreciated. Thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Catalin&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1584721#M10640</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2024-11-16T05:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDK - GetHyperCubePager - pageTransform:=Pager.Next error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1584903#M10646</link>
      <description>&lt;P&gt;I was wondering, could it be because my object is Table type?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt; Dim obj As Qlik.Sense.Client.Visualizations.Table = app.GetObject(Of Qlik.Sense.Client.Visualizations.Table)(objectid)
 Dim qsPager = obj.GetHyperCubePager("/qHyperCubeDef")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameter for Pager.Next, according to the docs, is a collection of NxPages. But isn't the collection defined at this point:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim DataPages As IEnumerable(Of IEnumerable(Of NxDataPage)) = qsPager.IteratePages({rowsPerPage}, Pager.Next)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 06:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1584903#M10646</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2019-05-27T06:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDK - GetHyperCubePager - pageTransform:=Pager.Next error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1585091#M10649</link>
      <description>&lt;P&gt;Hi! I don't know much about Visual Basic, but "Pager.Next" is a function. I'm not sure what the best way to pass functions as arguments is i in VB, but at least it seems to compile if you write like this:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;Dim DataPages = qsPager.IteratePages({rowsPerPage}, pageTransform:=Function(p) Pager.Next(p))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 12:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1585091#M10649</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2019-05-27T12:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense .NET SDK - GetHyperCubePager - pageTransform:=Pager.Next error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1585105#M10650</link>
      <description>Tks a lot!!</description>
      <pubDate>Mon, 27 May 2019 13:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QlikSense-NET-SDK-GetHyperCubePager-pageTransform-Pager-Next/m-p/1585105#M10650</guid>
      <dc:creator>catalin</dc:creator>
      <dc:date>2019-05-27T13:30:20Z</dc:date>
    </item>
  </channel>
</rss>

