grouping Element
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
The grouping element defines a group of applications displayed in the Web PI interface.
Schema Hierarchy
feed Element
preferences Element
Syntax
<!-- Example of grouping products by application type -->
<feed>
<entry>
<title>Product A</title>
<appType>Developer</appType>
<!-- some required elements are not displayed in these examples -->
</entry>
<entry>
<title>Product B</title>
...
</entry>
<entry>
<title>Product C</title>
<appType>ITPro</appType>
...
</entry>
...
<groupings>
<grouping>
<id>ApplicationType</id>
<attribute>appType</attribute>
<!-- The "appType" value corresponds to the appType child element of the entry element -->
</grouping>
</gropuings>
<!-- In the Web PI, the ApplicationType grouping includes two products, Product A and Product B. Product A is displayed in a "Developer" group box, and Product B is displayed in an "ITPro" group box. -->
</feed>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element | Description |
---|---|
id |
Defines the ID of the grouping. |
attribute |
The value of the attribute element corresponds to the name of an element that is a child element of an entry element. This is accomplished by including an appType child element in each entry element that defines a product to include in the grouping. The grouping element must contain a child attribute element that has a value of appType to associate those products with the grouping. |
include |
Optional. Contains one or more child item elements that specify the attribute element values to include in the grouping. Only entry elements that contain a child element of the same name are displayed in the Web PI grouping. The value of the optional installed attribute can be "true" or "false". The default value is "true". When set to "false", the products that are already installed are not displayed in the grouping in the Web PI interface. |
defaultGrouping |
The defaultGrouping element specifies the default value for the element defined by the peer attribute element when that element is not included in an entry element. |
Parent Elements
Element | Description |
---|---|
groupings |
Contains one or more child grouping elements that define a group of applications to display in the Web PI interface. |