Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
bekahbeets
Creator
Creator

Json commands from engine api explorer does not return list of sheets

So I can connect to the qlik server via javascript fine.. i get the engine and select an app via the code generated by the engine api explorer fine. When i get the code from the engine api explorer to list the sheets and pop it into the javascript, I get a list of the apps, not the sheets...

this:

[

{

"name": "SHEETLIST",

"method": "CreateSessionObject",

"handle": "${dochandle}",

"params": [

{

"qInfo": {

"qType": "SheetList"

},

"qAppObjectListDef": {

"qType": "sheet",

"qData": {

"title": "/qMetaDef/title",

"description": "/qMetaDef/description",

"thumbnail": "/thumbnail",

"cells": "/cells",

"rank": "/rank",

"columns": "/columns",

"rows": "/rows"

}

}

}

]

},

{

"method": "GetLayout",

"handle": "${SHEETLIST.result.qReturn.qHandle}",

"params": []

}

]

Does not give a list of sheets - it gives the list of apps/docs. In the Engine API explorer it does, but not in javascript.

10 Replies
bekahbeets
Creator
Creator
Author

what is the code to make 'app'?

note: i am using straight javascript, not node or angular.