Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Highlighted
bekahbeets2003
Contributor

How do the extensions detect a change in the code behind?

I am using d3 to edit an extension. I want to build a new extension, but I do not know what signals the code behind that a user has made a change to a setting in a side panel. For instance, if a maxValue is in the side panel, how does the code behind detect that the user changed the number?

Any tutorials or videos or answers that would show me that code would be great!

#extensionsnoob

1 Solution

Accepted Solutions
ErikWetterberg
Honored Contributor

Re: How do the extensions detect a change in the code behind?

Just write your rendering code in the paint method, using the values in the layout, and it will be called when needed.

Erik

3 Replies
ErikWetterberg
Honored Contributor

Re: How do the extensions detect a change in the code behind?

Hi,

When the user changes a property it is sent to the engine. The layout will then be recalculated, baser in the ned property. After that then paint method will be called.

Hope this helps

Erik Wetterberg

bekahbeets2003
Contributor

Re: How do the extensions detect a change in the code behind?

I need CODE.

ErikWetterberg
Honored Contributor

Re: How do the extensions detect a change in the code behind?

Just write your rendering code in the paint method, using the values in the layout, and it will be called when needed.

Erik