Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
so it turned out that I have to create a folder connection for every container and use the name of the folder connections when I want to link to related container and NOT the prefix of the container
you know what ?
in the exercises this is not explained nor applied
in the getting started documentation at the section of using LCGV nothing is mentioned about what I said above
Now the LCGV works if I use the name of the folder connection and NOT THE PREFIX of the container
this is what is happening now
if I use the prefix of the container the call LCGV fails
if I use the name of the folder connection the call of LCGV creates the variables but guess what if I give the folder connection a name X the variables would be like vG.XQVDPath while the prefix might not be X
so the documentation and exercises are NOT ACCURATE
I would advise to get this on a specific topic, so people can comment on your findings.
I've tested something on Sense, but not recently and so couldn't be of much help on it.
Since you found out something that is a little of from the documentation, specifying your problem and your solution would be of great help for others and for the QDF developers to check whether it's right or not.
Thank you Felip for your prompt replies
we were able together to discover how to solve the issue
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');
QVDGEN is the prefix of the container or the name of the folder connection?
QVDGEN is the prefix of the container 2.QVD_Generator.
The result of the function LCGV('QVDGEN','QVD') is that variable vG.QVDGENQVDPath is set to 'lib://QDF_ROOT/2.qvd_generator/1.qvd\
Unfortunately it is not working for me
Look at my script:
when I run the script I get an error:
I think you are missing a forward slash '/' between your variables
$(Must_Include=lib://$(vG.RootContainer)/$(vG.HomeContainer)/InitLink.qvs);
Try changing Include to Must_Include.
This will throw an exception if the filepath is wrong.
any idea why?
I added teh must include and I got the following error:
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);
finally it worked
thank you very much indeed