Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
arvind1494
Specialist
Specialist

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.

4 Replies
vishweshwarisun
Partner - Creator
Partner - Creator

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
Specialist
Specialist
Author

Thanks Vishweshwari Sunketa

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

Prashant_N
Contributor III
Contributor III

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
Specialist
Specialist
Author

Thanks Prashant for your response

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