You can directly access scripts in the repository location using the Execute a script action or through a URL with the appropriate read permissions on the script document. You can import scripts on the classpath into other scripts but you cannot execute them directly in the Alfresco web client.
- Import a script from the repository using a name-based path:
<import resource="/Company Home/Data Dictionary/Scripts/library.js">
- Import a script from the repository using a NodeRef reference:
- Import a script from a Java classpath location: