Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get the API call for charts based on sheet id?

Hi,

I trying to get the API for charts based on sheet. If possible, could you please explain how can it be done?

Thank You

3 Replies
Øystein_Kolsrud
Employee
Employee

Do you mean you have a chart type that extends the sheet type? If that is the case, then you should look into the API for generic objects. Sheets are generic objects as well.

Anonymous
Not applicable
Author

No, I need the API's for individual charts which is present in a sheet or the name of API's present in qlik to access the charts for a sheet.

Øystein_Kolsrud
Employee
Employee

Ah, OK. In the Engine API, charts are children of sheets. To access them you either need to know the ID of the individual sheet objects directly, or navigate to them through the child list of a sheet. If there is a specific object you want to inspect, then I can recommend this tool for finding the ID of the object you are interested in:

Qlik Explorer for Developers is here!

That tool is also useful for navigating through the properties of the objects, which might also be of interest to you.

If, on the other hand, you don't know the ID up front, and want to navigate to it programatically, then I can recommend you to have a look at this example that traverses all objects of an app. It should give you some indications regarding which endpoints would be useful for you:

PublicExamples/AppPreload at master · AptkQlik/PublicExamples · GitHub

It's primarily this file you want to have a look at:

PublicExamples/AppPreload.cs at master · AptkQlik/PublicExamples · GitHub