Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vadimtsushko
Partner - Creator III
Partner - Creator III

QDF bootstrap code in Partial Reload mode

In developing mode I sometimes use partial reload for my end user applications.

So instead of full datamodel reload, I reload only variables and some configuration files.

That used to work with binary load too - binary load command skipped in partial reload mode.

Now QVF bootstrap code breaks on partial reload.

Currently I wrapped QVF initilization fragment by IF statement

IF NOT IsPartialReload() THEN
  let vG.BasePath=; 
  // Basic search for 1.Init.qvs
  $(Include=..\..\..\..\3.include\1.basevariable\1.init.qvs);
  $(Include=..\..\..\3.include\1.basevariable\1.init.qvs);
  $(Include=..\..\3.include\1.basevariable\1.init.qvs);
  $(Include=..\3.include\1.basevariable\1.init.qvs);
  Exit script when '$(vG.BasePath)'= '';
ENDIF

Also I updated LoadVariableCSV - changed LOAD statement to REPLACE LOAD

It works for me now.

Would it be worthwhile if all QDF bootstrap code can work in partial reload mode?

4 Replies
Magnus_Berg
Employee
Employee

Thanks for the input Vadim, agree the best will be to implement the enhancements into the initiation script.

Will check how to do this in the best way and get back to you.

thanks again for this great feedback

Magnus

vadimtsushko
Partner - Creator III
Partner - Creator III
Author

Thank you for great project.

We've switched to QDF in new project so I'm adapting our toolset to it.

I'll share experience in that group when and if some bits of it will be relevant to QDF

Magnus_Berg
Employee
Employee

Hi Vadim,

We have now released QDF v 1.3.2 where REPLACE LOAD have been integrated into the initiation scripts.

It would be nice to see of this solves your issues.

Best regards

Magnus

vadimtsushko
Partner - Creator III
Partner - Creator III
Author

Thank you, Magnus.

It works for me now.

Best regards, Vadim