We recommend reading this tutorial, in the sequence listed in the left menu. Learn by Examples Examples are better than words.
The API is similar to the Alfresco Template API - with a significant difference in that it allows modification and creation of nodes, aspects, and properties. Using the API script writers can: All the usual Alfresco security and ACL permissions apply.
The correct scripting implementation will be automatically selected by the ScriptService when executing a script file based on the file extension of the script being executed.
Aug 04, · You place the remove code where you need to say ‘STOP’ listening now. So it is up to you. But your way of writing the addEventListener and the way that the example is written are two different ways of doing it..
Change your code so that the addEvent has a named function and put your code for the properties in that.