As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Web ScriptsGetting Started
Back to Web Scripts.
This page gives step by step instructions for creating your first Web Script.
You need a working Alfresco. I used 2.1 CE but it should work on anything later.
admin
hello.get.desc.xml
<webscript> <shortname>Hello</shortname> <description>Polite greeting</description> <url>/sample/hello</url> <authentication>user</authentication> </webscript>
hello.get.html.ftl
Hello ${person.properties.userName}
See the Web Scripts page for more information on creating web scripts.