<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic get the author after 'modify content propertie' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-the-author-after-modify-content-propertie/m-p/149714#M104649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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&amp;nbsp; to do. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i tried to get the author after this code lignes&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Map&amp;lt;QName, Serializable&amp;gt; authorProps = new HashMap&amp;lt;QName, Serializable&amp;gt;(1, 1.0f);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; authorProps.put(ContentModel.PROP_AUTHOR, this.author);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.getNodeService().addAspect(fileNodeRef, ContentModel.ASPECT_AUTHOR, authorProps);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; writeAuthor(author);&amp;nbsp; //this will write the author in a text file&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; in BaseContentWizard.java but i see that it's null and it's normal because the file don't have an author&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so i cant see where to get the author String after that i added an author from (modify content properties)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2008 14:35:54 GMT</pubDate>
    <dc:creator>tchotchatown</dc:creator>
    <dc:date>2008-05-27T14:35:54Z</dc:date>
    <item>
      <title>get the author after 'modify content propertie'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-the-author-after-modify-content-propertie/m-p/149714#M104649</link>
      <description>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&amp;nbsp; to do. i tried to get the author after this code lignes&amp;nbsp;&amp;nbsp;&amp;nbsp; Map&amp;lt;QName, Serializable&amp;gt; authorProps = new HashMap&amp;lt;Q</description>
      <pubDate>Tue, 27 May 2008 14:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-the-author-after-modify-content-propertie/m-p/149714#M104649</guid>
      <dc:creator>tchotchatown</dc:creator>
      <dc:date>2008-05-27T14:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: get the author after 'modify content propertie'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-the-author-after-modify-content-propertie/m-p/149715#M104650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are modifying the content wizard, I'd assume after the node is created, you can pull that information out of the newly created node.&amp;nbsp; I.e. somewhere in finishImpl, after you save the node, you should be able to get the author information (if it gets set automatically by the repo - i am not sure about the specifics there). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, here are two alternatives:&amp;nbsp; One of two (or both) ways should work: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Crate a content rule that runs a JavaScript script when a document gets added.&amp;nbsp; The script can copy the author information elsewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Create a behavior that gets triggered onCreateNode that captures the same information.&amp;nbsp; The behavior can point to either java code or javascript. .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-behavior/behavior-article.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-behavior/behavior-article.pdf&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2008 22:10:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-the-author-after-modify-content-propertie/m-p/149715#M104650</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-05-27T22:10:23Z</dc:date>
    </item>
  </channel>
</rss>

