Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

ilaria_dimaio
New Contributor

How to import a .txt or a .ini file in Qlik Sense

Good Morning,

I need to import a txt file in Qlik Sense. In this file I set some parametrics variables and i need the app reads and includes them.

If i change some variables in the file I want the app changes them automatically.

Thanks

2 Replies
rittermd
Honored Contributor

Re: How to import a .txt or a .ini file in Qlik Sense

Can you provide an example?

Re: How to import a .txt or a .ini file in Qlik Sense

Hi Ilaria, If it's a txt with script (LET var = value;...) you can use include:

https://help.qlik.com/en-US/sense/April2018/Subsystems/Hub/Content/Scripting/SystemVariables/Include...

$(Include=sample.txt);

If it's a tabular file with name-value but no script you will need to load as a regular flat file and create the variables in a bucle.