Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Vegar
MVP
MVP

Init of QDF fails in Qlik Sense 1.1.0

I experience the init.qvs to fail when using it in Sense. I'm using Sense 1.1 together with QDF 1.4.1. I did not have this problem in October using an earlier version of both Sense and QDF.

I have circled the problem down to an include in init.qvs

// Special check, Qlik Sense is using LIB's and do not need a root folder

if '$(vG.RootPath)'='' and not lower(left(trim('$(vG.BasePath)'),6))='lib://'  then

  $(Include=$(vG.SubPath)\3.LoadContainerMap.qvs);

   call LoadContainerMap('$(vG.BaseVariablePath)\ContainerMap.csv','','$(vG.BasePath)');

endif

It feels like Sense are evaluating the Include-statement even when the IF statement i false and should not run. A walkaround is to replace the vG.SubPath with a temp variable that is inital defined Sense friendly and inside the IF statement corrected.

// Special check, Qlik Sense is using LIB's and do not need a root folder

LET _vL.SubPath = '$(vG.BasePath)'; //Sense friendly path

if '$(vG.RootPath)'='' and not lower(left(trim('$(vG.BasePath)'),6))='lib://'  then

  LET _vL.SubPath = '$(vG.SubPath)'; //QlikView friendly path

  $(Include=$(_vL.SubPath)3.LoadContainerMap.qvs);

  call LoadContainerMap('$(vG.BaseVariablePath)\ContainerMap.csv','','$(vG.BasePath)');

endif

LET _vL.SubPath = ;

I hope to see a fix for this error soon in Sense, but hopefully you guys will make this or a similar workaround for the QDF.

Best regards

Vegar Lie Arntsen

QlikView and Qlik Sense consultant at egbs consulting ab

Blogs: http://aqlik.se (English) and http://bi-effekten.se (Swedish)

2 Replies
Magnus_Berg
Employee
Employee

Thx Vegar, we will have a look at this. There will be a new version of QDF (1.5) out soon where the Sense integration is even better. Regards Magnus

Magnus_Berg
Employee
Employee

Hi Vegar, try the new 1.5.0 release to see if it works better with Sense.

QlikView Deployment Framework Deploy Tool

Regards

Magnus