This plugin allows the enabling/disabling of the Smart Client menuitems that expose the generic text import/export logic.
{column:padding=0px|width=80px}{column}{column}{column}
Property Summary
exportEnabled
Enable the export feature of this plugin.
importEnabled
Enable the import feature of this plugin.
{column:padding=0px|width=80px}{column}{column}{column}
Method Summary
textExport(foundSet, dataProviderIds, [separator], [exportHeader])
Export to text 'separated value' data (*.
{column:padding=0px|width=100%}{column}
Property Details
Enable the export feature of this plugin.
Returns
Boolean
Sample
plugins.textxport.exportEnabled = true; var isEnabled = plugins.textxport.exportEnabled;
Enable the import feature of this plugin.
Returns
Boolean
Sample
plugins.textxport.importEnabled = true; var isEnabled = plugins.textxport.importEnabled;
{column:padding=0px|width=100%}{column}
Method Details
textExport
(foundSet, dataProviderIds, [separator], [exportHeader])
Export to text 'separated value' data (*.tab/*.csv)
Parameters
foundSet
dataProviderIds
[separator]
[exportHeader]
Returns
String
Sample
//export with default separator(tab) and no header var dataToBeWritten = plugins.textxport.textExport(forms.form1.foundset,['id','name']); //export with ';' separator and no header var dataToBeWritten = plugins.textxport.textExport(forms.form1.foundset,['id','name'],';'); //export with ';' separator and header var dataToBeWritten = plugins.textxport.textExport(forms.form1.foundset,['id','name'],';',true);