Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
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.
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