Hi j.kennedy, I have researched this issue and determined that it likely hasn’t ever worked and have verified so in every version since 8.1.
The short of it is:
There are technical/security limitations that will necessitate that we treat the prop
allowOpenInTab on the ReportViewer component as false in Perspective Workstation.
The long of it is:
When a report is generated for opening in a new tab, the report is temporarily stored in a manner that is only accessible from within that session. When Perspective Workstation opens a the system’s Web Browser, that new Web Browser does not have a session, hence the 401 when the new Browser attempts to open the URL.
In researching this issue I’ve considered a number of alternatives:
- Base64 encoding the report and trying to pipe it to the System’s browser - appears that the system’s Browser can’t handle that large of a string
- Storing the report in a manner that doesn’t require a session - security concerns
- Allowing opening the PDF in the main Perspective Workstation main window only - awkward as it navigates you away from the view, forcing users to use keyboard shortcuts to navigate back
allowOpenInTab as false in Perspective Workstation, and suggesting use of
allowDownload prop instead to open the PDF externally - least risk, and doesn’t affect non-workstation users
Conferring with other developers/QA we have come to the joint conclusion that the last option is best.
For now, I suggest setting
allowOpenInTab to false, and
allowDownload to true instead. The PDF can then be downloaded through Perspective Workstation, and then opened in the PDF viewer of choice.
I’m sorry for any inconvenience this may have caused.