<?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 Alfresco System Properties - Override in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-system-properties-override/m-p/110203#M30861</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could anyone advise if it is possible to custom define/override the system-audit attributes while inserting a new document/content into Alfresco using REST-API POST request end-point - e.g.: cm:created, cm:modified ??&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jun 2020 21:18:22 GMT</pubDate>
    <dc:creator>MJay</dc:creator>
    <dc:date>2020-06-30T21:18:22Z</dc:date>
    <item>
      <title>Alfresco System Properties - Override</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-system-properties-override/m-p/110203#M30861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could anyone advise if it is possible to custom define/override the system-audit attributes while inserting a new document/content into Alfresco using REST-API POST request end-point - e.g.: cm:created, cm:modified ??&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2020 21:18:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-system-properties-override/m-p/110203#M30861</guid>
      <dc:creator>MJay</dc:creator>
      <dc:date>2020-06-30T21:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco System Properties - Override</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-system-properties-override/m-p/110204#M30862</link>
      <description>&lt;P&gt;As far as i know, you can not override the default auditable properties such as creator, created, modifier, modified etc by any means. These properties are protected and mandatory by design.&lt;/P&gt;
&lt;P&gt;See the auditable aspect which is defined in default content model:&lt;/P&gt;
&lt;PRE&gt;&amp;lt;aspect name="cm:auditable"&amp;gt;
	&amp;lt;title&amp;gt;Auditable&amp;lt;/title&amp;gt;
	&amp;lt;properties&amp;gt;
		&amp;lt;property name="cm:created"&amp;gt;
			&amp;lt;title&amp;gt;Created&amp;lt;/title&amp;gt;
			&amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;
			&amp;lt;protected&amp;gt;true&amp;lt;/protected&amp;gt;
			&amp;lt;mandatory enforced="true"&amp;gt;true&amp;lt;/mandatory&amp;gt;
			&amp;lt;index enabled="true"&amp;gt;
				&amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;
				&amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt; 
				&amp;lt;tokenised&amp;gt;both&amp;lt;/tokenised&amp;gt;
				&amp;lt;facetable&amp;gt;true&amp;lt;/facetable&amp;gt;
			&amp;lt;/index&amp;gt;
		&amp;lt;/property&amp;gt;
		&amp;lt;property name="cm:creator"&amp;gt;
			&amp;lt;title&amp;gt;Creator&amp;lt;/title&amp;gt;
			&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
			&amp;lt;protected&amp;gt;true&amp;lt;/protected&amp;gt;
			&amp;lt;mandatory enforced="true"&amp;gt;true&amp;lt;/mandatory&amp;gt;
			&amp;lt;index enabled="true"&amp;gt;
				&amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;
				&amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt; 
				&amp;lt;tokenised&amp;gt;true&amp;lt;/tokenised&amp;gt;
				&amp;lt;facetable&amp;gt;true&amp;lt;/facetable&amp;gt;
			&amp;lt;/index&amp;gt;
		&amp;lt;/property&amp;gt;
		&amp;lt;property name="cm:modified"&amp;gt;
			&amp;lt;title&amp;gt;Modified&amp;lt;/title&amp;gt;
			&amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;
			&amp;lt;protected&amp;gt;true&amp;lt;/protected&amp;gt;
			&amp;lt;mandatory enforced="true"&amp;gt;true&amp;lt;/mandatory&amp;gt;
			&amp;lt;index enabled="true"&amp;gt;
				&amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;
				&amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt; 
				&amp;lt;tokenised&amp;gt;both&amp;lt;/tokenised&amp;gt;
				&amp;lt;facetable&amp;gt;true&amp;lt;/facetable&amp;gt;
			&amp;lt;/index&amp;gt;
		&amp;lt;/property&amp;gt;
		&amp;lt;property name="cm:modifier"&amp;gt;
			&amp;lt;title&amp;gt;Modifier&amp;lt;/title&amp;gt;
			&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;
			&amp;lt;protected&amp;gt;true&amp;lt;/protected&amp;gt;
			&amp;lt;mandatory enforced="true"&amp;gt;true&amp;lt;/mandatory&amp;gt;
			&amp;lt;index enabled="true"&amp;gt;
				&amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;
				&amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt; 
				&amp;lt;tokenised&amp;gt;true&amp;lt;/tokenised&amp;gt;
				&amp;lt;facetable&amp;gt;true&amp;lt;/facetable&amp;gt;
			&amp;lt;/index&amp;gt;
		&amp;lt;/property&amp;gt;
		&amp;lt;property name="cm:accessed"&amp;gt;
			&amp;lt;title&amp;gt;Accessed&amp;lt;/title&amp;gt;
			&amp;lt;type&amp;gt;d:datetime&amp;lt;/type&amp;gt;
			&amp;lt;protected&amp;gt;true&amp;lt;/protected&amp;gt;
			&amp;lt;index enabled="true"&amp;gt;
				&amp;lt;atomic&amp;gt;true&amp;lt;/atomic&amp;gt;
				&amp;lt;stored&amp;gt;false&amp;lt;/stored&amp;gt; 
				&amp;lt;tokenised&amp;gt;both&amp;lt;/tokenised&amp;gt;
			&amp;lt;/index&amp;gt;
		&amp;lt;/property&amp;gt;
	&amp;lt;/properties&amp;gt;
&amp;lt;/aspect&amp;gt;&lt;/PRE&gt;
&lt;P&gt;However, if you have a very specific requirement then, you can create custom properties (to map created, modified info) in your custom content model and set the values as needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 00:34:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-system-properties-override/m-p/110204#M30862</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-07-01T00:34:46Z</dc:date>
    </item>
  </channel>
</rss>

