cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript

borja
Champ in-the-making
Champ in-the-making
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/S...



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
1 REPLY 1

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

Perhaps it would be useful if you posted the details of the script you are executing?

Cheers,
Roy