cancel
Showing results for 
Search instead for 
Did you mean: 

Sort all the properties alphabetically belonging to different types in content-model.xml

ankitjainmanit
Champ on-the-rise
Champ on-the-rise

Hello,

I have my content-model.xml which contains different <types>, totally i have 5 different types with parent inheriting one another type.

Each type has multiple properties and I want them to sort so that when a file belonging to a particular object type is uploaded to Alfresco all the attributes come in alphabetic order.

Basically I want to sort all properties combined if A inherits B, B inherits C, C inherits D and D inherits E.

Here A,B,C,D,E are different object types.

I tried to do below change in share-config-custom.xml however it does not work :

<!-- Document Library config section -->
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<sorting>
<sort label="label">ns:field</sort>
</sorting>

1 REPLY 1

ankitjainmanit
Champ on-the-rise
Champ on-the-rise

any help would be very useful.