<?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 Re: Cm:preferences aspect so Cm:preferenceValues content is not keeped on the 1.0 version of documents in Alfresco 4.2 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306410#M259540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem might be caused by the way&amp;nbsp; you add aspect to your node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example you might forget adding cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references aspect when create a node,but during creating new versions you added the 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references' aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you paste your code here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way have you tried to use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mandatory-aspects &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; in your model definition and force the 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references' aspect to be applied automatically &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2014 09:08:24 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2014-06-06T09:08:24Z</dc:date>
    <item>
      <title>Cm:preferences aspect so Cm:preferenceValues content is not keeped on the 1.0 version of documents in Alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306409#M259539</link>
      <description>Hi, I have a web script that add cm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect and some json content to cm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues property.I try to keep the content in all versions of a document. When I look at to the version 1.0 of a document I can't see that aspect, neither its property. However, the problem is only in that ver</description>
      <pubDate>Tue, 03 Jun 2014 08:49:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306409#M259539</guid>
      <dc:creator>thbaymet</dc:creator>
      <dc:date>2014-06-03T08:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cm:preferences aspect so Cm:preferenceValues content is not keeped on the 1.0 version of documents in Alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306410#M259540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem might be caused by the way&amp;nbsp; you add aspect to your node.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example you might forget adding cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references aspect when create a node,but during creating new versions you added the 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references' aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can you paste your code here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way have you tried to use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mandatory-aspects &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; in your model definition and force the 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;references' aspect to be applied automatically &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 09:08:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306410#M259540</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-06-06T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cm:preferences aspect so Cm:preferenceValues content is not keeped on the 1.0 version of documents in Alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306411#M259541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Firstly, thank you for your reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I came back to that problem. I did as you say. Here is my "cm:content" type definition in "model/contentModel.xml" file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;type name="cm:content"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Content&amp;lt;/title&amp;gt;&lt;BR /&gt; &amp;lt;parent&amp;gt;cm:cmobject&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;archive&amp;gt;true&amp;lt;/archive&amp;gt;&lt;BR /&gt; &amp;lt;properties&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="cm:content"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type&amp;gt;d:content&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;index enabled="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tokenised&amp;gt;true&amp;lt;/tokenised&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/index&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/properties&amp;gt;&lt;BR /&gt;&amp;lt;mandatory-aspects&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;aspect&amp;gt;cm:preferences&amp;lt;/aspect&amp;gt;&lt;BR /&gt;&amp;lt;/mandatory-aspects&amp;gt;&lt;BR /&gt;&amp;lt;/type&amp;gt;&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;/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;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;/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;When I create (upload a new document), it has &amp;lt;strong&amp;gt;preferences&amp;lt;/strong&amp;gt; aspect. And I add some content to the &amp;lt;strong&amp;gt;cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues&amp;lt;/strong&amp;gt; property. When I upload a new version of a document, there are two nodes created in the version store. The first one which has cm:content of the old version doesn't contain &amp;lt;strong&amp;gt;cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues&amp;lt;/strong&amp;gt; property. And the second one which has &amp;lt;strong&amp;gt;cm:content&amp;lt;/strong&amp;gt; of the new version of the document, contains &amp;lt;strong&amp;gt;cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues&amp;lt;/strong&amp;gt; of the old version. So while I try to preview the old version the document, I use the nodeRef of the first one, but the content (json text) that I've stored in &amp;lt;strong&amp;gt;cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues&amp;lt;/strong&amp;gt; property is in the second one. This process is same for all other versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can get the &amp;lt;strong&amp;gt;cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;referenceValues&amp;lt;/strong&amp;gt; content of the next sibling for each node to resolve this problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, perhaps there is some way to keep this property. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 10:23:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306411#M259541</guid>
      <dc:creator>thbaymet</dc:creator>
      <dc:date>2014-07-10T10:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cm:preferences aspect so Cm:preferenceValues content is not keeped on the 1.0 version of documents in Alfresco 4.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306412#M259542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess your problem might cause by the operating order between making your node versionable and adding cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case you might makeing your node versionable(add versionable aspect)first and then&amp;nbsp; adding cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case,your original version which dose not have cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect is 1.0 ，then you add cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect to the node , a new version 1.1 with cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect is auto created ,and the original version 1.0 dose not have cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess by adding cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;reference aspect first and then making it versinable will solve your problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 08:16:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cm-preferences-aspect-so-cm-preferencevalues-content-is-not/m-p/306412#M259542</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-07-11T08:16:26Z</dc:date>
    </item>
  </channel>
</rss>

