cancel
Showing results for 
Search instead for 
Did you mean: 

Ordering PropertySheetGrid Properties

steel
Champ in-the-making
Champ in-the-making
Is there a way to order the PropertySheetGrid properties?  I have them ordered correctly in my content model but the system properties such as "Date Modified" appear before my custom properties. Is there a way to make these appear below? or even not at all?

thanks.
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
The order the properties are shown is determined by the order in which the config files are loaded and the order of the matching config sections within those files.

The web-client-config-custom.xml file is loaded last so any properties defined in there will naturally appear after all standard properties.

Fortunately, there is a way around it. If you look at http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide there is a section on overriding the "webClientConfigSource" spring bean which determines what files are read and in what order. Add another entry at the appropriate place in the list to get your file loaded.

Alternatively, you could re-define the properties to show for the affected type in your custom file and use the replace="true" attribute on the config section, this is also mentioned on the wiki page above.

steel
Champ in-the-making
Champ in-the-making
The order the properties are shown is determined by the order in which the config files are loaded and the order of the matching config sections within those files.

The web-client-config-custom.xml file is loaded last so any properties defined in there will naturally appear after all standard properties.

Fortunately, there is a way around it. If you look at http://wiki.alfresco.com/wiki/Web_Client_Configuration_Guide there is a section on overriding the "webClientConfigSource" spring bean which determines what files are read and in what order. Add another entry at the appropriate place in the list to get your file loaded.

Alternatively, you could re-define the properties to show for the affected type in your custom file and use the replace="true" attribute on the config section, this is also mentioned on the wiki page above.

Excellent! Thank You!