TabExporter
Last updated
Was this helpful?
Last updated
Was this helpful?
The TabExporter
plugin enables exporting data from a Servoy FoundSet
into text-based formats such as CSV or tab-separated files. This is useful for generating reports or sharing data with external systems.
The addDataProvider
method allows specifying the data providers (columns) from the FoundSet
to include in the export. Each column can be customized with attributes such as header text, value lists, or date formats, providing flexibility in how data is represented.
The textExport
method generates the export as a text string based on the defined configuration. This string can then be saved to a file or used directly for sharing or further processing.
Add a dataprovider from specified foundset to export.
Export to text 'separated value' data (*.
Add a dataprovider from specified foundset to export.
Parameters
dataprovider The dataprovider string to add as a column to export
Returns: dataprovider export object
Sample
Export to text 'separated value' data (*.tab/*.csv), based on values set on exporter
Sample
Returns: exported text