Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT
jmvilaplanap
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?

Thanks

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.

Highlighted
jmvilaplanap
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.