Scripted import?

Sorry for the very basic question but I already did a search both throughout all the pdf docs for Servoy 3, and on these forums, and cannot find this info.

How does one script an import of records into Servoy? Under what node can I find this function in the editor?

And export?

I will be needing to do this for tab-delimited files and do not wish to expose the import or export dialog to users.

Thanks!

nomi

The Import under the file menu is (currently) not scriptable. But it is very easy to read a tab seperated file and do the import in a method. You could also have a look at it2be’s data plugin (www.it2be.com), that might make it easier for you.

And a future version of the Data plugin will also mimic the import/export dialogs that Servoy has.
These dialogs will see additional features and have an option to store the settings as a script that even can be stored as a flat text string in a text file or to the back end database.

Ciao

Have a look at the following threads for pointers on how this is done:

Marcel, what is your best guess as to when this future version will be available? Will it be possible to methodically limit the fields that users can see in the export dialog?

Thanks,

Jim