Documentation Vision Report+ Documentation

Vision Report+ / Installation Guide

Configuration Utility first run

This chapter walks through the Configuration Utility pages that connect the Vision Report+ service to PI Web API, AF and PI Vision and start the service.

Overview

This chapter walks through the Configuration Utility pages that connect the Vision Report+ service to PI Web API, AF and PI Vision and start the service.

Start the Vision Report+ Configuration Utility from your desktop or the Start menu. You need to be a local administrator to start the utility, and a PI AF administrator on the Vision Report+ AF database.

Vision Report+ Configuration Utility in the Start menu

The pages appear in this order in the sidebar. Use Back and Next to move between them.

Configuration Utility Start page with the page list in the sidebar
PagePurposeDescribed in
StartWelcome pagethis chapter
PI Web APIPI Web API URL and authenticationthis chapter
AF DatabaseAF server and database, schema migrationthis chapter
PI Vision HostPI Vision host and authenticationthis chapter
PI Vision ToolbarInstall or prepare the toolbar filesthis chapter
SMTPMail serverAdministration Guide
Report ApprovalInstallation-wide approval defaultsAdministration Guide
Teams IntegrationTeams connectivity testAdministration Guide
SharePointSharePoint upload of report files, upload testAdministration Guide
Local ReportsReport file storage and local copyAdministration Guide
PrintingPrinters for report deliveryAdministration Guide
System TelemetryHealth telemetry and high availabilityAdministration Guide
Change TrackingCommit messages and version historyAdministration Guide
Apply ConfigurationSaves the configuration to AFthis chapter
Start ServiceService account, start and verificationthis chapter

PI Web API

On the Connect to PI Web API page, configure how the service and the toolbar reach PI Web API.

Connect to PI Web API page connected with Kerberos; the numbers match the steps
  1. In Url, enter the PI Web API URL with the FQDN, for example https://piwebapi.company.com/piwebapi. If PI Web API runs on this machine, you can leave the field empty; the utility then uses https://localhost/piwebapi.
  2. Set PI Web API is installed on the PI Vision server (see below).
  3. Select the Authentication: Kerberos (default), Basic or Bearer.
  4. For Basic, enter User and Password. For Bearer, enter the Identity Manager Address and click Confirm (see OpenID Connect (Bearer authentication)).
  5. Click Connect. A success message confirms the connection.

With Kerberos, the service uses its Windows account; with Basic, the configured user and password; with Bearer, the client registered on AVEVA Identity Manager. For Bearer, map the client to a PI identity with Admin permissions on the AF database before you click Connect.

Connect to PI Web API page with Bearer authentication selected; the number matches the steps

PI Web API is installed on the PI Vision server

This option (on by default) controls how the Vision Report+ toolbar connects to PI Web API from the user's browser.

SettingBrowser connectionUse when
On/piwebapi on the host the user opened PI Vision withPI Vision and PI Web API are available through the same web server
OffThe configured full PI Web API URLPI Web API uses a different server, port, or web address

With the option on, if PI Vision is opened through https://pivision-alias/PIVision, the toolbar connects to https://pivision-alias/piwebapi. This avoids CORS errors when users open PI Vision through a DNS alias, load-balancer address or alternate host name.

Turn the option off if PI Web API is installed on a different server, uses a different HTTPS port, is not exposed at /piwebapi on the PI Vision address, or must be accessed through a dedicated gateway or FQDN. The toolbar then uses the full URL from Url; if that URL has a different origin from PI Vision, configure PI Web API CORS and, on PI Vision 2026 or later, DefaultSrcPolicy (PI Vision 2026 and later under Configure PI Vision).

Important: The setting is written into the toolbar's config.js. After changing it, install or prepare the toolbar again on the PI Vision Toolbar page and refresh PI Vision in the browser.

SSL errors

If Connect shows the following SSL error, use https and the FQDN of the PI Web API server (not localhost, the short host name or an IP address). Also make sure the SSL certificate is valid and trusted.

SSL connection error on the Connect to PI Web API page

AF database

On the Select AF Database page, select the AF Server and the Database you created, and click Confirm.

Confirm saves the connection, creates or updates the Vision Report+ structure in the database (schema migrations) and loads the existing settings into the wizard. Click Next after the success message.

Select AF Database page with the VisionReport database confirmed

PI Vision host

On the Configure PI Vision Server page, configure how the service opens PI Vision.

