Get the layout of an app
Get the layout of an app by using the GetAppLayout method.
Example
The client sends:
{
"jsonrpc": "2.0",
"id": 4,
"method": "GetAppLayout",
"handle": 1,
"params": []
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 4,
"result": {
"qLayout": {
"qTitle": "Golf Quest",
"qFileName": "C:\\Users\\smu\\Documents\\Qlik\\Sense\\Apps\\Golf Quest.qvf",
"qLastReloadTime": "2013-10-09T14:11:34Z",
"qModified": true,
"qHasScript": true,
"qStateNames": [
"AlternateState1",
"AlternateState2"
],
"qMeta": {},
"qLocaleInfo": {
"qDecimalSep": ".",
"qThousandSep": ",",
"qListSep": ";",
"qMoneyDecimalSep": ".",
"qMoneyThousandSep": ",",
"qCurrentYear": 2011,
"qMoneyFmt": "$#,##0.00;($#,##0.00)",
"qTimeFmt": "h:mm:ss TT",
"qDateFmt": "M/D/YYYY",
"qTimestampFmt": "M/D/YYYY h:mm:ss[.fff] TT",
"qCalendarStrings": {
"qDayNames": [
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat",
"Sun"
],
"qMonthNames": [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
],
"qLongDayNames": [
"lunes",
"martes",
"miércoles",
"jueves",
"viernes",
"sábado",
"domingo"
],
"qLongMonthNames": [
"enero",
"febrero",
"marzo",
"abril",
"mayo",
"junio",
"julio",
"agosto",
"septiembre",
"octubre",
"noviembre",
"diciembre"
]
},
"qFirstWeekDay": 0,
"qReferenceDay": 0,
"qFirstMonthOfYear": 0
},
"qHasData": true,
"description": ""
}
}
}
The app title and path are returned. The time of the last reload of the app and the list of alternate states in the app are also returned . The app contains a script (qHasScript is true).