In the Horizon Cloud Administration Console, you create customization assignments to assign settings that customize your end users' environments. One type of customization is URL redirection. You can define URL handling rules where the Horizon Client redirects URLs from the end user's client machine to a desktop or application provided by your Horizon Cloud environment. A URL redirection configuration gives the Horizon Client information about which URLs should be handled by one of the end user's assigned Horizon Cloud desktops or applications instead of being opened by the user's local system.
- The administrative console provides a user interface for you to configure client-to-agent URL redirection. To configure agent-to-client URL redirection, you must use group policy settings as described in #GUID-A3CA2652-F613-4B17-9B57-66E09F4BE097. The steps below are for configuring client-to-agent URL redirection.
- When your Horizon Cloud tenant is configured to use Universal Broker for your pods in Microsoft Azure, creating these URL redirection customizations is not currently supported.
The Horizon Client fetches an end user's assigned URL redirection rules when the user logs in to the Horizon Client on their local device. Then when that user attempts to open a link in a local document or file and the link matches a URL pattern rule in the assigned settings, Horizon Client determines the appropriate handler to use. The handlers are specified opens the user's assigned desktop or application to handle the URL link, as determined by the appropriate handler you specified in the URL redirection configuration. If the URL redirection handler specifies to use a desktop, the desktop's default application for the link's specified protocol processes the URL. If the handler specifies to use an application, the user's assigned application processes the URL. If the user is not entitled to the desktop or application specified in the handler, Horizon Client displays a message to the user, unless you have specified Strict Match as No for the handler.
In the scenario where Strict Match is set to No, the system locates a resource to use based on this fall-back behavior:
- The system searches the user's assignments using a substring match of the target resource specified for the handler. If the system finds an assignment that matches the substring, that assigned desktop or application is used to open the link.
- When the handler's Resource Type is set to Application, if the search for a substring match fails, the system searches the user's application assignments for an assigned application that can handle the protocol specified in the handler's Scheme field.
Note: This step in the fall-back behavior only applies for applications. If the Resource Type is set to Desktops, this step is skipped.
- If the system cannot locate a resource in the user's assignments that can handle the protocol, Horizon Client displays a message to the user.
URL_FILTERING_ENABLED=1
option to give the client the capability to handle the URL redirection feature. For details, see the
Installing Horizon Client for Windows with the URL Content Redirection Feature topic in the VMware Horizon documentation.
When your environment is integrated with Workspace ONE Access, the user must have opened at least one application using Horizon Client before the URL redirection feature can work for that user. By opening at least one application using the Open in Client option, the user's assigned URL redirection configuration is loaded into the client device's registry where Horizon Client can get the configuration values.
A customization assignment can be turned inactive by using the Take Offline button on the Assignments page. A user can be assigned more than one active customization for URL redirection settings. To avoid potential conflicts between rules from different active configurations, when the user logs in to Horizon Client, the system:
- Sets only one configuration in effect, even when that user has more than one active configuration assigned.
- Uses the URL redirection configuration that is alphabetically first as the configuration in effect for the user.
Prerequisites
In the console, you can create a customization for URL redirection even before you have any desktops or remote applications in your Horizon Cloud inventory. However, before the URL redirection flow works for those end users specified in the customization, the following prerequisites must be met:
- The Horizon agent in the base image used by the farm was installed using the
URL_FILTERING_ENABLED=1
parameter on the command line. - Your Horizon Cloud inventory has the desktops and remote applications that you intend to use in the configuration.
- If the customization has Strict Match set to Yes, assignments must exist that entitle the specific desktops and remote applications to the end users specified in the customization.