Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Preventing timeouts/server connection loss in extension object.

Greetings,

I have an extension object (.js) that contains an embedded HTML5 audio player, the purpose of which is to automatically play a sequence of mp3 files derived from the model data provided by the QV server.

This works fine with one exception: If the list of mp3's is somewhat long, and causes the player to auto-play for a 1/2 hr or more, when you eventually click on the report again, the report appears to have lost its connection to the server and you have to sit through a re-connect.  

My question is, is there something I can do within the script to keep the connection fresh so that it doesn't timeout?  I tried adding a Qv.GetCurrentDocument() call between each mp3 invocation, but that didn't help.

Thanks,

Steve

0 Replies