Copy an app
Copy an app that is in the Qlik Sense repository by using the CopyApp method.
The target app has for GUID, the identifier specified by the qTargetAppId parameter.
Information noteThis operation is possible only in Qlik Sense Enterprise.
Example
The handle of the request is -1, since the CopyApp method applies at the global level.
The GUID of the app to copy is 8709ddc9-67fe-4c11-a077-6dce9628ad07.
The GUID of the app entity to copy the app to is fc3874ab-e01b-42e6-a0a1-990f0de797ff.
The objects to copy in the app have the following identifiers:
- 091ab064-7dc3-4b12-a41d-994c36acc2ce
- cdff03d3-46fa-4ac6-8003-c0dadff0d4a5
- 53d68792-b521-4308-bab3-da94db55c24a.
The client sends:
{
"jsonrpc": "2.0",
"id": 7,
"method": "CopyApp",
"handle": -1,
"params": [
"fc3874ab-e01b-42e6-a0a1-990f0de797ff",
"8709ddc9-67fe-4c11-a077-6dce9628ad07",
[
"091ab064-7dc3-4b12-a41d-994c36acc2ce",
"cdff03d3-46fa-4ac6-8003-c0dadff0d4a5",
"53d68792-b521-4308-bab3-da94db55c24a"
]
]
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"qSuccess": true
}
}
The app is copied into the Qlik Sense repository.