Storing User / Computer preferences locally?

Does there exist a way to store user / machine specific preferences locally on the computer running the smart client? Things like printers to use, serial ports, parallel ports, etc…

Basically is there something like the Java Preferences API already built into servoy?

Yes. That has been around for a while:

application.setUserProperty(key, value)
http://wiki.servoy.com/display/public/D … erProperty

application.getUserProperty(key)
http://wiki.servoy.com/display/public/D … erProperty)

On Smart Client, in side of the /.servoy folder is a properties file and all of those properties get written in there, so they are persistent to the computer.

If you want more than single properties, you can also use the File plugin and put your own file in the .servoy folder with whatever you need in it.