Main Content

Add Project Banners to Results in Polyspace Access

To alert users to important project specific information, such as specific certifications a project might need to adhere to, you can create and display a project banner in Polyspace® Access™. The project banner is a customizable alert that appears at the top of the Project Overview pane when you select the folder or project in the Project Explorer. Banner messages can have multiple lines. In the user interface, the first line displays by default, but you can expand the banner to view the full-length message.

In order to add, edit, or remove a banner, you must have the Administrator or Owner permission for the project or folder.

You can assign a banner in the user interface through the Project Details pane on the Dashboard, or from the command line using the option -set-project-information.

Manage Project Banner in the User Interface

To add a banner to a folder or project in the Polyspace Access user interface:

  1. Select a folder or project in the Project Explorer.

  2. Click the text next to the Information label In the Project Details pane. The text displays the current banner message or None if no banner exists.

    The Project Details pane when no banner exists.

  3. Write your banner text in the Project banner section of the Project information setup window. You can have multiple lines in your banner text, but only the first line shows in the default banner view of the user interface.

    Project information setup window with example banner text in the Project banner section.

  4. Click OK to apply the banner to your project or folder. Leaving the Project banner text box empty creates no banner or removes the existing banner from the project.

The resulting banner appears at the top of the Project Overview pane.

Banner that is not expanded in the user interface.

Click the banner to expand and view the full message.

Folders display the banner only when you select the folder. The banner does not appear on each individual project within the folder.

Manage Project Banner at the Command Line

To add, edit, or replace a banner for a folder or project from the command line, use the polyspace-access command with the -set-project-information and -banner options. For example:

polyspace-access $login -set-project-information projectPath -banner "Banner text here"
In this command:

The -banner option supports using the new line character \n to create messages with more than one line. For example:

polyspace-access $login -set-project-information projectPath -banner "My banner text.\n\nMultiple lines supported.\n\nEnd of message."
Expand the banner to view the entire message.

The banner produced from the command line option in this example as viewed from the Polyspace Access user interface.

Use the -unset-project-information option to remove a banner from a project. For example:

polyspace-access $login -unset-project-information projectPath

See Also