Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

dmohanty
Valued Contributor

Task in QMC to COPY/MOVE an app from one folder to another?

Hi All,

I was just curious if we can COPY/MOVE one file from one location to another using QMC. The task should not Reload the Docment, should not use the Distribute options, creation of .meta files etc., but simple MOVE/COPY the file.

Any suggestiosn to do this on QMC?

Regards!!

1 Solution

Accepted Solutions
prabhu0505
Valued Contributor

Re: Task in QMC to COPY/MOVE an app from one folder to another?

Just an idea, cook it for your requirement.

1. Create a batch file to copy/move the file.

2. Create a qvw with script execute (Batch file)

3. Schedule step 2 qvw from QMC.

5 Replies
prabhu0505
Valued Contributor

Re: Task in QMC to COPY/MOVE an app from one folder to another?

Just an idea, cook it for your requirement.

1. Create a batch file to copy/move the file.

2. Create a qvw with script execute (Batch file)

3. Schedule step 2 qvw from QMC.

Not applicable

Re: Task in QMC to COPY/MOVE an app from one folder to another?

If you have a QlikView Publisher license you can create tasks that utilise external programs. E.g. you can run a batch file. These tasks can then be scheduled/triggered in the same way a QlikView-related task can.

2013-11-19_13h31_42.png

dmohanty
Valued Contributor

Re: Task in QMC to COPY/MOVE an app from one folder to another?

Hi Jones,

Yes I have a Publisher License and I am able to access this. Could you please elaborate on What to Do Next?

I mean here how can I execute a Batch file?

Also, are UNC paths not supported in Batch File. When I use, I am getting error that UNC paths are not supported. I created like this in a Notepad:

Could you please help me more on this below script?


@echo off

move /Y \\NetworkDrive1\QlikView\AccessPoint\*.qvw   \\NetworkDrive2\QlikView\AccessPoint\
echo
pause

Regards!!!

Not applicable

Re: Task in QMC to COPY/MOVE an app from one folder to another?

I'm guessing this is not a QlikView error but a CMD one.

You could try adding this command:

net use x: \\server\sharename

and then reference x: in the MOVE command

Not applicable

Re: Task in QMC to COPY/MOVE an app from one folder to another?

By the way you can access help files from within the QMC that may be useful:

2013-11-19_14h07_07.png