Skip to main content Skip to complementary content

CopyApp method

Copies an app that is in the Qlik Sense repository. The engine copies the app into an app entity that was previously created by the repository.

Information note

This operation is possible only in Qlik Sense Enterprise.

Parameters

Name Description Mandatory Type
qTargetAppId

Identifier (GUID) of the app entity in the Qlik Sense repository. The app entity must have been previously created by the Qlik Sense Repository Service (QRS) API.

Yes String
qSrcAppId

Identifier (GUID) of the source app in the Qlik Sense repository.

Yes String
qIds

Array of QRS identifiers. The list of all objects in the app to be copied must be given. This list must contain the GUIDs of all these objects. If the list of the QRS identifiers is empty, the CopyApp method copies all objects to the target app. Script-defined variables are automatically copied when copying an app. To be able to copy variables not created via script, the GUID of each variable must be provided in the list of QRS identifiers. To get the QRS identifiers of the objects in an app, you can use the QRS API. The GET method (from the QRS API) returns the identifiers of the objects in the app. The following example returns the QRS identifiers of all the objects in a specified app: GET /qrs/app/9c3f8634-6191-4a34-a114-a39102058d13 Where 9c3f8634-6191-4a34-a114-a39102058d13 is the identifier of the app.

Yes Array of String

Returns

Name Description Type
qSuccess Boolean

Access Control

duplicate

See also

Copy an app

See the Qlik Sense Repository Service API for more information

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!