I have written a custom function uploadFileinAcs() which uploads files to Alfresco. Every time when a document is uploaded through this function I want to change the name of cm:creator and cm:modifier to some "xyz". How do I achieve this?
It's not recommended to modify those fields, since they are protected by the "cm:auditable" aspect.
You may change this behaviour, but it would provoke some side effects on the system.
It should be better to add some custom aspect to include these properties.
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.