Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

arvind1494
Valued Contributor

How to find object Id using object title?

I need object id of chart or tables in my extension .basically i want to find out object id of the visulisation by using titile of that chart.

If is their ant API or method to do this then please help me.

Thanks in advance.

Tags (1)
4 Replies
vishweshwarisun
Contributor

Re: How to find object Id using object title?

hi

click on dev hub

then click on single configuration then select your App

u will get this type of Object id for object title1.PNG

arvind1494
Valued Contributor

Re: How to find object Id using object title?

Thanks Vishweshwari Sunketa

but i want to do this using qlik API for my voice driven dashboard project .

prashant_naik93
New Contributor

Re: How to find object Id using object title?

Hi Arvind,

If you are using Capability API then you can write this code for getting the list of objects for specific App.

app.getAppObjectList( 'sheet', function(reply){

var str = "";

$.each(reply.qAppObjectList.qItems, function(key, value) {

str +=  value.qData.title + ' ';

$.each(value.qData.cells, function(k,v){

//checking the your object name with the app object names.

if([your object name]==v.name){

console.log(v); //getting the data in object v

//now here you can get the id of that object.

}

});

});

});


Regards,

Prashant

arvind1494
Valued Contributor

Re: How to find object Id using object title?

Thanks Prashant for your response

I also done with the same way which you mentioned here.

Community Browser