Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
WE ARE LISTENING! New Navigation for Qlik Community, Sept. 26: TELL ME MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Johnny
Contributor
Contributor

How to run function upon clicking button

Hi,

I'm new to Qlik Sense, I'm trying to simulate a user survey response submission form with a Qlik Sense dashboard. I'm letting the user fill in the requirements, and then hit a submit button to submit.

I have a python SSE running, which gets the user selections, does some manipulation and stores it in a database. Only problem is that the SSE function on Qlik is always running, which means that I'll get alot of extra submissions. So I'm trying to create a "Submit" button to circumvent this issue.

Any help would be greatly appreciated! Smiley Very Happy

2 Replies
paulcalvet
Partner - Creator III
Partner - Creator III

Hi Johnny,

I try to do the same thing.

Did you find a solution ?

Thanks,

Paul

adamlopuch
Contributor
Contributor

I also came across this thread hoping for hints on the same functionality.  I still have not found it.

For future searches: a hack-y workaround is to use a button element to set/unset a variable, and then use each chart element's 'Calculation Condition' to only display (meaning, run the SSE function) when the variable linked to the toggle button is set.  This is not applicable to the Original Poster's use case of a survey, though.

This is shown in Nabeel's video here: https://www.youtube.com/watch?v=7E944kz1l5s (at 3:40 into the video... see what he does in the lower-left corner, then notice how the charts go gray and say "Forecasting is paused")

This is not an ideal workaround in most cases because the user sees an ugly gray screen instead of the 'frozen' widget.