AnsweredAssumed Answered

ReferenceError: 'avm' is not defined

Question asked by rafalp75 on Jul 17, 2007
Latest reply on Jul 18, 2007 by kevinr

I'm trying to run javascript for AVM (I've run example from I have following error:
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "avm" is not defined. (AlfrescoScript#39)
   at org.mozilla.javascript.ScriptRuntime.constructError(
   at org.mozilla.javascript.ScriptRuntime.constructError(
   at org.mozilla.javascript.ScriptRuntime.notFoundError(
   at org.mozilla.javascript.Interpreter.interpretLoop(
   at org.mozilla.javascript.Interpreter.interpret(
   at org.mozilla.javascript.ContextFactory.doTopCall(
   at org.mozilla.javascript.ScriptRuntime.doTopCall(
   at org.mozilla.javascript.InterpretedFunction.exec(
   at org.mozilla.javascript.Context.evaluateReader(
   at org.alfresco.repo.jscript.RhinoScriptService.executeScriptImpl(
   … 40 more

I have installed Alfresco (Community Network): Current version 1.4.0 (build-105) schema 21

Could anyone help me with this issue?

Thanks Rafal