Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 SNB
		
			SNB
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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,
 Harsh_Gohil
		
			Harsh_Gohil
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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;
            });
        });
 Harsh_Gohil
		
			Harsh_Gohil
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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;
            });
        });
 SNB
		
			SNB
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks @Harsh_Gohil
 Harsh_Gohil
		
			Harsh_Gohil
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Welcome @SNB  😉
