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.
<webscript> <shortname>Hello User</shortname> <description>Personalized greeting</description> <url>/hellouser</url> <authentication>user</authentication> <negotiate accept="text/html">html</negotiate> <negotiate accept="application/json">json</negotiate> </webscript>
Hello ${person.properties.userName}
{greeting: "hello", user: "${person.properties.userName}"}
Hello User GET /alfresco/service/hellouser — Personalized greeting — Authentication: user Transaction: required Format Style: any Default Format: html Id: hellouser.get Descriptor: workspace://SpacesStore/app:company_home/app:dictionary/cm:extensionwebscripts/hellouser.get.desc.xml
<format default="json">extension</format>
http://localhost:8080/alfresco/s/hellouser?format=json