Skip to main content Skip to complementary content

CreateSessionAppFromApp method

Overview

Creates a session app from a source app.

The following applies:

  • The objects in the source app are copied into the session app but contain no data.
  • The script of the session app can be edited and reloaded.
  • The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.
  • A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections.

Parameters

Name Description Type
qSrcAppId

App identifier of the source app.

It corresponds to qAppId returned by the CreateApp method when creating the source app.

This parameter is mandatory.

String

Outputs

The following is returned in the output:

"result": { "qReturn": { "qType": "Doc", "qHandle": <Handle of the session app> }, "qSessionAppId": "<Identifier of the session app>" }

The identifier of the session app is composed of the prefix SessionApp_ and of a GUID.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!