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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
narayanaqlik
Creator
Creator

Dynamic Incremental load passing the values from UI How ?

Hi All,

Qliksense

I have implemented incremental load in my Application by passing values from UI  (By Clicking buttons)

let var_initLoad=$(var_reLoad);

if var_initLoad=1 then

Full load script

Else

Incremental load script

End if

let var_reLoad=0;

To make it as always Incremental load by default...!

i have taken var_initLoad as a field and display it  in UI whenever it is running Full load the field is displaying 1 or 0

in end of the script i reset  the value why because always it should run Incremental when we click on full load on UI then it will run Full load

so it is working fine in hub whenever i have published into streams and create a tasks then the values are not passing properly always it is taking the value before publishing which value is assigned to the var_reLoad variable

Please help in this...

Note:- If it is not working plz give me any advice My Requirement is like it should always run in Incremental mode whenever i require Full Load i need to pass some value from UI so that it should convert into FullLoad, for next Time it should be reset to Incremental Load Automatically

thanks in advance..!

1 Reply
petter
Partner - Champion III
Partner - Champion III

This is how it is designed. With Qlik Sense or QlikView Desktop the changes in variables in the UI will be visible when the reload phase is entered. This is not the case when you are using the server versions of both products. Variable value changes will not persist from the UI into the reload phase.

If you think about it how would conflicts with several users changing the same variable be solved by the load script? It could of course be achieved but Qlik decided to not allow this to happen. With the single-user version of the two products there are no such challenges so they have allowed it to happen in the product.