destroySessionObject method
app.destroySessionObject(id)
Method used to destroy a Qlik Sense session object created with createGenericObject or any of createCube, createList or getList methods.
Using this function removes the object from the Qlik engine, no more updates will be sent to the client and all methods on the object will be invalid.
- Since:
-
- 1.1
Parameters
Name | Type | Description |
---|---|---|
id | String | Session object id. |
Returns
A promise.
Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.
Example
app.destroySessionObject('xcVtY');
app.destroySessionObject(reply.qInfo.qId);
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!