Skip to main content
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
Showing results for 
Search instead for 
Did you mean: 

Create extension setting to take in value from variable

I am editing an extension and I'd like to make a setting able to take in a variable...

return {

type: "items",

   component: "accordion",

   items: {

   dimensions: {

    uses: "dimensions",

    min: 0,

    max: 0


measures: {

   uses: "measures",

    min: 1,

   max: 1


sorting: {

    uses: "sorting"


settings: {

     maxValue: {

            type: "integer",

            ref: "maxValue",

            label: "maxValue",

           defaultValue: 100


that gives this...

Ext fill gauge.PNG

I need to be able to put a variable in instead of 100... maxValue would equal $(vMAXVal).

Also, how does the d3 code behind detect when a change has been made on the front, like when I change the 100 to 1000? im used to using 'onchange' or 'onhover' in the javascript, but d3 with qlik probably has its own method for detecting when somethings been changed.

how does the d3 access the new number or variable that has been set for maxValue in the code behind?

Thank you for helping this noob!

1 Reply


You need to set expression optional String property definition ‒ Qlik Sense. This also means you need to have a strikt property.

Hope this helps

Erik Wetterberg