Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I am Using QlikView 10 . I have a application used to send a alert mail (I am using Macro to send alerts) when the application is reloaded .
The Problem here is when I am reloading the application manually I can send the alert mail . But when I reload the application using Batch File I am unable to send a mail .
But the Problem is After reloading, application and batch file is kept open .(If reloaded with batch file, batch file and application get close automatically ). Is there any command that forcely closes the batch file after reload .
Request your help on the above .
Regards
Naidu
Naidu,
You can config the server to send you an email whenever there is a reload error.
Hi ,
I am Using QlikView 10 . I have a application used to send a alert mail (I am using Macro to send alerts) when the application is reloaded .
The Problem here is when I am reloading the application manually I can send the alert mail . But when I reload the application using Batch File I am unable to send a mail .
Request your help on the above .
Regards
Naidu
can i know on which event you fire alert mail.
Hi Talluru
use the /l switch in the batch file to start the qvw
In your qvw add an OnPostReload trigger which calls a macro that sends the mail
and finishes with:
ActiveDocument.Save (if you want to save of course ...)
Application.Quit (this is necessary or your application will be living untill you "kill" it)
hth/gg
Hello Naidu,
In a Server-Client environment, there are some macros that will not run as default. One of those triggers are OnOpen and OnPostReload. It's documented in the Reference Manual, 29.3 "Trigger Limitations".
Regards.
BI Consultant