Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
My question is simple.
I have qlikview scheduled to open, run and close automatically.
But sometimes it opens and runs maximized. I want it to run minimized or in silent mode. Is there a way?
Thanks.
Hi Goncalo
Use Qlikview Management Console (QMS) for it.
Do reload with QMS. It will not open any window. In case of any error it will send you the Mail, the Mail Id which you have provided.
Regards
Aviral Nag
Hi Aviral,
I am not using Qlikview server on this. I'm using v11 desktop client.
Gonzalo
Could you schedule in the qlikview console managment?
it is easier to do if you set schedule in the qmc , reload automatic and dont open the desktop
can you use the qmc or you have to do in the desktop ?
Isn't qlikview console management only available on the server edition? I don't have a license for that, unfortunately.
If Server is not there than you can use ErrorMode() function in your script.
This variable determines what action is to be taken by QlikView when an error is encountered during script execution. By default (ErrorMode=1) the script execution will halt and the user will be prompted for action (non-batch mode). By setting ErrorMode =0 QlikView will simply ignore the failure and continue script execution at the next script statement. By setting ErrorMode =2 QlikView will trigger an "Execution of script failed..." error message immediately on failure, without prompting the user for action beforehand.
set ErrorMode=0;
Returns the error code of the last executed script statement. This variable will be reset to 0 after each successfully executed script statement. If an error occurs it will be set to an internal QlikView error code. Error codes are dual values with a numeric and a text component. The following error codes exist:
1 | No error |
2 | General Error |
3 | Syntax Error |
4 | General ODBC Error |
5 | General OLE DB Error |
6 | General XML Error |
7 | General HTML Error |
8 | File Not Found |
9 | Database Not Found |
10 | Table Not Found |
11 | Field Not Found |
12 | File Has Wrong Format |
set ErrorMode=0;
load * from abc.qvw;
if ScriptError=8 then
exit script;
//no file;
end if
Regards
Aviral Nag
Hi.
Try this:QlikView Desktop client command line+windows scheduler
Hi Nag,
As far as I remember errormode just skips the errors. It won't make a difference on how the model gets run.
Regards,
Marius
Hi Goncalo,
I don't think you will get this right because when you execute a batch file the program does exactually get executed and runs as normal. Only difference was that it was run by a batch file and not by your own hand.
Regards,
Marius
That's right Marius.
What Nag is suggesting is valid if I want to skip script errors.
In this case, all I want is to load qlikview (program and script window running scripts) minimized.
I couldn't find any option for that in qlikview application, not even using switches. I've also tried to install external programs that force to minimize programs, but it didn't work with qlikview so far.
I found the following thread useful, yet I wasn't able to reproduce it on my end: