Skip to end of metadata
Go to start of metadata

Refresh page Jul 07, 2020 15:42

Supported Clients
SmartClient WebClient NGClient

Methods Summary
DataProviderExport addDataProvider(dataprovider) Add a dataprovider from specified foundset to export.
String textExport() Export to text 'separated value' data (*.

Methods Details

addDataProvider(dataprovider)

Add a dataprovider from specified foundset to export.

Parameters

String dataprovider The dataprovider string to add as a column to export

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var exporter = plugins.textxport.createExporter(forms.form1.foundset,';',true);
exporter.addDataProvider('orderid').setHeaderText('Order ID');
exporter.addDataProvider('item_id').setValueList('myvaluelist');
exporter.addDataProvider('mydate').setFormat('yyyy/dd/MM');
var content = exporter.textExport();

textExport()

Export to text 'separated value' data (*.tab/*.csv), based on values set on exporter

Returns

Supported Clients

SmartClient,WebClient,NGClient

Sample

var exporter = plugins.textxport.createExporter(forms.form1.foundset,';',true);
exporter.addDataProvider('orderid').setHeaderText('Order ID');
exporter.addDataProvider('item_id').setValueList('myvaluelist');
exporter.addDataProvider('mydate').setFormat('yyyy/dd/MM');
var content = exporter.textExport();

  • No labels