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.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.0.1.0 (1.0.1.0)
Task<T> ExportDataAsync<T>(
NxExportFileType fileType,
string path = null,
string fileName = null,
NxExportState exportState = NxExportState.EXPORT_POSSIBLE,
Func<Response, T> onResult,
string userHandle = null
)
Task<T> ExportDataAsync<T>(
NxExportFileType fileType,
string path = null,
string fileName = null,
NxExportState exportState = NxExportState.EXPORT_POSSIBLE,
Func<Response, T> onResult,
string userHandle = null
)
Function ExportDataAsync(Of T) (
fileType As NxExportFileType,
Optional path As String = Nothing,
Optional fileName As String = Nothing,
Optional exportState As NxExportState = NxExportState.EXPORT_POSSIBLE,
onResult As Func(Of Response, T),
Optional userHandle As String = Nothing
) As Task(Of T)
Function ExportDataAsync(Of T) (
fileType As NxExportFileType,
Optional path As String = Nothing,
Optional fileName As String = Nothing,
Optional exportState As NxExportState = NxExportState.EXPORT_POSSIBLE,
onResult As Func(Of Response, T),
Optional userHandle As String = Nothing
) As Task(Of T)
Parameters
- fileType
- Type: Qlik.Engine NxExportFileType
Type of the file to export.
This parameter is mandatory.
- path (Optional)
- Type:
System 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:
System 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:
System Func Response, T
Continuation function
- userHandle (Optional)
- Type:
System String
Handle identifier
- T
Return Value
Type:
Task T