destroySessionObject method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
qlik.app.destroySessionObject(id)
Destroys a Qlik Sense session object created with the createGenericObject method or any of createCube, createList or getList methods.
Calling this method removes the object from the Qlik associative engine, no more updates are sent to the client and all methods on the object are invalid.
Version history
Version state | Details |
---|---|
Introduced | 1.1 |
Parameters
id
Type: String
Session object ID.
Returns
A promise of a Qlik associative engine reply.
Tip noteFor more information regarding a promise, see The Promise API.
Example
app.destroySessionObject('xcVtY');
app.destroySessionObject(reply.qInfo.qId);