Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We have a use case where we send a qvf to an external supplier. We will send a new qvf everyday and they will publish that app in their environment.
They need to add code to the qvf that we send everyday so that they can add section access to the app.
Is it possible to add code to a qvf without having to open the qvf and insert code that points to the code that holds the section access (section_access.qvs)? I have been looking through the API:s but haven't been able to find anything.
If that would be possible the supplier could run a job everyday that adds this code snippet to the qvf.
Kind regards, Jonathan
You can explore the option of $include scripting. Please refer to the help section in Qlik Sense
In your code, you can include the file with empty lines. The same file on the vendor should have the required code.
Hi,
We are using includes on our side to point to libraries that we have on our servers. But if we would add an Include line in the script, I guess it would require us to know their paths on their side. This would create a dependency between us and the supplier if they would change their paths or in any way make changes on their side.
Kind regards, Jonathan
Yes, you and the vendor needs to agree to create the same file name and a lib connection name,
For example : $(Must_Include=lib://DataFiles/abc.txt);
The actual path can be different.
Hi,
yes and that is what I wanted to prevent so that there is no dependency between us and the vendor.
So my question was if it was possible to add code to a qvf without having to open the qvf and insert code that points to the code that holds the section access (section_access.qvs)? Via som API or if someone had any experience with this type of use case?
Kind regards, Jonathan