2.2.2.3.1 Resource Element
The <Resource> element describes one resource, such as an application that can be launched remotely. It contains all information that a client requires to display and launch the application. This element defines the following attributes:
ID: A unique identifier for the resource. This identifier MUST be unique among all other resource identifiers within the containing <Resource> element (section 2.2.2.1.3). The unique identifier SHOULD be generated in such a manner that the identifier remains the same on each request for the XML file.
Alias: An identifier that the server uses to look up the requested resource. This identifier MUST be unique among all other resource identifiers within the containing <Resources> element (section 2.2.2.1.3). The unique identifier SHOULD be generated in such a manner that the identifier remains the same on each request for the XML file.
Title: The name of the resource. The client SHOULD use the value of this attribute to display the resource name to the user.
LastUpdated: An optional time stamp, which specifies the last time that anything changed in this resource. The time stamp MUST be in xs:dateTime format.
Type: The type of resource that this <Resource> element specifies. This type MUST be either "Desktop" or "RemoteApp". If the resource will start a complete desktop on a remote computer, use the "Desktop" type; otherwise, use the "RemoteApp" type.
ExecutableName: This attribute specifies the executable that runs on the server if this resource is launched.
RequiredCommandLine: This attribute is ignored by the client and MUST NOT be used by the server.
ShowByDefault: Clients MAY take advantage of this attribute to run in two different modes: "install" mode, and "catalog" mode.
Clients running in "install" mode SHOULD ignore all resources with a ShowByDefault value of "false" and make all resources with a ShowByDefault value of "true" available to be launched by the user.
Clients running in "catalog" mode SHOULD provide a list of all resources to the user and let the user choose which ones to make available to be launched.
This attribute SHOULD be included in the <Resource> element and MUST be in the form xs:boolean. If this attribute is not present in the <Resource> element, clients MUST act as if it were present with a value of "true".