Is there a way to read / update system parameters using cws (settings in the opentext.ini file and from the kini table)? Basically using cws to update values as if you were doing in the Administration Screens
Hi James,
Not in a traditional sense, no. You won't really be able to "set" them, but reading should be easy.
If you want to seriously consider "setting" anything in the admin pages, you would need to create your own service, as per: https://knowledge.opentext.com/knowledge/cs.dll/fetch/-15106263/15106294/15106295/17990637/62345549/createService.html
I am not aware of any "API" that can make these changes, out of the box, without bypassing a lot of important protections (in essence, your CWS application would be opening an ODBC/JDBC connection and just running an UPDATE against the database itself, which I would not recommend). OScript is unavoidable if you must pursue changes to the admin settings.
For reading the settings, it's not difficult.
You can just use the runReport method in DocumentManagement, referencing a specific LiveReport that will return the admin settings, in whatever fashion, you would like.
Hugh, who frequents these forums, once wrote up a sample on how to use runReport, if you would like to reference it, as a start: https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=68823458&objAction=viewincontainer
Thanks,
Nizar