Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

GetData on 2nd hypercube

All,

I have an extension in which I define 2 hypercubes in the initial properties:

initialProperties: {

            qHyperCubeDef: {

               qDimensions: [],

               qMeasures: [],

               qStateName: "$"

             },

             cubeAlt: {

               qHyperCubeDef: {

                    qDimensions: [],

                    qMeasures: [],

                    qStateName: "altState"

               }

             }

The problem is that my dataset contains more than 10.000 cells. For the standard hypercube of an extension, you can retrieve the remaining part of the data by means of paging (e.g. sensUtils.pageExtensionData). How can I achieve the same for the 2nd cube 'cubeAlt'? Using this.backendApi.getData seems always to refer to the standard hypercube and I don't see how to change the reference.

Note: I would like to prevent using the Mashup API (getObject -> get HyperCubeData) because I noticed that using the Mashup API in Qlik Sense Desktop results in multiple calls of the paint function (has been reported by others as well).

Thanks in advance,

Gregory

1 Reply
Francis_Kabinoff
Former Employee
Former Employee

You can probably find the GetHyperCubeData‌ method on the model, something like backendApi.model.getHyperCubeData