Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

gregory_longe
New Contributor III

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
Employee
Employee

Re: GetData on 2nd hypercube

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

Community Browser