<?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: REST API, POST File: Need help with setting 'Creation Date', 'Modified Date', 'Modified By' in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-post-file-need-help-with-setting-creation-date-modified/m-p/134694#M36231</link>
    <description>&lt;P&gt;Protected fields are only managed by the repository using the Java API.&lt;/P&gt;
&lt;P&gt;If you need to set custom date fields, you have to define your own date fields in your content model definition.&lt;/P&gt;
&lt;P&gt;Hope this helps&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2023 14:37:21 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2023-11-30T14:37:21Z</dc:date>
    <item>
      <title>REST API, POST File: Need help with setting 'Creation Date', 'Modified Date', 'Modified By'</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-post-file-need-help-with-setting-creation-date-modified/m-p/134693#M36230</link>
      <description>&lt;P&gt;Dear reader,&lt;/P&gt;&lt;P&gt;I am using REST API to upload files/folder to Alfresco versions 5.2 and higher.&lt;/P&gt;&lt;P&gt;I've managed to upload many files/folder and set most of the properties.&lt;/P&gt;&lt;P&gt;But when I try to modify the following system fields: 'Creation Date', 'Modified Date', 'Created By', 'Modified By' my requests fail, without any specific message. (ECONNRESET)&lt;/P&gt;&lt;P&gt;I've done some research and I believe it's because these fields are protected, meaning I can't set them, or pass in them in the request body.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me to solve this issue?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 09:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-post-file-need-help-with-setting-creation-date-modified/m-p/134693#M36230</guid>
      <dc:creator>k_belfort</dc:creator>
      <dc:date>2023-11-30T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: REST API, POST File: Need help with setting 'Creation Date', 'Modified Date', 'Modified By'</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-post-file-need-help-with-setting-creation-date-modified/m-p/134694#M36231</link>
      <description>&lt;P&gt;Protected fields are only managed by the repository using the Java API.&lt;/P&gt;
&lt;P&gt;If you need to set custom date fields, you have to define your own date fields in your content model definition.&lt;/P&gt;
&lt;P&gt;Hope this helps&amp;nbsp;&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 14:37:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-post-file-need-help-with-setting-creation-date-modified/m-p/134694#M36231</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2023-11-30T14:37:21Z</dc:date>
    </item>
  </channel>
</rss>

