# ReplaceAppFromID method

Replaces objects of a target app with the objects from a source app. The list of objects in the app to be replaced must be defined in *qIds*.

Information note

The data model of the app cannot be updated.

Information note

This operation is possible only in Qlik Sense Enterprise.

Information note

The operation is successful if **qSuccess** is set to true.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qTargetAppId | Identifier (GUID) of the target app.<br>The target app is the app to be replaced. | Yes | String |
| qSrcAppID | Identifier (GUID) of the source app.<br>The objects in the source app will replace the objects in the target app. | Yes | String |
| qIds | QRS identifiers (GUID) of the objects in the target app to be replaced. Only QRS-approved GUIDs are applicable.<br>An object that is QRS-approved, is for example an object that has been published (for example, not private anymore).<br>If an object is private, it should not be included in this list.<br>If the array of identifiers contains objects that are not present in the source app, the objects related to these identifiers are removed from the target app.<br>If *qIds* is empty, no objects are deleted in the target app. | Yes | Array of String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qSuccess | &lt;true or false&gt; | Boolean |

## Access Control

`update`