How to configure "TreatAsApp" in XenDesktop 7.8 and 7.15
Instructions
Because of the change in architecture, in Xendesktop delivery groups we have to make changes in the Desktop tab and in 7.6 we need to make changes in User Settings.
If Keywords:TreatAsApp is not used:
Then also we can achieve same thing using command line
=================================================
use commandline on the StoreFront
1. asnp Citrix*
2. & "C:\Program Files\Citrix\Receiver StoreFront\Scripts\ImportModules.ps1"
3.
$storeService = Get-STFStoreService
4. Set-STFStoreEnumerationOptions $storeService -EnhancedEnumeration $true5. Set-EnhancedEnumerationOptions -siteId 1 -storeVirtualPath /Citrix/Store -treatDesktopsAsApps $true
Explanation
1. Creation of Delivery Group:
created a delivery group here:
Edited Desktop:

Browsed Site:

If we set “TreatAsApp” in keyword, it will get our desktop in Apps tab. However to removed “Desktop” field we need to make changes in storefront:
Now, to set from
Storefront 3.5


In StoreFront 3.5 this is added in GUI, however earlier we used to do same by editing the config file:
This is configurable via web.config under the Receiver for Web site, normallyC:\inetpub\wwwroot\Citrix\StoreWeb. Open this file in your favorite text editor and locate the following segment:
<uiViews showDesktopsView="true" showAppsView="true"
defaultView="desktops" />
Change the value of defaultView to be apps:
<uiViews showDesktopsView="true" showAppsView="true"
defaultView="apps" />
Difference between XD 7.8 and XD 7.6: XenDesktop 7.8:

User Settings: is only for Administrator:

XenDesktop 7.6:
In Server OS delivery Group:

In Desktop OS delivery group:

So because of this change in architecture, in XenDesktop delivery groups we have to make changes in the Desktop tab in 7.8 and in 7.6 we need to make changes in User Settings.
If Keyword:TreatAsApp is not used: Then also we can achieve same thing
==========================================================
use commandline on the storefront
1. asnp Citrix*
2. & "C:\Program Files\Citrix\Receiver StoreFront\Scripts\ImportModules.ps1"
3. Set-EnhancedEnumerationOptions -siteId 1 -storeVirtualPath /Citrix/Store
-treatDesktopsAsApps $true