Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to get the API to get the Object Id's for a sheet in qlik sense based on app id and sheet id.
Thank You
Try to get it from Single Configurator (in Dev-Hub)
Sorry, I need the API call to get the Objects based on sheet id.
Hello,
Is it something like this you mean:
var app = qlik.currApp(this);
var currentSheetId = qlik.navigation.getCurrentSheetId();
app.getAppObjectList( 'sheet', function(reply){
$.each(reply.qAppObjectList.qItems, function(key, value) {
if(currentSheetId.sheetId==value.qInfo.qId){
// Only objects that are on the same sheet as the extension
}
});
});
Thank you for the reply.
Also, I would like to know whether there is any API call something like '/qrs/selection/{id}/app/full' to get the objects in rest client?
In the rare case of not having worked it out yet in this long time but mainly to
help out anyone else who's still visiting this post... The rest API call is:
Get("/qrs/app/object/full?Xrfkey=ABCDEFG123456789&filter=app.id+eq+" + [APPID HERE]);
Xrfkey is optional, and in case you want to add a filter to filter out sheets only:
Get("/qrs/app/object/full?Xrfkey=ABCDEFG123456789&filter=app.id+eq+" + [APPID HERE] + "+and+objectType+eq+%27sheet%27");
Best luck on your coding endeavours!
Hi,
You can visit this video for this solution.
Qlik Sense Extensions List Using API
Regards,
Ajay Kakkar