textxport
Last updated
Was this helpful?
Last updated
Was this helpful?
(plugins.textxport)
The TextXport
plugin provides functionality for exporting data from a foundset into text-based formats like .tab
or .csv
, enabling flexible data management. Exports can be customized with separators and headers depending on requirements.
TextXport supports two main approaches for exporting data. The createExporter
method allows for setting up complex export configurations, while textExport
methods provide simpler, direct options for exporting with various levels of customization.
The createExporter
method generates an export setup for a specified foundset, allowing configuration of the data separator and the inclusion of headers. This is useful for more advanced export workflows. The textExport
methods perform direct exports to text-separated formats, such as tab-separated or comma-separated values. These methods allow specifying the foundset, data providers, separator, and header options to customize the exported output.
,,
Create exporter for easier export set up.
Export to text 'separated value' data (*.
Export to text 'separated value' data (*.
Export to text 'separated value' data (*.
Create exporter for easier export set up. Can either use this method (for more complex exports) or textExport(...) API
Parameters
Sample
Export to text 'separated value' data (*.tab/*.csv)
Parameters
Sample
Export to text 'separated value' data (*.tab/*.csv)
Parameters
Sample
Export to text 'separated value' data (*.tab/*.csv)
Parameters
Sample
foundSet the foundset to export with
separator the separator of the data
exportHeader export a header
Returns: A TabExporter object for easier export setup.
foundSet the foundset to export with
dataProviderIds the ids of the dataproviders
Returns: A String containing the exported text data with default separator (tab) and no header.
foundSet the foundset to export with
dataProviderIds the ids of the dataproviders
separator the separator of the data
Returns: A string containing the exported data in the specified text-separated format.
foundSet the foundset to export with
dataProviderIds the ids of the dataproviders
separator the separator of the data
exportHeader true for exporting with the table header, false for not
Returns: A String containing the exported text data with the specified separator and header (if exportHeader is true).