Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Highlighted
Partner
Partner

Create Folder

I want the following folderstructure at my server to store the QVD's.

  • STAGE
    • Client1
      • Source 1
      • Source 2
      • Source 3
      • ....
    • Client2
      • Source 1
      • Source 2
      • Source 3
      • ....

Problem is that if I add a new source I need to make a folder with that name in every client folder. With 2 clients, that is not an problem. But with 200, it gets a lot of work.

Is there a way to create a folder, when it doens't exist, with the Qlik Sense script?

Thanks in advance,

Isabelle

Tags (3)
1 Solution

Accepted Solutions
Partner
Partner

Re: Create Folder

In the latest versions, Qlik Sense server does create folders.

5 Replies

Re: Create Folder

Hi,

Its better to get them created using the batch file instead of using Qlik Script.

Have a look at the below video for more help.

https://www.youtube.com/watch?v=sm6EE9f_TeY

Regards,

Kaushik Solanki

Partner
Partner

Re: Create Folder

That's also a very good option. But that doesn't answer my question: Is it possible in the Qlik Sense script?

Re: Create Folder

Hi,

Yes you can do this, but you can do this on Qlik Sense Desktop using Execute command.

Execute cmd.exe /C mkdir c:\test


Also look at below link.


https://help.qlik.com/en-US/sense/3.0/Subsystems/Hub/Content/Scripting/ScriptRegularStatements/Execu...


How to execute dos cmd from Qliksense


Regards,

Kaushik Solanki

tinaco110
Contributor III

Re: Create Folder

Hi Isabelle,

The short answer is "Qlik Sense does not allow you to create folder" but I found this thread explaining how to do it, if you really want to do that, follow this link: https://community.qlik.com/thread/197902‌; you may also want to read this article: https://community.qlik.com/blogs/qlikviewdesignblog/2015/08/07/qlik-sense-legacy-mode

Hope this helps

Partner
Partner

Re: Create Folder

In the latest versions, Qlik Sense server does create folders.