Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Not applicable

Extension - Access items properties

Hello

I´m trying to create a field type item (qLink) inside a measure for an extension. However I´m not capable to access this parameter from the hypercube

define( [], function ( ) {

  var palette = [

        "#b0afae",

        "#7b7a78",

        "#545352",

        "#4477aa",

        "#7db8da",

        "#b6d7ea",

        "#46c646",

        "#f93f17",

        "#ffcf02",

        "#276e27",

        "#ffffff",

        "#000000"

    ];

  return {

       type: "items",

       component: "accordion",

       items: {

       measures: {

       uses: "measures",

       min: 1,

       max: 50,

       items: {                                       

            qLink: {                           

                 type: "string",                 

                 ref: "qLink",                   

                 label: "Link da medida",

                 expression: "always",           

                 expressionType: "dimension"

            }

       }

  },

     ...

I have already tried:

this.backendApi.eachDataRow(function(rownum, row) {

     measurerows = row;

});

html +=measurerows[1].qMeasureInfo;

And

layout.qHyperCube.qDataPages[0].qMatrix[0]

However no success....

Anybody knows how to access this information?

Thanks for the help

Tags (1)
Community Browser