Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Qlik sense getObject Workbench API

Hi,

I am trying to get the object in mashup and disable the interactions. As per the workbench help, the getObject method in 1.1 has an optional parameter (object) which can be used to disable interactions. The text in help is as follows:

app.getObject(elem, id, options)

NameTypeDescription
elemElement | String

Optional HTML element.

Since Qlik Sense version 1.1 it is also possible to define a string of the HTML element id.

idStringObject id or 'CurrentSelections' if used for Selections bar.
optionsObject

Optional. noInteractions true if you want to disable interaction in the visualization.

This parameter was introduced in Qlik Sense version 1.1.

I am using following code for disabling interactions:

var app = qlik.openApp('eb71f4e7-7c4d-43cc-9969-e81e92fd1d37', config);

var config1 = {noInteractions:"true"};

//get objects -- inserted here --

app.getObject('QV01','CCERQ',config1);

Despite above, I am still getting interactive object in Mashup.

Request urgent help on this.

Regards

Tags (1)
1 Solution

Accepted Solutions
toy
New Contributor III

Re: Qlik sense getObject Workbench API

Hi Ramendra,

Try this:

var config1 = {noInteraction:"true"};

(without the s)

This has been updated in the documentation for the next release.

Please let me know if it works.

Best regards,

Thomas

2 Replies
toy
New Contributor III

Re: Qlik sense getObject Workbench API

Hi Ramendra,

Try this:

var config1 = {noInteraction:"true"};

(without the s)

This has been updated in the documentation for the next release.

Please let me know if it works.

Best regards,

Thomas

Not applicable

Re: Qlik sense getObject Workbench API

Thanks Thomas. It works.

Regards