Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Visual Client (P4V) Documentation | 2025.2

# HTML Tools preferences

HTML tools in P4V are tied to the feature property P4V.Features.HTMLTools. For details, see the topic Feature-related P4V properties in the P4 Server Administration Documentation.

This property is enabled by default.

For custom HTML pages that you add using HTML tools, P4V provides additional security by letting you specify the base URLs you want to permit. For example, if the following base URLs are permitted, P4V only accepts definitions and pages that match these base URLs:

- http://www.toolserver.com/customtabs
- http://www.toolserver.com/visualtools
- http://www.toolserver.com/pages
- http://www.toolserver.com/tabs

A URL that does not start with the base path listed in these URLs fails with a security exception error. However, local files are exempt.

HTML tools are enabled by default.

To try the demonstrations, enable demo mode, which applies only to the current session:

1. Go to Edit > Preferences (Windows) or P4V > Preferences (Mac).
2. In the Preferences dialog box, click the HTML Tools tab, and select the Run HTML Tools in demo mode checkbox.

If you want to restrict the locations from which HTML tools can run:

1. Select the Only accept HTML Tools from check box.

2. In the Accepted BaseURL dialog box, in the URL field, specify a URL to permit it and click OK.
3. To the right of the Permitted BaseURLs filed, click Add.
4. Add additional URLs, if you want, by repeating Steps 2 and 3.
5. Click OK.
6. Restart P4V.

- Your administrator can override your list of URLs by setting the `P4VJS.HTMLAllowList` property. You can use the Copy to Clipboard button to help you email a properly-formatted list of URLs for your administrator to consider allowing. (Your administrator might want to see P4VJS deployment properties in the P4 Server Administration Documentation.)

- HTML Tools support cookies. If you want to delete cookies, use Preferences > HTML Tools > Advanced Settings > Delete all cookies.

Your search for returned results