Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Play Sound When Reload Completes

Hi guys

This a little off of place maybe but I want to know if you can configure Qlikview to play a sound when a reload completes. I'm working in a server with RDP and the reloadas take forever (10 min to 2 hours) so I want to go to my pc desktop and see other things while the reload is complete. A way it will be with PowerShell but I don't want to create scripts for common day use reloads

Thanks in adance

6 Replies
Anonymous
Not applicable
Author

What about using the Alert Wizard set an Alert Email to yourself On Post Reload ?

Not applicable
Author

I haven't work with alerts, I'll search about them. In the server it doesn't work because it has no internet access but in other scenarios is suitable. Maybe an alert and a macro will do the trick to play the sound

Anonymous
Not applicable
Author


// That Element must exists on page


<audio id="sound" src="audio/RoolingStones.wav" preload="auto"></audio>

On Edit Script (Javascript):

function play_single_sound() {

document.getElementById('sound').play();

}

Not applicable
Author

Hi Antonio, great to see that functionality on Qlikview, I'll look more onto JavaScript programming with qlikview but how do you integrate that JS code in the event of reload?

Anonymous
Not applicable
Author

The unique problem is put <audio> tag on HTML <body>.


You can find samples here. Find by innerHTML.


See my sample on Extensions...



kji
Employee
Employee

And  an OnPostReload trigger to run a macro like:

sub sound

    ActiveDocument.PlaySound("C:\sound.wav")

end sub