Dear reader,
I am using REST API to upload files/folder to Alfresco versions 5.2 and higher.
I've managed to upload many files/folder and set most of the properties.
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)
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.
Can anyone help me to solve this issue?
Kind regards,
Kamil
Protected fields are only managed by the repository using the Java API.
If you need to set custom date fields, you have to define your own date fields in your content model definition.
Hope this helps
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.