cancel
Showing results for 
Search instead for 
Did you mean: 

Syncronize attribute value with 'name' property

eolith
Champ on-the-rise
Champ on-the-rise
Hello, I'd like to know if there's any way to make an object property to have the same value as the object name (is a subtype of cm:folder). So if I change the folder name, this attribute also changes to the new folder name, and viceversa.

Thanks!!
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
What's wrong with the existing cm:name property?

Assuming that you still need some sort of derived property one approach would be a policy that fires whenever your folder is updated.

eolith
Champ on-the-rise
Champ on-the-rise
There's nothing wrong with the cm:name Smiley Happy It's only about a weird project requirement…

Thank you for your help!!