go to post Scott Fadden · Nov 13, 2020 Eduard, Thanks for the reply. The challenge is that I cannot find a way to use the Python interface to pass a properties object to ClassMethodValue, and I don't see another appropriate function. iris.classMethodValue() — calls a user defined ObjectScript method and gets the returned value. iris.classMethodVoid() — calls a user defined ObjectScript method, ignoring any returned value. iris.function() — calls a function of a user defined ObjectScript routine and gets the returned value. iris.procedure() — calls a procedure of a user defined ObjectScript routine.
go to post Scott Fadden · Oct 28, 2020 Thanks Eduard, I think I finally found the answer, use the correct class. Using %SYS.Journal.System instead of Config.Journal updating and reading the setting is very easy. returnValue = dbnative.classMethodValue("%SYS.Journal.System","SetPrimaryDirectory","/iris/journal/") print("Set Primary Directory: ", returnValue ) returnValue = dbnative.classMethodValue("%SYS.Journal.System","GetPrimaryDirectory") print("Get Primary Directory: ", returnValue ) Thanks for your reply.