Staging P4V help files locally

If the P4V host does not have internet access, P4V cannot access the help files by default. In this case, you can make them available from a locally staged location.

Prerequesites

For locally staged help to work, both P4V and the Helix Server need to be running version 2014.2 or later.

Staging location types

The following types of staging locations are known to work; others may work if a standard URI is available:

  • A file system local to the P4V client host (or locally accessible). This could be a share mapped to a local drive letter on Windows, or a remote Unix filesystem mounted locally. This shared file location is not cross platform because you can only specify one path (Unix/Mac/Windows).
  • A UNC share accessible to the P4V client host. This is only applicable to Windows clients.
  • A website accessible to the P4V client. This can be made cross platform provided every client platform has access to the website.

Procedure

To stage help files locally:

  1. Download the help files, which has p4vsuite_en-help.zip for the compressed archive. The exact location of this file varies depending on the version of P4V. For example, the r23.2 location on the Perforce filehost is for the 2023.2 release.

  2. Unzip p4vsuite_en-help.zip to the required staging location.

    The staging location must be accessible to the P4V client, either as a file path or a URI.

    Following are examples for each type of staging location:

    • Local P4V client file system on Windows: C:\p4vsuite_en-help
    • Local P4V client file system on Linux/Unix: /var/www/html/p4vsuite_en-help
    • UNC share: \\myserver\myshare\p4vsuite_en-help
    • Web server (if you type this URL into a browser, it should list the "perforce" folder that is a subfolder of p4vsuite_en-help): http://mywebserver/p4vsuite_en-help
  3. On the Helix Server, set the P4V.Help.URL property.

    Note

    The property name is case sensitive.

    Following are examples for setting P4V.Help.URL for each type of staging location:

    • When staging from a local file system on Windows (note the use of forward slashes (/) as path separator, not backward slashes (\) as expected on Windows):

      p4 property -a -n P4V.Help.URL -v C:/p4vsuite_en-help/
    • When staging from a local file system on Linux/Unix:

      p4 property -a -n P4V.Help.URL -v /var/www/html/p4vsuite_en-help/
    • When staging from a UNC share (note the use of forward slashes (/) as path separator, not backward slashes (\)):

      p4 property -a -n P4V.Help.URL -v file://myserver/myshare/p4vsuite_en-help/
    • When staging from a Web server:

      p4 property -a -n P4V.Help.URL -v http://mywebserver/p4vsuite_en-help/
  4. Start P4V and go to Help > P4V Help to test if accessing the files works.