
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Tags:
- qlikview_deployment


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried creating a Supporting Task to execute a CMD command? Like:
DEL "C:\myApp.qvw"
Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
