Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ift_isabelle
Partner - Creator III
Partner - Creator III

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

1 Solution

Accepted Solutions
ift_isabelle
Partner - Creator III
Partner - Creator III
Author

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

View solution in original post

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

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

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ift_isabelle
Partner - Creator III
Partner - Creator III
Author

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

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

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

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
ArnadoSandoval
Specialist II
Specialist II

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

Arnaldo Sandoval
A journey of a thousand miles begins with a single step.
ift_isabelle
Partner - Creator III
Partner - Creator III
Author

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

Anonymous
Not applicable

And how ? 🙂 Do you have a script snippet?