Creating your own parameters
Esta página aún no está disponible en tu idioma.
You can take advantage of the application configuration parameters feature to store your own parameters.
To create a new configuration parameter:
-
Go to Administration > Utilities > Database query.
-
Select JDBC option from the list at the bottom.
-
Write a query like this
INSERT INTO OKM_CONFIG (CFG_KEY, CFG_TYPE, CFG_VALUE) VALUES ('your.property.name', 'string', 'some value'); -
Click at Execute button at top right.
Sample
Section titled “Sample”You can access it from source code to the properties.
// If the parameter not exists, by default is set to "initial value"String value = ConfigDAO.getString("your.property.name", "initial value");