Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jmvilaplanap
Specialist
Specialist

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
Anonymous
Not applicable

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

jmvilaplanap
Specialist
Specialist
Author

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.