Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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

1 Solution

Accepted Solutions
toy
Employee
Employee

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

View solution in original post

2 Replies
toy
Employee
Employee

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
Author

Thanks Thomas. It works.

Regards