Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
tlorimier
New Contributor III

Qlik Sense 3.0 :How to destroy HyperCube ?

I'm currently working with this library : https://github.com/skokenes/senseUtils

And in 2.2 and before i could use this method to destroy HyperCube and release the memory inside the Qlik Engine :

      app.model.session.socket.send()

Since 3.0 this method don't seem to exist anymore and I got this error

"Uncaught TypeError: app.model.session.socket.send is not a function"

Anyone got the same problem ?

Regards,

Thibaut

2 Replies
Luminary
Luminary

Re: Qlik Sense 3.0 :How to destroy HyperCube ?

Hi,

you used an internal functions and they have the behauvior that they can change.

But I have a hint for you. The germans in the second world war, had an encryption

machine. Just search in the sources of all js files for that name. If you get this

working you will have something for the future. You also find that name in the angular

scope.

bye Konrad

tlorimier
New Contributor III

Re: Qlik Sense 3.0 :How to destroy HyperCube ?

Hi Konrad,

Thanks for the tips.

I found an another function to do it : app.destroySessionObject();

https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/destroySes...

Regards,

Thibaut