Skip to main content Skip to complementary content

GetFileTablePreview method

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

Parameters

Name Description Mandatory Type
qConnectionId

Identifier of the connection.

Yes String
qRelativePath

Path of the connection file.

No String
qDataFormat

Type of the file.

Yes FileDataFormat
qTable

Name of the table. This parameter must be set for XLS , XLSX , _HTML  _ and XML files.

Yes String

Returns

Name Description Type
qPreview

List of the tables.

Array of DataRecord
qFormatSpec

List of format specification items, within brackets. Examples of specification items:

  • file type
  • embedded labels, no labels
  • table is <table name>
String

Access Control

reload

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!