Documentation Vision Report+ Documentation

Vision Report+ / User Guide

Managing reports

This chapter shows you how to create a report, set its triggers, pages, output and delivery, design PDF pages with page frames, and copy, edit or delete it.

Overview

This chapter shows you how to create a report, set its triggers, pages, output and delivery, design PDF pages with page frames, and copy, edit or delete it.

Building a report from a display

The quickest way to a PDF report is to design the pages on the display with page frames and create the report from that display.

A display in edit mode with two page frames, their page numbers and the guides of the first page

Before you start, open the display in PI Vision and select the Reports pane. You need the Create reports permission (see Creating a new report).

  1. Select New report from this display. The report is named after the display and the page editor opens with the display selected.
  2. Under Page Frames, select Add page frame. PI Vision switches to edit mode and adds a frame with the page's Format, Orientation, Page Margins and Header & Footer.
  3. Place the content inside the frame. Safe area and Columns in the frame configuration help to align it.
  4. For more pages, select Add page to the right or Add page below in the frame configuration. Check the page number in the top right corner of every frame and set a Page title where needed.
  5. Save the display. Reports print the saved display; until then Page Frames shows a note about unsaved changes.
  6. Go back to the report, add a trigger and the delivery, and select Save Report.
  7. Select Preview in the report editor to check the PDF before you save the report.

Details: Designing report pages with page frames, Configuring report triggers, Configuring output & delivery and Running a report manually. For an existing report, add a page with Use open display instead of step 1.

Creating a new report

A report turns one or more PI Vision displays into PDF, image, Excel or CSV files on a schedule or when an event frame starts or ends.

Note: The New Report button appears only if you have the Create reports permission, which needs Admin access on the Reports element in the Vision Report+ AF database. Contact your PI administrator if it is missing. See Permissions.

The report editor lists its sections in groups: Content (General, Displays, Regional Settings), Schedule (Triggers), Output (File, PDF), Delivery (SharePoint, Mail, Teams Channel, Print), Workflow (Report approval) and, for a saved report, Manage (Security, Executions, Delete). The line under each section name shows what it is set to, for example the first trigger or the number of mail recipients. Delivery and approval sections that are switched off are dimmed and show Off. PDF and Report approval appear only for PDF output, and a delivery section only when your administrator has set up that delivery.

  1. Select New Report (+) in the Reports pane, or New report from this display to start from the open display (see Building a report from a display).
  2. In General, set Name, an optional Category and the Output type.
  3. Add one or more triggers (see Configuring report triggers).
  4. Add pages (see Configuring pages).
  5. Set the file name and delivery (see Configuring output & delivery).
  6. Select Save Report.
