getScript method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.app.getScript()

Gets the data load script of this app.

Version history

Introduced Qlik Sense June 2017

Returns

A promise of a qScript object with the load script values.

Example

var app = qlik.openApp("2abac31e-3b46-4b78-8bxf-c5cea1d2514d");
app.getScript().then( function(script){
  console.log(script);
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?