Configure PI Vision Server page after a successful Test connection; the numbers match the steps
  1. Enter the FQDN or alias of your PI Vision server between https:// and /PIVision. The license must contain this host name.
  2. Select the Authentication. If you are unsure, use Kerberos: the service then opens PI Vision with its own Windows account.
  3. For Basic, enter User and Password. For Bearer, turn on Use Windows Login or enter User and Password for the PI Vision sign-in.
  4. Click Test connection.

With Kerberos, the test checks PI Vision as your current Windows user. With Basic or Bearer, a visible browser window opens and signs in; it can take up to three minutes. The service account itself is verified later with Start and verify. If your own user has no PI Vision access, you can continue with Next anyway.

The test checks the PI Vision certificate the way the service does: on a new installation the certificate must be trusted on this server and issued for the host name you entered. Otherwise the test fails with an error such as ERR_CERT_COMMON_NAME_INVALID (Basic or Bearer) or The SSL connection could not be established (Kerberos). See Display hosts and certificates in the Administration Guide.

The optional Remote URL below the test replaces the PI Vision host in links that users open from emails and Teams messages, for example through a remote proxy. Leave it blank during first setup unless you need it; see Configuration Utility settings in the Administration Guide.

PI Vision toolbar

On the Configure PI Vision Toolbar page, select a Deployment mode.

Configure PI Vision Toolbar page with Install directly on this server selected
DeploymentWhenFolderButton
Install directly on this serverVision Report+ runs on the PI Vision serverPI Vision installation folder, for example C:\Program Files\PIPC\PIVisionInstall
Prepare files for another PI Vision serverPI Vision runs on a different serverToolbar export folderPrepare Files

The status line shows whether the toolbar is not installed, outdated, or installed and up to date. Install writes the toolbar files and a new config.js to Scripts\app\editor\tools\ext; the previous config.js is kept as config.js.bak. Next is available once the installed toolbar matches the packaged files.

Under Available to authors, turn off Print Button, Page Frame or Signature Field to stop authors adding that symbol. Print Button leaves the symbol gallery. Page Frame and Signature Field are never in the gallery; turning them off hides their buttons in PI Vision. The switches are on by default.

Note: Turning a symbol off is not a way to remove it. Displays that already use it keep working and keep their output: existing signature fields still go into the PDF. To remove a symbol, delete it from the display. Authors can also still copy a symbol that is already on a display.

After changing a switch, click Install or Prepare Files. The setting is stored in config.js, so set it on every PI Vision server. Users see the change once their browser loads the new file; if the symbol still appears, refresh PI Vision with Ctrl+F5.

Configure PI Vision Toolbar page after Prepare Files

With Prepare Files, copy the complete contents of the export folder to <PI Vision installation folder>\Scripts\app\editor\tools\ext on the PI Vision server, and repeat this after every Vision Report+ update.

Toolbar files in the PI Vision Scripts\app\editor\tools\ext folder

Mail, approval, storage and other settings

The next pages configure SMTP, report approval, Teams, report file storage, printing, system telemetry and change tracking. They are described in Configuration Utility settings and System telemetry in the Administration Guide. To skip a feature, leave it disabled and click Next.

Note: On the Local Reports page, run Test upload during the first setup. It confirms that output files reach the PI System unchanged.

Apply configuration

On the Apply Configuration Change page, click Apply to save the configuration to AF, and then click Next. The page refuses to apply while the PI Vision toolbar is outdated.

Apply Configuration Change page

Start service

On the Start Service page, set the account the Vision Report+ service runs as and start it.

Start Service page with the service user and password
  1. In User, enter the service account, for example Domain\VisionReportService.
  2. In Password, enter its password. Leave it empty for a gMSA (an account ending in $) and for LocalSystem, NT AUTHORITY\LocalService, NT AUTHORITY\NetworkService or NT SERVICE\... accounts.
  3. Click Start and verify.

The utility stops the service, sets the account, and starts the service. The service then opens PI Vision as its own identity. The utility waits up to five minutes and reports Service successfully started and PI Vision access was verified as '...'. You can then close the Configuration Utility.

If the result is The service started as '...', but PI Vision access verification failed, the service runs but cannot open PI Vision. Check the account's PI Vision permissions, SPNs and intranet zone (see Troubleshooting and support in the Administration Guide).

If the result is The service read the PI Vision host '...' from AF, but setup saved '...', PI Web API still gives the service account the configuration from before Apply. Have a PI Web API administrator click Apply on the Apply Configuration Change page, or restart the PI Web API service, and click Start and verify again.

You can also start and stop the service in the Windows Services console. Its Log On As column must show the service account.

Vision Report+ service in the Windows Services console