Skip to main content Skip to complementary content

ReplaceAppFromID method

Overview

Replaces an app with the objects from a source app.

The list of objects in the app to be replaced must be defined in qIds.

Information noteThe data model of the app cannot be updated.
Information noteThis method applies only if running in server mode.

Parameters

Name Description Type
qTargetAppId

Identifier (GUID) of the target app.

The target app is the app to be replaced.

This parameter is mandatory.

String
qSrcAppID

Identifier (GUID) of the source app.

The objects in the source app will replace the objects in the target app.

This parameter is mandatory.

String
qIds

QRS identifiers (GUID) of the objects in the target app to be replaced. Only QRS-approved GUIDs are applicable.

An object that is QRS-approved, is for example an object that has been published (i.e not private anymore).

If an object is private, it should not be included in this list.

If qIds is empty, the engine automatically creates a list that contains all QRS-approved objects.

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.

Array of string

Outputs

The following is returned in the output:

"result": { "qSuccess": <true or false>
}
Information noteThe operation is successful if qSuccess is set to true.

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!