I'm trying to implement a usersettings.json file for a pre-existing Datacap application. The file is being detected and parsed by the application, but the settings aren't being reflected in the user interface.
I think I'm doing it right - I have a "defaultValue" and a "resetValue" for all the settings I wish to explicitly set, along with a "version" for each section.
Here is an example:
"datacapweb.client.JMonitor":{
"visibleAttrs":{
"defaultValue":[
{"id":"qs_qid"},
{"id":"pb_batch"},
{"id":"qu_status"},
{"id":"qu_task"},
{"id":"qs_start"},
{"id":"pb_UserID"},
{"id":"pb_ndocs"},
{"id":"pb_pages"}
],
"resetValue":[
{"id":"qs_qid"},
{"id":"pb_batch"},
{"id":"qu_status"},
{"id":"qu_task"},
{"id":"qs_start"},
{"id":"pb_UserID"},
{"id":"pb_ndocs"},
{"id":"pb_pages"}
],
"version":2
},
"docInfo": {
"defaultValue": 2,
"resetValue": 2,
"version":2
}
}
In this example I would expect the Job name to not appear in the Job Monitor, but it's still there when I log in (it had been explicitly included originally by the user, and I would expect this entry to override the user's settings).
We haven't bounced any of the servers nor any databases - is that necessary?
p.s. I know the file is being read and parsed because there were a couple of formatting errors in my first cut, and the application barfed on it when I logged in. I fixed the formatting errors and the error messages went away.
------------------------------
Tom DeLuca
------------------------------