4.2.2 Message with Subfolders and Display Folder
The following is an example of a message adhering to schema version 2.0 that specifies a DisplayFolder attribute and a <SubFolders> element.
-
<?xml version="1.0" encoding="utf-8"?> <ResourceCollection PubDate="2011-06-17T19:04:10.5016737Z" SchemaVersion="2.0" xmlns="http://schemas.microsoft.com/ts/2007/05/tswf"> <Publisher LastUpdated="2011-06-17T19:03:31.5149404Z" Name="Example Connection" ID="examplehost.exampledomain" Description="" SupportsReconnect="true" DisplayFolder="/"> <SubFolders> <Folder Name="/Utility" /> <Folder Name="/System tools" /> </SubFolders> <Resources> <Resource ID="e13cf7ba28237d579452c939bf0ce33157b2effb" Alias="wordpad-Remote-CmsRdsh" Title="WordPad" LastUpdated="2011-06-17T19:03:31.5149404Z" Type="RemoteApp"> <Icons> <IconRaw FileType="Ico" FileURL="https://contoso.com/RDWeb/img/rawicon/wordpad-Remote-CmsRdsh.ico" /> <Icon32 Dimensions="32x32" FileType="Png" FileURL="https://contoso.com/RDWeb/img/png/wordpad-Remote-CmsRdsh_32x32.png" /> </Icons> <FileExtensions /> <Folders> <Folder Name="/" /> </Folders> <HostingTerminalServers> <HostingTerminalServer> <ResourceFile FileExtension=".rdp" URL="/RDWeb/Pages/rdp/examplehost.exampledomain-wordpad-Remote-CmsRdsh.rdp" /> <TerminalServerRef Ref="examplehost.exampledomain" /> </HostingTerminalServer> </HostingTerminalServers> </Resource> </Resources> <TerminalServers> <TerminalServer ID="examplehost.exampledomain" Name="examplehost.exampledomain" LastUpdated="2011-06-17T19:03:31.5149404Z" /> </TerminalServers> </Publisher> </ResourceCollection>