Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone,
I want to have values of the variable that are created in the app presented in mashup.
is there a documentation to guide me to fetch variable value to mashup ?
PS: i'm using Qlik sense enterprise
Thanks,
Hello,
Get variable value in mashup
var app = qlik.currApp(this);
var qix = this.backendApi.model.enigmaModel.session;
var numericValue;
qix.app.getVariableByName('vTestMode').then(function (variable) {
variable.getLayout().then(function (variableLayout) {
numericValue = variableLayout.qNum;
});
});
Hello,
Get variable value in mashup
var app = qlik.currApp(this);
var qix = this.backendApi.model.enigmaModel.session;
var numericValue;
qix.app.getVariableByName('vTestMode').then(function (variable) {
variable.getLayout().then(function (variableLayout) {
numericValue = variableLayout.qNum;
});
});
Thanks @Harsh_Gohil
Welcome @SNB 😉