Discussion Board for collaboration on QlikView Publisher.
Can we assign a task to publisher to selectively delete the QVD files.
Go to Solution.
Create a bat file which delete the files you want and than call this bat file using an External Program Task (System/Supporting Tasks in QMC).
But is there any other way to do so?
Yes, you can always obtain the same result using a QlikView document (QV is polyvalent, you know)
Create a QVW with a script that contains paths and EXECUTE xxxx; commands. Schedule a task and chain it wherever you want.
IMHO the Supporting task-approach is the more manageable one.
Wow that is interesting can I delete the qvd file by giving it's path???
what is the function specified in QV for that?
There isn't a specific DELETE QVD statement in QlikView Script. The EXEUCTE statement allows you to execute external commands (like you enter in a Command prompt).
For example, the following will delete a QVD from my development tree:
EXECUTE CMD.EXE /C "DEL $(vSrcPath)\Development\QVD\ODS\Customers.QVD";
For this to work, you'll have to set two switches: