Skip to main content Skip to complementary content

CopyApp Method

Overloads

CopyApp(String, String, IEnumerable<String>)

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.

CopyApp(String, String, IEnumerable<String>)

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.

Declaration

      public bool CopyApp([QixName("qTargetAppId")] string targetAppId, [QixName("qSrcAppId")] string srcAppId, [QixName("qIds")] IEnumerable<string> ids)
    

Parameters

Type Name Description
System.String targetAppId

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.

System.String srcAppId

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

System.Collections.Generic.IEnumerable<System.String> ids

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.

Returns

Type Description
System.Boolean

Implements

Remarks

This operation is possible only in Qlik Sense Enterprise.

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!