Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscammers
Partner - Specialist
Partner - Specialist

mashup api disable selection

I am creating a mashup in the mashup editor using the basic template(bootstrap)

When I get an object is there a way to disable selection on that object?

For example in the javaScript I have a line of code that assigns the object to a qvobject div ID

app.getObject("DivID","ObjectID")

In the single configurator there are options for getting an object coded in the URL

...myserver/single?appid=myappguid&obj=myobjectid&opt=nointeraction%2Cnoselections&select=clearall

As you can see in the single configurator I can set the following options...

  1. Interaction
  2. no selections
  3. clear all

There are other options too like adding a specific selection to the chart.

So when I am using the Mashup api how do I access those same setting for the object?

Thanks

Chris

1 Solution

Accepted Solutions
chriscammers
Partner - Specialist
Partner - Specialist
Author

Figured it out,

The getObject method has a third parameter for options.

getObject method ‒ Qlik Sense

The call looks like this app.getObject('NO02','tr',{noSelections: true, noInteraction: false});

View solution in original post

1 Reply
chriscammers
Partner - Specialist
Partner - Specialist
Author

Figured it out,

The getObject method has a third parameter for options.

getObject method ‒ Qlik Sense

The call looks like this app.getObject('NO02','tr',{noSelections: true, noInteraction: false});