11-20-2008 06:15 AM
NodeRef manager = getPersonService().getPerson(this.getManager());
projectProps.put(ProjectModel.ASPECT_PROJ_PROP_MANAGER,manager);I also tested getId() and getStoreRef().11-21-2008 05:02 AM
11-21-2008 03:18 PM
11-24-2008 03:14 AM
<associations>
<association name="project:projectmanager">
<title>Project manager</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>I am sure it worked before, with the same code. Very strange.
11-24-2008 09:00 AM
11-25-2008 05:21 AM
getManager() gives a String which is get by:
nodeService.getProperty(ref,
ContentModel.PROP_USERNAME).toString());
Where ref is a NodeRef from personService.getAllPeople();11-27-2008 03:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.