You can use the category attribute in a <property> tag to group similar properties together in a Repository user interface. All properties with the same category attribute value are listed together. For example, Login name and Password are listed together under the heading Login. The <property> tags that define the login and password properties each use the attribute category="Login".

If you examine the Basics category in the ATG Control Center user profile display, you will see the properties First name, Middle name, and Last name listed in that order. The order these properties appear in the ATG Control Center depends on the propertySortPriority attribute. Properties with the same category attribute are listed in ascending order according to the integer value of their propertySortPriority attributes. Properties that do not have a propertySortPriority attribute are listed in alphabetical order.

For example:

<property category="Basics" name="firstName" data-type="string"
          display-name="First name">
   <attribute name="propertySortPriority" value="-3"/>
</property>
Category Ordering

Categories are listed in the ACC in the following order:

Within each of these four sets, categories are listed in alphabetical order.

Property Ordering

Properties are listed together with other properties that have the same category attribute. Within a category, properties are listed in ascending order, according to the value of their propertySortPriority attribute. The default value for propertySortPriority is 0. Properties that have the same propertySortPriority value are listed in alphabetical order, according to their display-name attribute. The propertySortPriority attribute is set in an <attribute> tag that is a child tag of the <property> tag, as in this example:

<property category="Basics" name="firstName" data-type="string"
          display-name="First name">
   <attribute name="propertySortPriority" value="-3"/>
</property>
 
loading table of contents...