cancel
Showing results for 
Search instead for 
Did you mean: 

Constraint : list of values

bch
Champ in-the-making
Champ in-the-making
Hi,

I have created my own content model and I have applied a constraint on a property to specify all available values. Per example, I have a property named P and all available values are : A ; B ; C or D.

If I have made a mistake (the value A is not correct, it's AA), how can I change all contents saved (with the property P=A to transform P=AA) ?

Thank you
1 REPLY 1

kevinr
Star Contributor
Star Contributor
You can write a JavaScript to do this, and execute it as the admin user who will be able to write to all users documents.
http://wiki.alfresco.com/wiki/JavaScript_API

Thanks,

Kevin