Hi Dan,
Can you send me with the WI mods for hiding publish applications?
Thanks,
Tien
tiencrx@yahoo.com
Does any one know how I would be able to hide published apps for certain users but not all?I have two scenarios for outside users:1. We need some users to have access to only a published desktop through the citrix web interface but then have access to all there apps in the published desktop.2. We need some users to have access to a few apps on the citrix web interface but not the published desktop.Thank you,-Ari
Dan-
I'd like to check out the code. Where do I find your email address ?
Thanks.
Do you need the code for Web Interface, or PN Agent? I'll try to post the code. It looks like we can't send emails from this site.
Why is it called "Common Sense"? It doesn't seem all that common!
If anyone is intersted, I have tested my application filter code with WI 5.x, and it appears to work with that version.
I would be very interested in the code for showing only the apps specified. How can I get them? Is the code available at a Website in the meantime?
Hanspeter
It looks like this site doesn't support uploading any more (it used to) so I'll try to find a home for these so you can download them. I've updated the filter code for both WI 5.0 and 5.1. I also have updated code for PNA sites under 5.0 (haven't tweaked the PNA 5.1 code yet).
I can post it to my blog site if you like. Email me - info @ vcit dot ca
Alan Osborne
President (MCSE, CCNA, VCP, CCA)
VCIT Consulting - Citrix/Terminal Services Remote Desktop Solutions for SMB
VCIT website My Blog
Alan,
They are on their way! Thanks for the offer to post them!
Dan
Hi,
I've done up a quick post on my blog with a link to the Web Interface mod. I'll be adding another blog post shortly for the PNA mod.
All credits go to Dan, I'm just hosting the files:
http://www.vcit.ca/wordpress/2009/05/25/hiding-published-application-icons-citrix-xenapp-web-interface/
Hello Dan,
I downloaded the code. However I'm experiencing problems.
I do have the following published applications, coming from 2 different farms:
- Desktop Vollbild
- Desktop 95%
- Desktop 08 - Vollbild
- Desktop 08 95%
besides more than 100 others. On the WebInterface for my ThinClients, I would like to show only "Desktop Vollbild" and "Desktop 08 - Vollbild". Referencing these 2 Apps in WebInterface.conf like:
HiddenApps=Desktop_08 - Vollbild, Desktop_Vollbild HiddenFolders=
will show me all the folders, but no Applications at all. If possible I would like to not show all the folders exept the ones specified as it should work for the applications.
Comparing the version of the global.asax modified by you and the original I noticed, the yours is based on WebInterface 5.0.1 and my original created during installation is 5.1.1:
// global.asax // Copyright (c) 2002 - 2008 Citrix Systems, Inc. All Rights Reserved. // Web Interface 5.0.1.29110
// global.asax // Copyright (c) 2002 - 2009 Citrix Systems, Inc. All Rights Reserved. // Web Interface 5.1.1.0
Comparing the 2 files I noticed many differences and I was wondering if the code is not working because of that?
best regards
The global.asax files for 5.1 is different than the one used for 5.0, so you can't use the 5.0 mod for a 5.1 site. If you're confortable with modifying the code yourself, the modifications from the 5.0 file CAN be dropped into a 5.1 site with minimal differences. but, the 5.1 file has additional code which MUST be there in order for it to work, so the 5.0 file can't be used.
Just found this post today. I'm trying to do the same as pretty much everyone else on the post. I'm using a WI 5.1.1 site so I grabbed the global.asax and copied the changes into the global.asax file already on the server. I can get the filtered application part to work, for example I set the show variable to true and then add the FilteredApps= line to the WebInterface.conf file and that works great. The only problem is like the above post, where I cannot hide the folders no matter what I do.
If I set "Show" to true and do nothing to the webinterface.conf then as expected no apps show up, but all the folders are still there. If I set it to true and add the FilteredApps to the webinterface.conf then I see the apps I added, but all the folders are still present even though no apps are visible in them
What am I missing in order to hide folders?
The only lines that I copied over to the global.asax file were:
// NEW CODE TO ADD FILTERING IS BELOW THIS LINE webPN.addGlobalFilter( new HiddenApplicationsFilter( config ) ); webPN.addGlobalFilter( new HiddenFoldersFilter( config ) ); // NEW CODE TO ADD FILTERING IS ABOVE THIS LINE and the two class definitions at the very bottom. Did I miss something?
// NEW CODE TO ADD FILTERING IS BELOW THIS LINE
webPN.addGlobalFilter( new HiddenApplicationsFilter( config ) );
webPN.addGlobalFilter( new HiddenFoldersFilter( config ) );
// NEW CODE TO ADD FILTERING IS ABOVE THIS LINE
and the two class definitions at the very bottom. Did I miss something?
Dumb question. Global.asax controls theweb interface, or PNAgent?
and which does web interface.comf control?