Hello World Example error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2008 03:18 AM
Hi, I had a problem with the Hello World web script example.
I installed it according to the instructions on the wiki, but when called it displays a Node ID instead of the username.
The example source is
which returns
Hello 3c1d2fa1-28da-11dd-a247-ab869c0a51f4.
It looks like the person api is broken, at least on my system?
Also is there an API document that provides details of the Template API described in http://wiki.alfresco.com/wiki/Template_Guide ?
it just says
person Node representing the current users Person object.
I distilled info from the main wiki page into a quick start page, which is exactly what I did to set up the script: http://wiki.alfresco.com/wiki/Web_Scripts_Hello_World_Quick_Start
I installed it according to the instructions on the wiki, but when called it displays a Node ID instead of the username.
The example source is
Hello ${person.name}
which returns
Hello 3c1d2fa1-28da-11dd-a247-ab869c0a51f4.
It looks like the person api is broken, at least on my system?
Also is there an API document that provides details of the Template API described in http://wiki.alfresco.com/wiki/Template_Guide ?
it just says
person Node representing the current users Person object.
I distilled info from the main wiki page into a quick start page, which is exactly what I did to set up the script: http://wiki.alfresco.com/wiki/Web_Scripts_Hello_World_Quick_Start
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 10:50 AM
Hello, ${person.properties.userName}!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 12:18 PM
Fantastic - thanks briboe!
By the way - how do you find out that kind of information?
By the way - how do you find out that kind of information?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2008 05:00 PM
A lot of trial and error (with the emphasis on error)

