<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
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.