Data Plug-in
 The Data Plug-in adds more flexible import and export possibilities to Servoy via scripting.

With this version of the Plug-in you can work with:
  • CSV (comma delimited) files
  • DBF files
  • XML (native) files
  • TXT (tab delimited) files
  • QuickBooks contacts
  • Excel files (update and new)
Exporting data can be done from a 2D array (arrayname[][]), a dataset or a foundset

The header can be retrieved from the input dataset or set seperately via an array. Convenient to create logical headers to the user or use i18n headers.

Importing data returns a 2D array or a (again) a regular dataset.

It is not only possible to read and write an Excel sheet as an array of data but it is also possible to update an Excel sheet.
When using the readWorkBook and writeWorkBook methods it is possible to read and write a single cell, without touching/removing the available formatting and functions.
Since version 3.3 it is also possible to create a new Excel sheet with (limited) formatting properties.

The Plug-in also implements a function to execute a query on a database/table without the need of an available form. The function uses a server connection created in the Servoy preferences. There is no need however to enable the server.


Latest Servoy 4+/5+ (Eclipse) release available   4.1.46 06/11/2010
Latest Servoy 3 Classic release available 3.3-024 05/06/2010
 

Useful links