Hi,
How can I access the plugin properties that are set from the servoy-admin page? I can see that the properties are written in the servoy.properties files. But how can I get them into my plugin when the application restarts?
Thanks,
Sean
Hi,
How can I access the plugin properties that are set from the servoy-admin page? I can see that the properties are written in the servoy.properties files. But how can I get them into my plugin when the application restarts?
Thanks,
Sean
Sean, this is not too difficult. The best way to find it is to take the mail plugin. Here you will find how to do it.
Basically it comes down to the method getSettings() from the interface IServerAccess. getting the property can be done like
private IServerAccess application;
//after initialization
Object property = application.getSettings().getProperty("property_name");