Skip to main content

Integration, Extension & APIs

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

QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
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