Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

LCGV function not working

Hello

I'm using the version 1.7.1 of the QDF

I'm trying to link / mount containers

in my script I put the following code:

/*

QDF initiation script

*/

set vG.BasePath=; //Clrear cache

set vG.SharedBasePath=; //Clrear cache

SET vG.RootContainer='lib://QDF_ROOT/';

SET vG.HomeContainer='lib://QDF_ROOT/3.Customer_Case_Analysis/';

$(Include=lib://QDF_ROOT/InitLink.qvs);

/*****************************************************************/

/*

we need to read QVD files from the QVD Generator resource

and mainly from the Transform folder of the QVDs

*/

call LCGV('QVDGEN','QVD');

/*****************************************************************/?

However I get the following warning: (check attached image)

kindly advise as I'm stuck and don't know a work around this issue

Ali M. Hijazi - BI Solution Architect

ali.hijazi@setelia.com<mailto:Jean.Aboujaoude@setelia.com>

Mobile : +961 03 197337- Tel: +33 (0)1 55 43 26 01 - 961 (5) 955 417- Fax: + 33 (0)1 55 43 26 10

This message and any attachments are confidential. If you are not the intended recipient or his authorized agent, please be advised that copying, distributing or revealing the contents of this message is expressly prohibited. If you are not the intended recipient, kindly notify the sender immediately by return e-mail and delete this message from your system.

I can walk on water when it freezes
1 Solution

Accepted Solutions
msvanfeldt
Partner - Contributor II
Partner - Contributor II

I tried your example setup of containers and it works for me with only one data connection pointing to the QDF_ROOT-folder.

The main difference is that I'm using the InitLink.qvs in the home container and not the root container.

// InitLink.qvs Initiating Qlik Deployment Framework

SET vG.BasePath=;  //Clear cache

SET vG.SharedBasePath=; //Clear cache

SET vG.RootContainer='QDF_ROOT';

SET vG.HomeContainer='3.Customer_Case_Analysis';

$(Must_Include=lib://$(vG.RootContainer)/$(vG.HomeContainer)/InitLink.qvs);

CALL LCGV('QVDGEN','QVD');

View solution in original post

40 Replies
felipedl
Partner - Specialist III
Partner - Specialist III

HI Ali,

Can you share a picture on how the QDF is setup (container structure)?

I've encountered some problems with the Administration folder, but not other containers.

Could be that your folder is named something else, or similar (lower and upper case)?

ali_hijazi
Partner - Master II
Partner - Master II
Author

Hello here is a screen shot of QDF setup

C838D138.PNG

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II
Author

check attached please

Ali M. Hijazi - BI Solution Architect

ali.hijazi@setelia.com<mailto:Jean.Aboujaoude@setelia.com>

Mobile : +961 03 197337- Tel: +33 (0)1 55 43 26 01 - 961 (5) 955 417- Fax: + 33 (0)1 55 43 26 10

This message and any attachments are confidential. If you are not the intended recipient or his authorized agent, please be advised that copying, distributing or revealing the contents of this message is expressly prohibited. If you are not the intended recipient, kindly notify the sender immediately by return e-mail and delete this message from your system.

I can walk on water when it freezes
felipedl
Partner - Specialist III
Partner - Specialist III

Have you added or reinitialized your containers?

Are the folders present on your physical disk (I'm guessing because it should work out fine).

Could be that the index from where it searches the name doesn't have the updated situation to find the Prefix container name.

ali_hijazi
Partner - Master II
Partner - Master II
Author

the containers' folders are present:
capture_2.PNG

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II
Author

?The containers' folders exist

check attached screen shot from the location where they reside

Ali M. Hijazi - BI Solution Architect

ali.hijazi@setelia.com<mailto:Jean.Aboujaoude@setelia.com>

Mobile : +961 03 197337- Tel: +33 (0)1 55 43 26 01 - 961 (5) 955 417- Fax: + 33 (0)1 55 43 26 10

This message and any attachments are confidential. If you are not the intended recipient or his authorized agent, please be advised that copying, distributing or revealing the contents of this message is expressly prohibited. If you are not the intended recipient, kindly notify the sender immediately by return e-mail and delete this message from your system.

I can walk on water when it freezes
felipedl
Partner - Specialist III
Partner - Specialist III

I'm looking up the init.qvs file and it uses the variables you're clearing before hand.

set vG.BasePath=;  //Clrear cache

set vG.SharedBasePath=; //Clrear cache

Can you comment everything besides the QDF initialization and the LCGV function and check the result.

This is a code snippet for sense:

if not '$(vG.HomeContainer)' = '' and not IsNull(filesize('lib://$(vG.HomeContainer)/Initlink.qvs')) = -1 then

LET vG.BasePath= 'lib://$(vG.HomeContainer)/';

trace '### DF Info, identified Sense home container $(vG.BasePath) (Separate LIB mounts)';

Bolded vG.BasePath is initialized when you first run QDF init.qvs and you clear the variables that are used before calling LCGV (i've used on View, so i dont know on Sense very well)

ali_hijazi
Partner - Master II
Partner - Master II
Author

?if I comment the lines preceeding the initialization script it doesn't work check attached screen shots

Ali M. Hijazi - BI Solution Architect

ali.hijazi@setelia.com<mailto:Jean.Aboujaoude@setelia.com>

Mobile : +961 03 197337- Tel: +33 (0)1 55 43 26 01 - 961 (5) 955 417- Fax: + 33 (0)1 55 43 26 10

This message and any attachments are confidential. If you are not the intended recipient or his authorized agent, please be advised that copying, distributing or revealing the contents of this message is expressly prohibited. If you are not the intended recipient, kindly notify the sender immediately by return e-mail and delete this message from your system.

I can walk on water when it freezes
ali_hijazi
Partner - Master II
Partner - Master II
Author

capture_3.PNGcapture_4.PNG

I can walk on water when it freezes