Skip to main content Skip to complementary content

getContent method

app.variable.getContent(name, callback)

Method used to get variable content.

Parameters

Name Type Description
name String Variable name.
callback Function Callback to receive the content.

Returns

Returns a promise of a RPC reply.

Example

var app = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d'); app.variable.getContent('MYVAR',function ( reply ) { alert( JSON.stringify( reply ) ); } );

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!