The session app should be created from the app Golf Quest.qvf and should not be persisted. Therefore, the CreateSessionAppFromApp method should be used.
The CreateSessionAppFromApp method copies the objects present in the Golf Quest app into the session app. The objects in the session app initially contain no data. You need to reload the app to get some data.
The client sends:
{
"jsonrpc": "2.0",
"id": 0,
"method": "CreateSessionAppFromApp",
"handle": -1,
"params": [
"E:\\GIT\\engine-sense-fork\\prod\\data\\Engine\\test\\qlikviewTests\\ProtocolTester4Net\\TestData\\Golf Quest.qvf"
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"qReturn": {
"qType": "Doc",
"qHandle": 1
},
"qSessionAppId": "SessionApp_8d0ab4c75c6a4421af2f7e2bfd90fc37"
},
"change": [
1
]
}
The app is created. The identifier of the session app is SessionApp_8d0ab4c75c6a4421af2f7e2bfd90fc37.