Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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

Set Variables in Mashups

Hi all,

I´m trying to create a mashup with qlik sense, but I have a problem. I need to change variable values using this instruction "app.variable.setNumValue('vAlta1', 33);" but not always works.

I don´t know why sometimes works and sometimes not, how can I debug this?


2 Replies

Re: Set Variables in Mashups

Maybe put a console.log before and after the command to make sure that line of code is actually being executed.

Valued Contributor

Re: Set Variables in Mashups

Hi Bill,

The line of code is executed, because I check that all is working using alert or console, but the problem is that not always pressing the button it changes the variable value. Maybe is a timeout problem? I´m using the Desktop version of Qlik Sense.

Thanks a lot.