SettingWhat it does
EnabledTurns automatic generation on or off (default on). Scheduled and event frame triggers run only while it is on.
Pause untilShown while Enabled is on. Until this time (in your browser's time zone) the triggers start no runs, as if the report were disabled, and then the report runs again by itself. Runs that fell into the pause are not made up. Execute Report still works. End pause clears the time. The report list shows Paused next to the report.
Suspend after failed runsThe number of failed runs in a row after which Vision Report+ suspends the report (default 0, never). A failed run produced no file at all; a run that completed with errors does not count, and neither do runs from before the last change of the report. See Resuming a suspended report.
NameThe report name. It appears in the report list and can be printed in the PDF header.
CategoryOptional. Groups reports in the report list.
OutputPDF, Image, Excel or CSV. See Choosing the output type.

Resuming a suspended report

When a report reaches its Suspend after failed runs limit, its triggers start no runs, the report list shows Suspended next to it and the System Status error log records it. The report editor shows a note with the number of failed runs and the time.

A suspended report with the note and Resume at the top of the report editor
  1. Open the failed executions and fix the cause, for example the display link or the asset.
  2. Open the report and select Resume in the note at the top of the editor.

Resume needs the permission to configure the report. Runs that the triggers would have started while the report was suspended are not made up. Execute Report works while the report is suspended, so you can test the fix first.

Choosing the output type

The output type decides which files an execution produces and which page types you can use. Details per type: Output types.

The Output picker in the General section of a report
OutputResultPage types
PDFOne PDF file per execution, or several when pages use PDF Document names.Single Display, Collection, Tables
ImageOne image per page; collection items are merged into a grid.Single Display, Collection
ExcelAn Excel workbook with one worksheet per exported table.Tables
CSVCSV files with the exported table data.Tables

Email delivers images inline in the message body and attaches PDF, Excel and CSV files.

Configuring report triggers

A trigger decides when Vision Report+ generates the report. A report can have several triggers. Select Add Trigger in Triggers and choose the Type:

The Triggers section with a scheduled and an event frame trigger
  • Scheduled: Runs on a recurring schedule. Schedule selects Minutes, Hourly, Daily, Weekly, Monthly or Yearly and shows the matching options, for example Every n Day(s) or Every Week Day and the Start Time.
  • Event Frame: Runs when an event frame starts or completes. Set Trigger On (Event Completed or Event Started), the Database and the event frame Template. An optional Query filters the event frames; see the AVEVA PI Web API search query syntax.
  • Condition: Runs when PI data meets a condition, for example when a tank level stays above 90 % for five minutes, or for each new value of a PI point, for example a lab result or a button in a display. No AF analysis or event frame is needed. See Starting a report when data meets a condition and Starting a report with a new value.

Starting a report when data meets a condition

A condition trigger compares PI data with values and starts the report when the result changes.

A condition trigger: Temperature high when sinusoid is above 90 for 5 minutes
  1. Select Add Trigger and the Type Condition.
  2. Optionally enter a Label. It names the run in the run list and fills %EventName%, for example in the mail subject (Tank level high - %ExecutionTime:yyyy-MM-dd HH:mm%). Without a label the run is called Condition.
  3. Under Condition, select the search button next to Input to find the input, or type its path: an AF attribute (\\AF server\database\element|attribute) or a PI point (\\PI server\tag). The field then shows the Current value and the units, or Input not found with the reason.
  4. In Find the input, choose AF attributes and the database, or PI points and the PI Data Archive, and type part of a name. The results appear while you type, with their current value, units and description; select one to use it. For AF attributes, type an attribute name (Level), an element name (Tank 3, all its attributes) or both as element|attribute (Tank*|Level). * and ? are wildcards. At most 50 results are listed; type more to narrow the search. Esc closes the search. The search remembers the database and Data Archive you used last in this browser.
  5. Choose the Operator (>, >=, <, <=, =, <>) and enter the Value, for example 90 or Running. To compare with a limit kept in another attribute, select Compare with another input and enter that input's path.
  6. Optionally select Add comparison (up to five) and set Combine to All comparisons are met or Any comparison is met.
  7. Choose Run when and set the times and the limit (see the table below).
  8. Select Test condition to see the runs the trigger would have created in the Test range (last 24 hours, 7 days or 31 days). Adjust the settings until the list matches what you expect, then save the report.
SettingWhat it does
Run whenCondition becomes true starts one run each time the condition is met. Condition period ends starts one run when the condition is no longer met, with the whole period. A new value is recorded starts one run for each value of an input (see Starting a report with a new value).
Minimum durationThe condition must be met this long to count; shorter periods start no run. With Condition becomes true the run starts when the duration is reached.
Minimum gapPeriods separated by less than this count as one period, so a value that flickers around the limit starts only one run.
Look backTime before the run (Condition becomes true) or before the period (Condition period ends) that pages with the display time Event Duration show. Default: 60 minutes.
Look aheadOnly for Condition period ends: time after the period that pages with Event Duration show. The run waits until this time has passed.
Wait for late valuesValues written later with an earlier time stamp are seen only when they arrive within this time; runs start this much later. Default: 0, which uses the service setting of about one minute.
At most runs per dayFurther runs of this trigger on the same day (report time zone) are skipped and noted once a day in the System Status error log. Default: 24; 0 means no limit. Triggers of one report with the same Label share the limit.

How the comparison works:

  • Recorded values are used as steps: a value holds until the next one, as in a PI Vision trend with step lines. Values are not interpolated.
  • Numbers are compared as numbers; a decimal comma is accepted. = and <> compare text, for example digital states such as Running, without regard to case. >, >=, < and <= are never met by text.
  • A bad value (for example I/O Timeout) counts as not met. The run details note bad data seen.

Good to know:

  • The service checks the data about one minute behind real time, because PI data often arrives late. A run therefore starts about one minute after the change (plus Minimum duration or Look ahead).
  • If the condition is already met when you save the report or when the service starts, the first run comes with the next change.
  • A period that lasts longer than 24 hours (an administrator can change this limit) gives one run when it reaches the limit, noted as longer than the maximum period, and none when it ends.
  • Pages show the condition times when their display time is Event Duration; pages with Custom times keep their own times.
  • Give each condition trigger of a report its own Label. Triggers with the same label share the daily limit, and their runs at the same second become one run.
  • Several runs can come within one minute. Copies in the local folder with the same file name replace each other, so set the file name Extension to Trigger Time with seconds in the Pattern, for example yyyy-MM-dd HH:mm:ss. The File section shows a note when the name has no seconds. The files stored with each run are not affected.
  • Execute runs the report like a scheduled run, without a condition period. Test condition and Backfill read the data with your PI permissions; the service reads it with its own account.
  • The run details show the condition, the values when it was met and the period. Condition runs never cause a has not run alert, because they are not expected at fixed times.

Starting a report with a new value

With Run when set to A new value is recorded, every value written to an input starts a run, also the same value again. Use it for lab results, manual entries, or to let operators and other systems start a report: a data entry control in a PI Vision display, a DCS at batch end or a script writes a value to a PI point, and the report runs with mail, Teams, SharePoint, printing and approval like a scheduled run.

  1. Select Add Trigger, the Type Condition and Run when A new value is recorded.
  2. In New value of, find or enter the input whose values start the report.
  3. Optionally turn on Only when the value changes: a value equal to the one before it then starts no run.
  4. Optionally add comparisons under Only when (optional), for example Line 1|State = Running. They must be met at the time of the new value.
  5. Optionally set Minimum gap: a value that comes less than this after the previous one starts no run, so a burst of values starts one report.
  6. Select Test condition to see the values of the test range that would have started a run.
What to knowDetails
TimeThe run time is the value's time stamp plus Look ahead. Pages with Event Duration show Look back before the value up to the run time. %TriggerValue% is the new value.
Late valuesThe service looks for values about one minute behind real time. A value written later with an earlier time stamp, for example a lab result entered hours after sampling, starts a run only if it arrives within Wait for late values. Test condition and Backfill show such values, because they read the history by time stamp.
Repeated valuesPI points with compression keep a repeated value only when it is needed to draw the trend, so writing 1 twice can start one run only. A PI point that starts reports should have compression off (compressing = 0), or the writer writes a counter or the current time instead of a fixed value.
InputsThe input must be a PI point or an AF attribute with a PI point data reference. Formula and table lookup attributes record no values.
Writing valuesThe writer needs write access (Write Data) on the PI point. In PI Vision 2026 the data entry symbol writes to PI points and AF attributes.

Starting a report from another system

An MES, a batch system, a DCS or a script starts a report by writing a value to a PI point. Vision Report+ needs no interface of its own for this: the PI point is the interface, and its write permission decides who may start the report.

  1. Ask your PI administrator for a PI point for the report, for example VRP.Start.BatchReport, of type String or Int32, with compression and exception off (compressing = 0, excdev = 0), and write access for the system or the people that start the report.
  2. Add a Condition trigger with Run when A new value is recorded and the PI point in New value of (see Starting a report with a new value).
  3. Set Look back to the time range the report shows before the value, for example 8 h for a shift, and set the pages to Event Duration.
  4. Use %TriggerValue% in the mail subject, the page titles or the file name to show what the writer sent, for example a batch ID.
  5. Set At most runs per day and Minimum gap, so that a writer that sends too many values cannot flood mailboxes.
  6. Write one value and check the run in Executions. Its By shows Condition.

The writer can be any program that writes PI data: a PI interface or connector of the control system, PI DataLink, the PI Vision data entry symbol, or PI Web API. With PI Web API, a script finds the PI point once and then writes a value whenever the report is due:

$api = "https://<PIWebAPIServer>/piwebapi"
$point = Invoke-RestMethod -UseDefaultCredentials "$api/points?path=\\<DataArchive>\VRP.Start.BatchReport"
$body = @{ Timestamp = "*"; Value = "Batch 4711" } | ConvertTo-Json
Invoke-RestMethod -UseDefaultCredentials -Method Post -ContentType "application/json" -Body $body `
    -Headers @{ "X-Requested-With" = "XMLHttpRequest" } "$api/streams/$($point.WebId)/value"

PI Web API refuses a write without the X-Requested-With header when it uses Windows or Basic authentication (protection against cross-site requests).

What to knowDetails
DelayThe run starts about one to two minutes after the value is written: the service waits for late PI data and checks once a minute.
One value, one runEvery value starts one run, also the same value again, as long as the PI point keeps it (compression off). A value written while the report is disabled, paused or suspended starts no run later.
ParametersThe value is the only parameter. The asset and the display times come from the report pages; to start the same report for different assets, give each asset its own report or its own PI point.
Time stampWrite the value with the current time (*). A value with an older time stamp starts a run only if it arrives within Wait for late values.
ResultThe run delivers like a scheduled run: mail, Teams, SharePoint, printing and approval as configured. The writer gets no answer; check the execution in PI Vision or with the failure alerts.

Configuring pages

Each page of a report is one PI Vision display, one collection of assets or event frames, or the tables of one display. In a PDF report, the pages are merged in order.

  1. In the Displays section, select Add Page.
  2. Choose the page Type: Single Display, Collection or Tables.
  3. Select the display in Url, with Search for Displays or with Use open display.
  4. Set the asset, the display time and the layout, then go back to the report.
  5. Use Edit Page, the move buttons and the delete button in the page list to change the order or remove pages.
Page typeWhat it does
Single DisplayPrints one PI Vision display.
CollectionPrints a template display once for every asset or event frame that a search finds. See Configuring collections (assets & events).
TablesExports the data of the Vision Library+ tables on a display instead of printing it. See Exporting Vision Library+ tables.

Display, asset and time

SettingWhat it does
UrlThe display URL. Search for Displays finds a display by name or owner. Use open display takes the display that is open in PI Vision. Displays on another PI Vision server open only when an administrator has allowed that server.
Print DelaySeconds to wait after the display has loaded and before it is printed, up to 600. Use it when part of the display keeps loading after PI Vision shows it, for example a web page embedded in the display; without it such a page can print blank. Empty or 0 waits nothing. For a collection page it applies to every item. Not shown for table exports.
AssetNone uses no asset. Custom uses the element you pick with Database, Path or Search for assets. Event Asset uses the element referenced by the triggering event frame (only with an event frame trigger).
Display TimeCustom uses the Start Time and End Time you enter (see Time Expressions). Event Duration uses the start and end of the event frame (with an Event Completed trigger) or the condition times (with a Condition trigger, see Starting a report when data meets a condition). Hidden when Shared Display Time is on.

In custom times, * stands for the trigger time of the execution, not the time it actually ran. The time is therefore correct even when the report runs late.

PDF page layout

For Single Display PDF pages, Page Frames first shows whether the display contains Vision Report Page Frame symbols (see Designing report pages with page frames):

Page Frames showsMeaning
A list of pages, for example Page 1: A4 PortraitEach frame is printed as one page with its own settings. Orientation, Format, Fit Display, Zoom Level, Page Margins and Header & Footer are hidden because the frames replace them. When the open display has unsaved changes, a note asks you to save it, because reports print the saved display. On the open display, Add page frame adds another page in a new row below the last row of pages, with the settings of the last page, and Add signature field adds a signature field on the last page (see Adding signature fields to a PDF). When the page shows another display, both buttons are disabled: select Open Display first; the editor stays open and enables them.
The display has no page framesThe settings below are used. When the display is open in PI Vision, Add page frame adds a frame with these settings at the top left of the display, behind the existing content. Add signature field adds a field below the content. Save the display afterwards. When the page shows another display, both buttons are disabled: select Open Display first; the editor stays open and enables them.
A hint about page framesThe display could not be checked, for example because you have no access to it. Frames on the display are still used when the report runs.

For PDF reports the page has these layout settings:

The Page settings of a Single Display PDF page
SettingWhat it does
OrientationPortrait or Landscape.
FormatPaper size: A4 (default), A3, A5, Legal, Letter or Tabloid. Render sizes: Page sizes.
PDF DocumentOptional name of the PDF file this page goes into. See Splitting a report into several PDF files.
TitleOptional page subtitle. The @ button inserts placeholders.
Preserve Display ColorsKeeps the display's colors, including backgrounds and light text on colored areas. Otherwise PI Vision print styling turns such text black.
Fit DisplayFits the whole display on one page (default on). When it is off, the display is spread across pages at the Zoom Level (-10 to 10).
Page MarginsOn by default. Off: the display fills the whole page 1:1 without header and footer. Single Display pages only.
Header & FooterOnly when Page Margins is off. Draws the report header and footer on top of the display; keep the top and bottom of the display free.

Image pages

The Template Image size of an image report page

For image reports, the Template Image Size sets the image size of the page: Small (640x480), Medium (1280x1024), Large (1920x1080, default), Extra Large (2560x1440) or Custom with Width and Height. A display with page frames gives one image per frame at the frame's size instead (see Designing report pages with page frames).

Note: Very large images are not fully displayed in the email body. Images wider than about 2,000 pixels are sent as a smaller preview with the original attached.

Splitting a report into several PDF files

By default all pages of a PDF report go into one file. Pages with the same PDF Document name go into their own file, so one execution can produce several PDFs.

Pages with the PDF Document name Summary and the Final Output with two files
  1. Open a page and enter a name in PDF Document, for example Summary.
  2. Give every page that belongs in the same file the same name. Pages with an empty name go into the default document, whose file name ends in _Default.
  3. Check Final Output above the page list. It lists every file, for example Daily Report_Summary.pdf (2 Displays).
  4. Save the report.

Each file is named after the report file name plus _ and the document name. Executions with several PDFs open in a PDF gallery (see Opening and downloading output).

Designing report pages with page frames

The Vision Report Page Frame symbol marks the area of exactly one PDF page on a display, so you can lay out content that fills the page. Each frame is printed as one page with its own page size, orientation and margins.

A display in edit mode with an A4 portrait page frame
The configuration of the Page Frame symbol
  1. Open the report display in PI Vision edit mode.
  2. In the Print pane, with Output set to PDF and Export to Display (Visual), select Add page frame. Add page frame in the report page editor does the same (see Building a report from a display). Page frames are not in the symbol gallery.
  3. Right-click the frame, select Configure Vision Report Page Frame... and set Orientation, Page size, Page Margins and, with Page Margins off, Header & Footer.
  4. Place the report content inside the frame. For more pages, select Add page to the right or Add page below in the frame configuration: the new frame gets the same page settings and style, 40 px next to the current one.
  5. Save the display.
  6. Use the display on a Single Display report page, in the Print pane or with a print button. The frames replace the Orientation, Format, Fit Display, Zoom Level, Page Margins and Header & Footer of the page or print.
Frame settingWhat it does
Page numberEmpty or 0 orders the page by its position. A number moves the frame to that page, for example 1 for a cover page placed anywhere on the display.
Page titleShown as the page title in the PDF header. Empty uses the Title of the report page or print. Placeholders such as %ReportName% work.
Add page to the right, Add page belowAdds the next frame with the same settings and style. The new frame sits behind the existing content; Undo removes it.
Guides: Safe area, ColumnsDraws an inner margin (5 to 20 mm of paper) and columns, every other one shaded, in edit mode to help align content. Guides are not printed.

Frames are numbered by position: frames whose top edges are within half a frame height of each other form a row, rows go top to bottom and frames left to right within a row, so slightly misaligned frames side by side keep their order. Frames with a Page number are moved to that page. In edit mode every frame shows its number, for example 2/3, in its top right corner.

Page frames also apply to:

  • Image output: each frame becomes one image at the frame's size, for example 1346 x 1903 px for A4 portrait without margins, instead of one screenshot of the display. Size and Fit Display do not apply. Several images of a print are numbered _1, _2 and so on.
  • Collection pages: when the template display has frames, every asset or event frame prints the frames as pages, in item order. Rows and Columns do not apply.

The frame has a fixed size; it has no resize handles. In edit mode it shows its size and page title, for example A4 Portrait - 1210 x 1708 px - Overview, and with several frames its page number. With Header & Footer it shades the header and footer areas. The sizes per format: Page sizes.

A frame without margins with the shaded header area and a warning

Note: A PI Vision collection inside a page frame prints only the items visible in the collection's box; items in its scroll area are cut off. Size the box for all items or limit Number of Results. A page frame cannot be part of a PI Vision collection. To print one page per asset, use a Collection page (see Configuring collections (assets & events)).

In edit mode the frame warns when Content crosses the edge of this page and is cut off., Page frames overlap. Content in the overlap is printed on both pages., Content overlaps the header or footer area. or Some content is outside every page frame and is not printed. Under Style you can set Background, Border and Show border in view mode.

Adding signature fields to a PDF

The Vision Report Signature Field symbol adds an empty digital signature field to the PDF, so signers can sign the report in a PDF application such as Adobe Acrobat or Acrobat Reader with their own digital ID. You no longer need to add the field by hand to every report.

  1. Open the display in PI Vision edit mode.
  2. In the Print pane, or in the report page editor under Page Frames, select Add signature field. On a display with page frames the field appears near the bottom of the last page; without page frames it appears below the content. For another page, right-click its frame, select Configure Vision Report Page Frame... and select Add signature field there. Add one field per signer.
  3. Drag and resize the field where the signature belongs.
  4. Right-click the field, select Configure Vision Report Signature Field... and enter a Label, for example the signer's role.
  5. Save the display.
The configuration of the Signature Field symbol
SettingWhat it does
LabelShown in the box and used as the name of the field in the PDF. Labels that repeat in a PDF get the page number added to the field name, for example Operator (Page 2).
Text, Background, Show border, BorderThe look of the box. It prints in every output, also on paper.

Without page frames the field goes wherever the box is printed, with any Fit Display, Zoom Level and Page Margins. With Fit Display off the display can be split over several pages: when a box crosses the split, the field covers only the larger part and the print or run ends with a message, so move the box or turn on Fit Display. A Collection page with rows and columns gets no fields unless its template display has page frames; the run ends with a message.

On a display with page frames, a field belongs to the frame that contains its center. In edit mode it warns when This field is outside every page frame, so the PDF gets no signature field for it. or This field crosses the edge of the page frame and is cut off.

OutputResult
PDF of a display with page frames: Single Display and Collection report pages, Print pane, print buttonA signature field over the box. On a Collection page every asset or event frame gets its own fields.
PDF of a display without page frames, or a field outside every frameOnly the box. The run ends Completed with Errors and names the fields, so a report does not go out unsignable unnoticed.
ImageOnly the box.

On a report with Require approval, the fields of the draft are locked, because the approved PDF replaces the draft and a signature on it would be lost. They can be signed in the final PDF (see Report approval workflow).

The field is only signed in the PDF application, so the signed file stays where the signer saves it. Vision Report+ does not sign the PDF, check signatures or receive the signed copy: the copy in the execution, mail or SharePoint stays unsigned. Whether a signature meets a regulation such as 21 CFR Part 11 or eIDAS depends on your digital IDs and your process.

Configuring output & delivery

These sections of the report configuration set the shared time range, the PDF header and footer, the file name and where the output is delivered.

Shared display time

Turn on Shared Display Time to use one Start Time and End Time for all pages. By default it starts at *-1d and ends at the trigger time. It replaces the time range of every page.

The PDF section sets the header and footer of all PDF pages with margins:

SettingWhat it does
Report NameHeader. Prints the report name.
LogoHeader. Prints the logo configured by the administrator.
Report TimeFooter. Prints the execution time.
Page CountFooter. Prints the page number (only when the report has more than one page).

File

The File section sets the name of the output file.

The File section with name, extension, pattern, Hold delivery when a page appears empty, Skip delivery when there is no data and Send alerts
SettingWhat it does
NameThe base file name.
ExtensionAppends to the name: None, Trigger Time, Event Name, Display Start Time or Display End Time. The last two need Shared Display Time.
PatternThe date format of appended times (default yyyy-MM-dd HH:mm).
Hold delivery when a page appears emptyPDF and Image reports. Every run checks its pages for content before delivery, and an empty page ends the run Completed with Errors. When this is on, that run also sends no mail or Teams message and prints nothing. The files are still stored with the execution and copied to the local reports folder. Off by default.
Skip delivery when there is no dataWhen every collection page finds no assets or event frames and every table has no rows, the run sends no mail or Teams message, uploads nothing to SharePoint, prints nothing and makes no local copy. It ends Success, and History and comments shows No data: nothing delivered. Single display pages, such as a cover page, do not count. A report that requires approval is not sent for approval. Files the run made, such as the cover page, stay with the execution. Off by default.
Send alertsShown when your administrator has turned on alerts. Sends one email or Teams message to you as the report owner and to the alert recipients when a run fails or the schedule produces no report, and one when the report runs successfully again. Alerts that happen at the same time arrive in one message. Runs missed because the Vision Report+ service was not running are reported once, together with the other affected reports. On by default.

Mail

The Mail section appears when the administrator has configured SMTP.

The Mail section with the placeholder menu of the subject open
SettingWhat it does
SendTurns email on or off.
High PrioritySets the high priority flag.
RecipientsOne address per line.
SubjectThe subject line (default %ReportName%).
Message HeaderThe heading of the message.
Message TextOptional message text.
Add Display LinksAppends links to the PI Vision displays. If the administrator set a remote URL, the links use it.
FilesShown when the report uploads to SharePoint. Attach (default) attaches the files, Link to SharePoint lists links to the uploaded files instead, which keeps the mail small, and Attach and link does both. If the upload fails, the files are attached. Recipients need access to the SharePoint site to open the links.

The @ button next to a field inserts placeholders such as the report name or the trigger time. All placeholders: Placeholders.

SharePoint

The SharePoint section appears when the administrator has enabled the SharePoint upload. It stores the report files in a SharePoint folder, for example the Files folder of a Teams channel, before mail and Teams are sent. Mail (Files) and Teams Channel (Link SharePoint Files) can then link the uploaded files.

The SharePoint section of a report with Upload, Site URL and Folder
SettingWhat it does
UploadUploads the report files of every delivered run. Off by default.
Site URLThe site that receives the files. For a Teams channel, the team's site, for example https://contoso.sharepoint.com/sites/team.
FolderFolder in the site's document library, for example the channel name General. Missing folders are created; placeholders are allowed. A file with the same name is kept and the new file gets a number.

Previews and backfills without Deliver upload nothing. Only people with access to the site can open the files. If the upload fails, the execution shows the error and mail and Teams are sent without the links.

Teams channel

The Teams Channel section appears when the administrator has enabled Teams. It posts a message to Microsoft Teams channels.

The Teams Channel section of a report with Link SharePoint Files
SettingWhat it does
SendTurns Teams messages on or off.
Channel Webhook URLsOne webhook URL per line.
Message HeaderThe heading of the message.
Message TextOptional message text.
Add Display LinksAdds links to the displays (PDF reports only). If the administrator set a remote URL, the links use it.
Link SharePoint FilesShown when the report uploads to SharePoint. Adds a button that opens the uploaded file. Off by default.

To get a channel webhook URL:

  1. In Microsoft Teams, open the channel and select More options (...) next to its name, then Workflows. If Workflows is missing, ask your IT administrator to enable the Workflows app.
  2. Search for the template Post to a channel when a webhook request is received.
  3. Select it, give it a name (for example, Vision Report+ Webhook) and select Next.
  4. Check the team and channel, then select Add workflow.
  5. Copy the generated URL (it starts with https://prod-) into Channel Webhook URLs.

The message has the buttons Open in PI Vision, which opens the execution in PI Vision (inside your network, or through the remote URL), and, with Add Display Links, one button per display. With Link SharePoint Files, Open in SharePoint opens the file; a report with several files lists them under Files and Open folder in SharePoint opens their folder. Only people with access to the SharePoint site can open the files, so post to a channel of the team that owns the site. If the upload fails, the message is still sent without the files. When a message would have more than six buttons, the display links are shown as text links instead.

Print

The Print section appears when the administrator has enabled printing. Turn on Enabled, select the Printer and set the number of Copies. PDF and Image reports are printed; each image is scaled onto its own sheet. Excel and CSV files are not printed.

The Print section of a report

Regional settings

Regional Settings set the time zone and locale of the output. Time Zone is Default (Server) or Custom (for example Europe/Berlin). Locale is Global Reports Language or Custom Locale (for example en-US).

The Regional Settings section of a report

Executions

Turn on Auto Delete in Executions and set After (a number and Hour(s), Day(s), Month(s) or Year(s); default 12 months). Executions older than that are deleted automatically.

Auto Delete set to delete executions after 12 months

The Report approval and Security sections are described in Report approval workflow and Managing report permissions.

Previewing

A preview renders the report as it is in the editor, saved or not, and opens the output in the pane.

The Preview button and the Preview page link in the page editor
  1. Select Preview in the toolbar. In the report editor it renders all pages, in the page editor only the page you are editing. The button shows Generating... until the Vision Report+ service has rendered it.
  2. On a page with page frames, you can also select Preview page under Page Frames.

A preview sends no email or Teams message, prints nothing and saves nothing in the local reports folder. It is not listed in the executions or the Print pane. Reports with an Event Completed trigger use the last 24 hours as the event, like Execute Report. Previewing needs the permission to print displays (see Permissions).

Saving

Select Save Report. You return to the report list, where the report appears.

The new report in the report list

If change tracking is enabled, the Save Changes view asks for a Reason and shows the Changes Preview first. Select Save.

The Save Changes dialog with reason and changes preview

If someone else saved the report after you opened it, Save Report refuses with "Someone else saved version n of this report after you opened it" and keeps the stored report unchanged. Reopen the report and make your changes again.

Copying a report

Copy a report to start a new one from its settings.

The Copy Report button in the report configuration
  1. Open the report configuration, or the report's executions view and More options (three dots).
  2. Select Copy Report. The copy opens in the configuration with (Copy) added to its name. Nothing is stored until you save it.
  3. Change the name and settings, then select Save Report.

Copy Report needs permission to create reports.

Editing and deleting reports

To edit a report, select Configure Report in the report list or in the executions view.

Configure Report in the More options menu of the executions view

To delete it, open the Delete section of the configuration and select Report, or select Delete Report under More options (three dots) in the executions view. Both ask for confirmation and delete the report and its executions. Executions in the Delete section deletes only the executions.

The Delete section of a report configuration