cancel
Showing results for 
Search instead for 
Did you mean: 

How to change cm:creator ,cm:modifier for a document ?

vinayasree
Champ in-the-making
Champ in-the-making

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?

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

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.

Hyland Developer Evangelist
Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.