Manage properties

Use the Properties tab in P4 Admin to view and manage P4 Server properties. P4 Server properties control the behavior of P4 applications and integrations, including P4V features, performance settings, P4 Code Review integration, and P4 Search integration.

You can also use P4 Server properties to publish Custom Tools and HTML Window Tools to P4V.

To manage properties, connect to a supported P4 Server using a user account with admin or super privileges.

You can create, edit, delete, and filter properties from a single interface.

To learn more, see Server properties for P4V in the P4 Server Administration Documentation.

View properties

  1. Open P4 Admin.

  2. Click the Properties tab.

The property list displays:

Column Description

Name

Property name

Value

Property value

Scope

Where the property applies (Global, User, or Group)

Sequence

Property precedence value

Last modified

The user who last modified the property and when it was modified

By default, properties are sorted alphabetically by name. You can click a column heading to sort the list by that column.

Filter properties

Use the controls above the property list to find specific properties.

Filter by category

Select a category from the filter list:

  • All

  • Features

  • Behavior

  • Performance

  • Tools

  • P4VJS

  • P4 Code Review

  • P4 Search

  • Other

Search for properties

Enter text in the search box to filter the list. The search matches text shown in the visible columns.

Create a property

  1. In the Properties tab, click Add.

  2. Enter a property name.

  3. Enter or select a value.

  4. Select a scope:

    1. Global

    2. User

    3. Group

  5. If you selected User or Group, select the user or group.

  6. Specify a sequence value, or accept the default value of 1.

  7. Select Add Property.

The new property appears in the property list.

Property name suggestions

When you enter a property name, P4 Admin suggests known property names.

You can also enter custom property names.

Value assistance

For some known properties, P4 Admin provides value assistance:

  • Properties that accept only On or Off display a predefined selection.

  • Some properties display guidance about valid values or formats.

Edit a property

  1. Select a property.

  2. Click Edit.

  3. Modify the property value or sequence number.

  4. Click Save Changes.

You cannot change a property's name, scope, user, or group assignment. To make those changes, create a new property and delete the original property.

Delete a property

  1. Select one or more properties.

  2. Click Delete.

  3. Review the confirmation message.

  4. Select Yes to confirm the deletion.

Deleted properties are removed from the P4 Server.

View effective properties for a user

The Effective Properties view shows the properties that apply to a specific user.

  1. Open the Properties tab.

  2. Open the Effective Properties view.

  3. Select a user.

The view displays:

Column Description

Property

Property name

Effective value

The value that applies to the selected user

Reason

The source of the effective value or information about conflicts

If multiple properties affect the same setting, P4 Admin shows which property is applied and identifies any conflicts.

View effective properties in Users & Groups

You can also view effective properties while working with users.

  1. Open Users & Groups.

  2. Select a user.

  3. Click the Properties tab.

The tab displays the effective properties for the selected user and allows you to search the list. This view is read-only.

Publish tools to P4V

Use P4 Server properties to publish Custom Tools and HTML Window Tools to P4V. By publishing tools on the server, you can centrally distribute and update tool definitions without requiring users to import them individually. P4V automatically loads published tools the next time it refreshes from the server. Refreshes occur periodically while connected (every few minutes by default), or immediately when users reconnect or trigger a manual refresh.

Published tools appear in P4V as Server Tools under the Tools menu.

By default, published tools are grouped under Server Tools. However, if the published XML file specifies a non-empty displayName attribute, P4V uses that value as the group label instead. For example, users might see labels such as Developer, ABC Developer, or Rob's Utilities.

Before you begin, ensure that your P4 Server deployment supports server properties and that your tool definitions are available in XML format.

Publish Custom Tools

To publish Custom Tools:

  1. Open P4 Admin.

  2. Click the Properties tab.

  3. Click Add.

  4. In the Property name field, enter P4V.Tools.CustomToolsPath

  5. In the Value field, enter a depot path that references a Custom Tools XML file.

  6. Select a scope. In most environments, select Global.

  7. Click Add Property.

After you save the property, P4V loads the published Custom Tools when you refresh or reconnect.

Published Custom Tool definition files can optionally define a custom displayName attribute in the root XML element. When present and non-empty, P4V uses that value as the source label in the Tools menu and tool-management dialogs instead of the default Server Tools label.

For example:

<CustomToolDefList
          varName="customtooldeflist"
          displayName="Developer" >

If displayName is omitted or empty, P4V uses the default Server Tools label.

Publish HTML Window Tools

To publish HTML Window Tools:

  1. Open P4 Admin.

  2. Click the Properties tab.

  3. Click Add.

  4. In the Property name field, enter P4V.Tools.HTMLWindowToolsPath

  5. In the Value field, enter a depot path that references an HTML Window Tools XML file.

  6. Select a scope. In most environments, select Global.

  7. Click Add Property.

After you save the property, P4V loads the published HTML Window Tools when you refresh or reconnect.

Published HTML Window Tool definition files can optionally define a custom displayName attribute in the root XML element. When present and non-empty, P4V uses that value as the source label in the Tools menu and tool-management dialogs instead of the default Server Tools label.

For example:

<HTMLWindowToolDefList
            varName="customtooldeflist"
            displayName="Developer">

If displayName is omitted or empty, P4V uses the default Server Tools label.

Setup Message of the Day (MOTD) in P4V

The Message of the Day (MOTD) feature displays important, time-sensitive announcements, such as scheduled maintenance or server availability updates when you log in for the first time each day.

After the initial login, the MOTD does not appear again for the remainder of the day. It supports Markdown formatting for clearer communication. If you leave P4V open overnight and your authentication ticket expires, the MOTD is shown again upon login only if the content has changed since the last display. To view the MOTD at any time, navigate to Help > Show Message of the Day.

To use the MOTD feature in P4V, ensure that you are using version P4V 2025.4 or later.

You can configure the MOTD in either of the following ways:

  • In P4 Admin, edit the P4V.Features.MessageOfTheDay property on the Properties tab.

  • From the command line, use the p4 property command.

    For example:

    p4 property -a -n P4V.Features.MessageOfTheDay -v "# This is the Message of the Day!
    
    - The P4 Server will be unavailable between 1:00 AM and 3:00 AM PST on December 20 for maintenance."

To learn more about MOTD, see Feature-related P4V properties in the P4 Server Administration Documentation.