lotus notes - Run server side javascript in an agent -


Is a server parsing a way to run javascript in lotus notes?

I have a Java agent with this simple script

  ScriptEngineManager manager = new ScriptEngineManager (); ScriptEngine Engine = manager.getEngineByName ("JavaScript"); Binding Binding = Engine Betaed (); Binding. Input ("session", session); Object result = engine.eval ("var v: notesView = session.getCurrentDatabase (). GetView ('all documents formname'); print (v.getTitle ());", bindings; println (result);  <  

But this does not work.

Do you have any suggestions?

Comments