Tuesday, July 8, 2014

How to put Custom Disclaimer for VMware Horizon View 5.x portal

To put the custom disclaimer on the VMware Horizon View 5.x portal you need to actually use the portal download page and then follow the procedure below

Download the installer files for the types of View Client you want to use in your environment. The URL to the View Clients download page ishttps://www.vmware.com/go/viewclients.
Determine which HTTP server will host the installer files. The files can reside on a View Connection Server instance or on another HTTP server.


On the HTTP server where the installer files will reside, create a folder for the installer files.
For example, to place the files in a downloads folder on the View Connection Server host, in the default installation directory, use the following path:
C:\Program Files\VMware\VMware View\Server\broker\webapps\downloads
The links to the files would then use URLs with the format https://server-name/downloads/client-installer-file-name. For example, a server with the name view.mycompany.com would use the following URL for View Client for Windows:https://view.mycompany.com/downloads/VMware-viewclient.exe. In this example, the folder named downloads is located in the webapps root folder.

Copy the View Client installer files into the folder.
If the folder resides on View Connection Server, you can replace any files in this folder without having to restart the VMware View Connection Server service.

On the View Connection Server machine, copy the portal-links.properties file and the portal.properties file located ininstall-path\Server\Extras\PortalExamples.

Create a portal folder the directory C:\ProgramData\VMware\VDM, and copy the portal-links.properties andportal.properties files into the portal folder.

Edit C:\ProgramData\VMware\VDM\portal\portal-links.properties file to point to the new location of the installer files.
You can edit the lines in this file and add to them if you need to create more links. You can also delete lines.
The following examples show properties for creating two links for View Client for Windows and two links for View Client for Linux:
In this example, y.y.y-XXXX indicates the version and build number. The win text at the end of the line indicates that this link should appear in the browser if the client has a Windows operating system. Use win for Windows, linux for Linux, and mac for Mac OS X.

Edit C:\ProgramData\VMware\VDM\portal\portal.properties file to specify the text to display for the links.
These lines appear in the section of the file called # keys based on key names in portal-links.properties.
The following example shows the text that corresponds to the links specified for link.win and link.win.1:
text.win=View Client for Windows 32 bit Client users
text.win.1=View Client for Windows 64 bit Client users

Restart the VMware View Connection Server service.

When end users enter the URL for View Connection Server, they see links with the text you specified. The links point to the locations you specified.

All the above steps are taken from the official Documentation for easy reference.

Hope you will now think about changing the portal :-)

Enjoy !!

Share and Care !!