cancel
Showing results for 
Search instead for 
Did you mean: 

Add a new property to all existing documents in alfresco by model?

emirozmen
Champ on-the-rise
Champ on-the-rise

Hi,

Is it possible to add a property to the all existing documents within the alfresco? I want to add a new property with a default value but I don't know if it's possible to do.

1 ACCEPTED ANSWER

LeoMattioli
Employee
Employee

As far as I know, it's not possible. You can add the property to your model, but existing documents will not be modified. You need to create a script/something to modify them.

If you need to update many docs, consider a bulk update. See this article https://connect.hyland.com/t5/alfresco-forum/bulk-update-of-a-property/m-p/8960.

Hope this helps.


Leo Mattioli - Technical Account Manager @Hyland.

View answer in original post

1 REPLY 1

LeoMattioli
Employee
Employee

As far as I know, it's not possible. You can add the property to your model, but existing documents will not be modified. You need to create a script/something to modify them.

If you need to update many docs, consider a bulk update. See this article https://connect.hyland.com/t5/alfresco-forum/bulk-update-of-a-property/m-p/8960.

Hope this helps.


Leo Mattioli - Technical Account Manager @Hyland.