Written by Sam Jacobs:Summary This post explains how to hide or show applications and folders in Web Interface 5.x.
Background It is sometimes useful to hide content, folders, or published applications from Web Interface. The advantage of hiding a folder is that you only have to place an application into the hidden folder and it is automatically hidden. It also allows you to hide the application without disabling it.
On the other hand, you may wish to only show certain applications, folders, or sub-folders. You may also choose to show only a subset of applications in a sub-folder.
Requirements A working WI 5.x Web Interface site.
Procedure Download and unzip the attached file FilteredResources.zip. It contains modified global.asax(.cs) files for Web Interface versions 5.0, 5.3 and 5.4. Make sure to use the correct one, otherwise compilation errors will occur. Instructions for manually modifying other WI 5.x versions are also included. To verify the version of Web Interface installed, you may either check under Add/Remove Programs (or Programs and Features) for the Citrix Web Interface component, or search the WebInterface.conf file for the Version= key.
Add the following lines to the C:\Inetpub\wwwroot\Citrix/xenApp/conf/WebInterface.conf file:
(the last entry above would be used to show ONLY app3 in folderA (all others would be hidden)
FilteredFolders=\folder1,\folder2\sub-folderA (don't forget the initial slash)
(again, the last entry above would be used to show ONLY sub-folderA in folder2(all other apps/folders would be hidden)
FilteredAction= Hide (the default) or Show
Save the file and test.
Known Limitations Do not specify a folder whose name is the beginning of another folder. For example, do not hide or show the folder \appfolder, if there exists another folder called \appFolder1.
Disclaimer This code is provided “AS IS” with no representations, warranties or conditions of any kind. Please test this code before using on a production Web Interface site. While I will try my best to correct any issues that may be found, I cannot guarantee that I will have the time to do so.