<?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: How to preserve comments on document version update? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-preserve-comments-on-document-version-update/m-p/315949#M2950</link>
    <description>&lt;P&gt;Hi,
If you want to store any comments that needs to be stored and can be editable, then go with custom metadata or use Nuxeo's widgets for that.&lt;/P&gt;
&lt;P&gt;Add additional &lt;STRONG&gt;row&lt;/STRONG&gt; in your file edit layout, and define the widget for &lt;STRONG&gt;Comments&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;rows&amp;gt;
				&amp;lt;row&amp;gt;
					&amp;lt;properties mode="any"&amp;gt;
						&amp;lt;property name="nxl_colspan_0"&amp;gt;1&amp;lt;/property&amp;gt;
					&amp;lt;/properties&amp;gt;
					&amp;lt;widget&amp;gt;title&amp;lt;/widget&amp;gt;
				&amp;lt;/row&amp;gt;
&amp;lt;/rows&amp;gt;
 &amp;lt;widget name="comment_widget" type="text"&amp;gt;
        &amp;lt;labels&amp;gt;
                &amp;lt;label mode="any"&amp;gt;Comments&amp;lt;/label&amp;gt;
        &amp;lt;/labels&amp;gt;
            &amp;lt;translated&amp;gt;false&amp;lt;/translated&amp;gt;
            &amp;lt;fields&amp;gt;
                &amp;lt;field&amp;gt;your_schema:comment_type&amp;lt;/field&amp;gt;
            &amp;lt;/fields&amp;gt;
        _   &amp;lt;properties widgetMode="edit"&amp;gt;
                &amp;lt;property name="required"&amp;gt;true&amp;lt;/property&amp;gt;
        &amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also refer my answer &lt;A href="https://answers.nuxeo.com/general/q/053af67a59794e0887e8c75ca4d9a44c/How-to-add-custom-attributes-to-content" target="test_blank"&gt;https://answers.nuxeo.com/general/q/053af67a59794e0887e8c75ca4d9a44c/How-to-add-custom-attributes-to-content&lt;/A&gt; for more info.&lt;/P&gt;
&lt;P&gt;Kindly revert for clarifications.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2016 09:42:34 GMT</pubDate>
    <dc:creator>Pradeep_Bhat</dc:creator>
    <dc:date>2016-03-15T09:42:34Z</dc:date>
    <item>
      <title>How to preserve comments on document version update?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-preserve-comments-on-document-version-update/m-p/315948#M2949</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've noticed that, by default, nuxeo (5.4.2) doesn't store comments when updating the version of a document. Instead, any comment you enter in this field (in Modify/Edit tab) is always replaced by the text automatically generated by nuxeo when updating a document version. Comments are only stored by nuxeo when the document version keeps unchanged, as it can be seen in the History tab.&lt;/P&gt;
&lt;P&gt;Can this behaviour be modified so that comments are stored even when the document version has been updated, be it minor or major?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2012 14:48:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-preserve-comments-on-document-version-update/m-p/315948#M2949</guid>
      <dc:creator>acn_</dc:creator>
      <dc:date>2012-06-12T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to preserve comments on document version update?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-preserve-comments-on-document-version-update/m-p/315949#M2950</link>
      <description>&lt;P&gt;Hi,
If you want to store any comments that needs to be stored and can be editable, then go with custom metadata or use Nuxeo's widgets for that.&lt;/P&gt;
&lt;P&gt;Add additional &lt;STRONG&gt;row&lt;/STRONG&gt; in your file edit layout, and define the widget for &lt;STRONG&gt;Comments&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;rows&amp;gt;
				&amp;lt;row&amp;gt;
					&amp;lt;properties mode="any"&amp;gt;
						&amp;lt;property name="nxl_colspan_0"&amp;gt;1&amp;lt;/property&amp;gt;
					&amp;lt;/properties&amp;gt;
					&amp;lt;widget&amp;gt;title&amp;lt;/widget&amp;gt;
				&amp;lt;/row&amp;gt;
&amp;lt;/rows&amp;gt;
 &amp;lt;widget name="comment_widget" type="text"&amp;gt;
        &amp;lt;labels&amp;gt;
                &amp;lt;label mode="any"&amp;gt;Comments&amp;lt;/label&amp;gt;
        &amp;lt;/labels&amp;gt;
            &amp;lt;translated&amp;gt;false&amp;lt;/translated&amp;gt;
            &amp;lt;fields&amp;gt;
                &amp;lt;field&amp;gt;your_schema:comment_type&amp;lt;/field&amp;gt;
            &amp;lt;/fields&amp;gt;
        _   &amp;lt;properties widgetMode="edit"&amp;gt;
                &amp;lt;property name="required"&amp;gt;true&amp;lt;/property&amp;gt;
        &amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also refer my answer &lt;A href="https://answers.nuxeo.com/general/q/053af67a59794e0887e8c75ca4d9a44c/How-to-add-custom-attributes-to-content" target="test_blank"&gt;https://answers.nuxeo.com/general/q/053af67a59794e0887e8c75ca4d9a44c/How-to-add-custom-attributes-to-content&lt;/A&gt; for more info.&lt;/P&gt;
&lt;P&gt;Kindly revert for clarifications.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:42:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-preserve-comments-on-document-version-update/m-p/315949#M2950</guid>
      <dc:creator>Pradeep_Bhat</dc:creator>
      <dc:date>2016-03-15T09:42:34Z</dc:date>
    </item>
  </channel>
</rss>

