Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Run script on server reload

Hi

While server does the scheduled reload, does it trigger the event OnPostReload too? I get nothing in the target folder when using following macro script OnPostReload event, but when the script is run through the button click event on the client it worked.

ActiveDocument.Sheets("Main").ExportBitmapToFile "C:\temp\Graphxxxxxxx" & replace(FormatDateTime(now(),vbShortTime),":","") & ".jpg"

I just wanted to take snapshot of document after the reloads.

Thanks

1 Solution

Accepted Solutions
vgutkovsky
Honored Contributor II

Run script on server reload

Seems like a lot of people are having this problem. It could be an instance of Bug 24192 (Macro Trigger OnPostReload doesn't work if you have more than one document opened) which is fixed by SR3. SR3 is in Quarantine, which usually means it will be released within a week. After you install it, If the problem still occurs, QlikTech needs a clearer understanding of the bug for fix in future releases (support@qlik.com).

Hope this helped!

2 Replies
vgutkovsky
Honored Contributor II

Run script on server reload

Seems like a lot of people are having this problem. It could be an instance of Bug 24192 (Macro Trigger OnPostReload doesn't work if you have more than one document opened) which is fixed by SR3. SR3 is in Quarantine, which usually means it will be released within a week. After you install it, If the problem still occurs, QlikTech needs a clearer understanding of the bug for fix in future releases (support@qlik.com).

Hope this helped!

Not applicable

Run script on server reload

Thanks a lot Vlad.

Community Browser