AnsweredAssumed Answered

get the author after 'modify content propertie'

Question asked by tchotchatown on May 27, 2008
Latest reply on May 27, 2008 by jbarmash
hello ,
i'm using SVN for developing on alfresco and i need to copie the properties(author ,description) that we added in the wizar "modify content properties" but i cant find how  to do.
i tried to get the author after this code lignes   

Map<QName, Serializable> authorProps = new HashMap<QName, Serializable>(1, 1.0f);
      authorProps.put(ContentModel.PROP_AUTHOR, this.author);
      this.getNodeService().addAspect(fileNodeRef, ContentModel.ASPECT_AUTHOR, authorProps);

       writeAuthor(author);  //this will write the author in a text file



in BaseContentWizard.java but i see that it's null and it's normal because the file don't have an author
so i cant see where to get the author String after that i added an author from (modify content properties)

Outcomes