AnsweredAssumed Answered

Javascript

Question asked by borja on Sep 14, 2010
Latest reply on Sep 23, 2010 by rwetherall
I´m trying to execute a javascript using a REST-style of execution. The script that i'm using is: alfresco docs.js that is in Company Home > Scripts i´ve got the following error in debugger when i put the following url:

http://localhost:8080/alfresco/command/script/execute?scriptPath=/Company%20Home/Data%20Dictionary/Scripts/alfresco%20docs.js



the exception in the script is: org.mozilla.javascript.EcmaError: ReferenceError: "space" is not defined. (workspace://SpacesStore/facdd856-6ad1-45c4-a5a1-63e326c42d21#2)


The word "space" appear in the script but what´s wrong. What should I do to execute the script?

Best Regards,


Borja

Outcomes