Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscammers
Partner Ambassador
Partner Ambassador

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