Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT

Extension using a variable value in AngularJS

I have an extension which is trying to get the value set by setVariableContent in another extension. When I use getContent or getByName it returns the initial value of the variable and not the value used by the set function. If I put the variable in a a text box it shows the new value. How do I capture the new value using the APIs?

Also I need the extension to refresh when the variable value changes. The variable could be set by another extension so how do I register/ capture this event in an AngualrJS erxtension

1 Reply
Honored Contributor

Re: Extension using a variable value in AngularJS


don’t use getContent in your extension. Instead includes an expression with your variable in the object properties. I have written about this here: