Page 1 of 1

Adding new value in Config

PostPosted:Thu Sep 04, 2014 9:43 am
by mohasinmujawar56
I want to add a new value in Config section of Administration. In source code I have done some modifications like adding the field and assigning the values to it. But am not able get that value in jsp page for editing. Can you guide me on this?

Re: Adding new value in Config

PostPosted:Fri Sep 05, 2014 6:21 pm
by jllort
Take a look here http://doxygen.openkm.com/openkm/d7/d2a ... d_a_o.html
Code: Select all
// Example with String, but can be List etc...
ConfigDAO.getString(key, defaultValue);
If property not exists it will be created automatically.