Hi Mahi,

Please see 
https://cwiki.apache.org/confluence/display/OFBIZ/Variables+always+available+in+screen+context

HTH

Jacques

Le 22/04/2023 à 14:04, Mahi maheshwari a écrit :
Hello Community,

how can I know the session object values in .groovy
I want to know where the session object values are set and which file and
module. please share the path of that file.
I've included the piece of code for reference below.

  println "hey context==="+context.detailScreen
  println "what is session=================="+session.toString()
  if(security.hasEntityPermission("XERUS", "_ADMIN", session)){
  println "security value for
  ADMIN============="+security.hasEntityPermission("XERUS", "_ADMIN",
session)
  context.detailScreen = 'XerusAdminView'
}

Regards,
Maheshwari.

Reply via email to