Page 1 of 1

Auto renaming of Directory using Date in OpenKM 5.1.10

PostPosted:Tue Jan 08, 2013 7:59 am
by hariharan.gopal
We are debugging in scripting area in OpenKM, some functions are not getting called.
for example:

This is the error thrown on session.getUserID() function call
Code: Select all
"Typed variable declaration : Attempt to resolve method: getUserID() on undefined variable or class name: session : at Line: 6 : in file: inline evaluation of: ``import javax.jcr.*; import com.openkm.core.*; import com.openkm.bean.*; impor . . . '' : session .getUserID ( )"

Re: Auto renaming of Directory using Date in OpenKM 5.1.10

PostPosted:Wed Jan 09, 2013 7:14 pm
by jllort
Share here your code and we will take a look on it. Seems there's some error in scripting.