Custom HTML Actions, HTML Tabs, and HTML Windows

HTML Actions provide a way to customize behavior before or after a Submit action. To develop your own custom HTML Actions, see the Add custom HTML pages to P4V topic in the P4V API for JavaScript Documentation, which also explains custom tabs and custom windows.

HTML Windows from multiple sources

HTML Windows follow the same source model as Custom Tools.

When multiple sources are available, HTML Windows can appear under:

  • My HTML Windows

  • Server Tools

  • Shared Tools

Published and shared HTML Window definition files can optionally define a custom displayName attribute. When present, P4V uses the custom name instead of the default Server Tools or Shared Tools label. As a result, you might see labels such as Developer, ABC Developer, or Rob's Utilities instead of Server Tools or Shared Tools.

Shared HTML Window definitions are loaded from the HTMLWindowToolsShared/ folder in the P4V configuration directory. This location is predefined and cannot be changed through P4V preferences.

These groupings appear in:

  • Manage HTML Windows

  • Insert Menu Item

  • Tools menu

If a definition file specifies a custom displayName, the custom name appears in these locations instead of the default source name.

You can add, edit, and remove only HTML Windows that belong to My HTML Windows.