Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
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

0 Replies