Facing Error While getting backend Document in xpages (SSJS) On Lotus Notes Client -


i facing issue in workflow application developed on xpages using ssjs. have status field text field containing status 0 20. when document send initiator , status value set 0. concerned initiator try re-submit request system generates error while accessing values using datasource. unable backend document value. same code works in browser. can please guide me issue code accessing backend value client. following error:

unexpected run time error [typeerror] exception occurred calling method notesdocument.getitemvalue(string) null  var mtitle = leavedoc.getdocument().getitemvaluestring("type");  if (mtitle == "cancel") { return "leave application cancellation form" } else { return "leave application form" } 

please have @ , guide me.

thanks


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -