AnsweredAssumed Answered

[SOLVED]Adding cm:person as property (aspect) from wizard.

Question asked by libman on Nov 20, 2008
Latest reply on Nov 27, 2008 by libman
Hi,

I have a wizard where I get the list of usernames. When selected, I get from personService the user. I did not get a null, so it should be good. But while adding it as property (association), the property is empty after the wizard is finished. I can select persons in the detail view.

I use the following codes:
NodeRef manager = getPersonService().getPerson(this.getManager());
projectProps.put(ProjectModel.ASPECT_PROJ_PROP_MANAGER,manager);
I also tested getId() and getStoreRef().

Other properties are set (string) correctly. The QName is checked and is correct.

What can the problem be?

Thanks very much.

Outcomes