Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

chriscammers
Contributor III

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
Contributor III

Re: mashup api disable selection

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});

1 Reply
chriscammers
Contributor III

Re: mashup api disable selection

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});

Community Browser