Click or drag to resize
GenericObjectApplyPatchesAsync Method

Applies a patch to the properties of an object. Allows an update to some of the properties.

It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch. In that case, the result of the operation on the properties (add, remove or delete) is not shown when doing GetProperties and only a GetLayout call shows the result of the operation. Properties that are not persistent are called soft properties. Once the session is over, soft properties are cleared.

Soft properties apply only to generic objects.Applying a patch takes less time than resetting all the properties.

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public Task ApplyPatchesAsync(
	IEnumerable<NxPatch> patches,
	bool softPatch = false,
	AsyncHandle asyncHandle = null
)

Parameters

patches
Type: System.Collections.GenericIEnumerableNxPatch
Array of patches.
softPatch (Optional)
Type: SystemBoolean
If set to true, it means that the properties to be applied are not persistent. The patch is a soft patch. This parameter is optional. Default is false.
asyncHandle (Optional)
Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request

Return Value

Type: Task

Implements

IGenericObjectApplyPatchesAsync(IEnumerableNxPatch, Boolean, AsyncHandle)
See Also