Hub ReplaceAppFromIDAsync Method (String, String, IEnumerable String , String)Qlik Sense .NET SDK - API Reference

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.

The data model of the app cannot be updated. This method applies only if running in server mode.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax

public Task<bool> ReplaceAppFromIDAsync(
	string targetAppId,
	string srcAppID,
	IEnumerable<string> ids,
	string userHandle = null
)

Parameters

targetAppId
Type: OnlineSystem String
Identifier (GUID) of the target app. The target app is the app to be replaced. This parameter is mandatory.
srcAppID
Type: OnlineSystem String
Identifier (GUID) of the source app. The objects in the source app will replace the objects in the target app. This parameter is mandatory.
ids
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
QRS identifiers (GUID) of the objects in the target app to be replaced. If an object is private, it should not be included in this list. 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.
userHandle (Optional)
Type: OnlineSystem String
Handle identifier

Return Value

Type: OnlineTask OnlineBoolean 

Implements

IHub ReplaceAppFromIDAsync(String, String, IEnumerable String , String)
See Also