Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Highlighted
Contributor II

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 Solution

Accepted Solutions
Highlighted
Honored Contributor

Re: Extension using a variable value in AngularJS

Hi,

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

http://extendingqlik.upper88.com/accessing-system-data-and-variables-in-a-qlik-sense-extension/

 

View solution in original post

2 Replies
Highlighted
Honored Contributor

Re: Extension using a variable value in AngularJS

Hi,

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

http://extendingqlik.upper88.com/accessing-system-data-and-variables-in-a-qlik-sense-extension/

 

View solution in original post

Highlighted
Contributor II

Re: Extension using a variable value in AngularJS

Thanks. I'll have a read through of this