<?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 How to prevent changing cm:modifier when updating a property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290989#M244119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Share with Alfresco 4.2.c.&amp;nbsp; I would like to make it so that if someone changes a property of a document, but not the content, the cm:modifier doesn't change.&amp;nbsp; Does anyone know if there is a way to configure this behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using a BehaviourFilter, but hit a deadend because that required a Transaction.&amp;nbsp; And when I tried to instantiate the TrasactionService it required a QName to construct it.&amp;nbsp; I have not been able to fine a java class for QName anywhere that I can import into my share project.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate help with either of these problems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Can it just be configured this way using the ContentModel or some other config file.&amp;nbsp; (That would be preferable.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Which 4.2.c jar contains the class org.alfresco.service.namespace.Qname?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 03:21:02 GMT</pubDate>
    <dc:creator>rhinmass</dc:creator>
    <dc:date>2015-02-04T03:21:02Z</dc:date>
    <item>
      <title>How to prevent changing cm:modifier when updating a property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290989#M244119</link>
      <description>I am using Share with Alfresco 4.2.c.&amp;nbsp; I would like to make it so that if someone changes a property of a document, but not the content, the cm:modifier doesn't change.&amp;nbsp; Does anyone know if there is a way to configure this behaviour.I tried using a BehaviourFilter, but hit a deadend because that req</description>
      <pubDate>Wed, 04 Feb 2015 03:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290989#M244119</guid>
      <dc:creator>rhinmass</dc:creator>
      <dc:date>2015-02-04T03:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent changing cm:modifier when updating a property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290990#M244120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've already used the behaviour filter and I don't remember that it requires a specific transaction. I simply did something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;behaviourFilter.disableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ContentModel class is part of alfresco-data-model JAR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think there's a way to disable this behaviour thanks to configuration but, if you find a way to do that, I'm really interested. Another potential solution would be to override the class where this behaviour is defined.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 08:52:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290990#M244120</guid>
      <dc:creator>mlagneaux</dc:creator>
      <dc:date>2015-02-04T08:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent changing cm:modifier when updating a property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290991#M244121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;QName is&amp;nbsp; org.alfresco.service.namespace.QName in the alfresco-data-model project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 11:09:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-prevent-changing-cm-modifier-when-updating-a-property/m-p/290991#M244121</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-02-04T11:09:58Z</dc:date>
    </item>
  </channel>
</rss>

