GenericObject ExportDataAsync T  Method (NxExportFileType, String, String, NxExportState, Func Response, T , String)Qlik Sense .NET SDK - API Reference

Exports the data of any generic object to an excel file or a open XML file.

If the object contains some excluded values, these excluded values are not exported.

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

public Task<T> ExportDataAsync<T>(
	NxExportFileType fileType,
	string path = null,
	string fileName = null,
	NxExportState exportState = NxExportState.EXPORT_POSSIBLE,
	Func<Response, T> onResult,
	string userHandle = null
)

Parameters

fileType
Type: Qlik.Engine NxExportFileType
Type of the file to export. This parameter is mandatory.
path (Optional)
Type: OnlineSystem String
Path to the definition of the object to be exported. For example, /qHyperCubeDef. This parameter is mandatory if the file type is CSV_C or CSV_T.
fileName (Optional)
Type: OnlineSystem String
Name of the exported file after download from browser. This parameter is optional.
exportState (Optional)
Type: Qlik.Engine NxExportState
Defines which values should be exported. This parameter is optional. The default value is A.
onResult
Type: OnlineSystem Func Response, T 
Continuation function
userHandle (Optional)
Type: OnlineSystem String
Handle identifier
Type Parameters

T

Return Value

Type: OnlineTask T 

Implements

IGenericObject ExportDataAsync T (NxExportFileType, String, String, NxExportState, Func Response, T , String)
See Also