# GetFileTablePreview Method

## Overloads

| [GetFileTablePreview(String, String, FileDataFormat, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFileTablePreview.htm#Qlik_Engine_IApp_GetFileTablePreview_System_String_System_String_Qlik_Engine_FileDataFormat_System_String_) |  | Lists the values in a table for a folder connection.<br><br>FileType<br><br>Recognized file formats are:<br><br>\* `CSV` for Delimited<br><br>\* `FIX` for Fixed Record<br><br>\* `DIF` for Data Interchange Format<br><br>\* `EXCEL_BIFF` for Microsoft Excel (XLS)<br><br>\* `EXCEL_OOXML` for Microsoft Excel (XLSX)<br><br>\* `HTML` for HTML<br><br>\* `QVD` for QVD file<br><br>\* `XML` for XML<br><br>\* `QVX` for QVX file<br><br>\* `JSON` for JSON format<br><br>\* `KML` for KML file<br><br>\* `PARQUET` for PARQUET file |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFileTablePreview.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetFileTablePreview.htm)

## GetFileTablePreview(String, String, FileDataFormat, String)

Lists the values in a table for a folder connection.

#### FileType

Recognized file formats are:

* CSV for Delimited
* FIX for Fixed Record
* DIF for Data Interchange Format
* EXCEL\_BIFF for Microsoft Excel (XLS)
* EXCEL\_OOXML for Microsoft Excel (XLSX)
* HTML for HTML
* QVD for QVD file
* XML for XML
* QVX for QVX file
* JSON for JSON format
* KML for KML file
* PARQUET for PARQUET file

### Declaration

```

          GetFileTablePreviewResult GetFileTablePreview([QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null, [QixName("qDataFormat")] FileDataFormat dataFormat, [QixName("qTable")] string table)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | connectionId | Identifier of the connection. |
| System.String | relativePath | Path of the connection file. |
| [FileDataFormat](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.FileDataFormat.htm) | dataFormat | Type of the file. |
| System.String | table | Name of the table.<br>This parameter must be set for `XLS` , `XLSX` , ` HTML   ` and `XML` files. |

### Returns

| Type | Description |
| --- | --- |
| [GetFileTablePreviewResult](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GetFileTablePreviewResult.htm) |  |