User manual

Table Of Contents
5
https://horizon.mycompany.com/?applicationId=Notepad&action=start-session
The HTML Access Web client is launched and connects to the horizon.mycompany.com server. The login
box prompts the user for a user name, domain name, and password. After a successful login, the
Notepad application is launched.
6
https://horizon.mycompany.com:7555/?desktopId=Primary%20Desktop
This URI has the same eect as the previous example, except that it uses the nondefault port of 7555 for
Connection Server. (The default port is 443.) Because a desktop identier is provided, the desktop is
launched even though the start-session action is not included in the URI.
7
https://horizon.mycompany.com/?applicationId=Primary%20Application&desktopId=Primary
%20Desktop
This URI species both an application and a desktop. When you specify both an application and a
desktop, only the desktop is launched.
8
https://horizon.mycompany.com/?desktopId=Primary%20Desktop&action=reset
The HTML Access Web client is launched and connects to the horizon.mycompany.com server. The login
box prompts the user for a user name, domain name, and password. After a successful login, the client
displays a dialog box that prompts the user to conrm the reset operation for Primary Desktop.
N This action is available only if the Horizon administrator has allowed end users to reset their
machines.
9
vmware-horizon://10.10.10.10/My%20Notepad++?args=%22My%20new%20file.txt%22
Opens My Notepad++ on server 10.10.10.10 and passes the argument My new file.txt in the
application launch command. The lename is enclosed in double quotes because it contains spaces.
10
vmware-horizon://10.10.10.10/Notepad++%2012?args=a.txt%20b.txt
Opens Notepad++ 12 on server 10.10.10.10 and passes the argument a.text b.txt in the application
launch command. Because the argument is not enclosed in double quotes, a space separates the
lenames and the two les are opened separately in Notepad++.
N Applications can dier in the way they use command-line arguments. For example, if you pass
the argument a.txt b.txt to WordPad, WordPad opens only one le, a.txt.
11
https://horizon.mycompany.com/?desktopId=Primary%20Desktop&action=restart
The HTML Access Web client is launched and connects to the horizon.mycompany.com server. The login
box prompts the user for a user name, domain name, and password. After a successful login, the client
displays a dialog box that prompts the user to conrm the restart operation for Primary Desktop.
N This action is available only if the Horizon administrator has allowed end users to restart their
machines.
HTML Code Examples
You can use URIs to make hypertext links and buons to include in emails or on Web pages. The following
examples show how to use the URI from the rst URI example to code a hypertext link that says, Test Link,
and a buon that says, .
<html>
<body>
<a href="https://horizon.mycompany.com/?domainName=finance&userName=fred">Test Link</a><br>
<form><input type="button" value="TestButton" onClick="window.location.href=
Chapter 2 Configuring HTML Access for End Users
VMware, Inc. 25