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.

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

| Page | Purpose | Described in |
|---|---|---|
| Start | Welcome page | this chapter |
| PI Web API | PI Web API URL and authentication | this chapter |
| AF Database | AF server and database, schema migration | this chapter |
| PI Vision Host | PI Vision host and authentication | this chapter |
| PI Vision Toolbar | Install or prepare the toolbar files | this chapter |
| SMTP | Mail server | Administration Guide |
| Report Approval | Installation-wide approval defaults | Administration Guide |
| Teams Integration | Teams connectivity test | Administration Guide |
| SharePoint | SharePoint upload of report files, upload test | Administration Guide |
| Local Reports | Report file storage and local copy | Administration Guide |
| Printing | Printers for report delivery | Administration Guide |
| System Telemetry | Health telemetry and high availability | Administration Guide |
| Change Tracking | Commit messages and version history | Administration Guide |
| Apply Configuration | Saves the configuration to AF | this chapter |
| Start Service | Service account, start and verification | this chapter |
PI Web API
On the Connect to PI Web API page, configure how the service and the toolbar reach PI Web API.

- 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 useshttps://localhost/piwebapi. - Set PI Web API is installed on the PI Vision server (see below).
- Select the Authentication: Kerberos (default), Basic or Bearer.
- For Basic, enter User and Password. For Bearer, enter the Identity Manager Address and click Confirm (see OpenID Connect (Bearer authentication)).
- 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.

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.
| Setting | Browser connection | Use when |
|---|---|---|
| On | /piwebapi on the host the user opened PI Vision with | PI Vision and PI Web API are available through the same web server |
| Off | The configured full PI Web API URL | PI 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.

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.

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

- Enter the FQDN or alias of your PI Vision server between
https://and/PIVision. The license must contain this host name. - Select the Authentication. If you are unsure, use Kerberos: the service then opens PI Vision with its own Windows account.
- For Basic, enter User and Password. For Bearer, turn on Use Windows Login or enter User and Password for the PI Vision sign-in.
- 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.

| Deployment | When | Folder | Button |
|---|---|---|---|
| Install directly on this server | Vision Report+ runs on the PI Vision server | PI Vision installation folder, for example C:\Program Files\PIPC\PIVision | Install |
| Prepare files for another PI Vision server | PI Vision runs on a different server | Toolbar export folder | Prepare 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.

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.

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.

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

- In User, enter the service account, for example
Domain\VisionReportService. - In Password, enter its password. Leave it empty for a gMSA (an account ending in
$) and forLocalSystem,NT AUTHORITY\LocalService,NT AUTHORITY\NetworkServiceorNT SERVICE\...accounts. - 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.

