Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements
The #1 reason QlikView customers adopt Qlik Sense is a desire for a modern BI experience. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

How to remove a .qvw file through a task?

Hi all,

Does anybody know whether it's possible to remove a .qvw document with QV server triggered by an external event?

Thanks!

4 Replies
Highlighted
Partner
Partner

Have you tried creating a Supporting Task to execute a CMD command? Like:

DEL "C:\myApp.qvw"

Regards.

Highlighted
Not applicable

Cheers for your answer. I tried this but it doesn't work. While executing the same command in the windows command window does work. Could this be an autorisation issue? Is there a way to view a logfile?

Thanks!

Highlighted
Partner
Partner

Hi Erik.

It could be an authorization issue, among other situations. Please check the user set to run QlikView Server services.

Also try creating a .cmd file with the command line, so the Supporting Task executes the file instead of trying to execute the command directly.

Highlighted
Contributor III
Contributor III

Hi,

be aware that the cmd will be executed on the Qlikview server.

C:\myApp.qvw

This is the C drive of the Qlikview server, not your local one.


Also like Diego mentioned, try to execute the command directly on the Qlikview Server as the user under the Qlikview service run. (Take a look at the services).

And maybe a DEL /F is necessary if the myApp.qvw file is read-only.

Try DEL /? for further help.

Hope this helps,

Tom