Applies to Pega Platform versions 8.1.3 through 8.1.5, 8.2.1 through 8.2.2, 8.3, and 8.4
When you upload a PDF file as an attachment to a case, you see a preview of the PDF file when you click the PDF link. However, the PDF preview displays the name of the PDF tab thread in the clipboard. This problem occurs for PDF files that use inline preview in the Attachment gadget, the Document gadget, and the Pulse gadget.
The Pega support team has reproduced this problem in the Chrome browser only.
The Pega defect was resolved in the Pega Platform patch releases cited in the Solutions.
When the title of a PDF file is not specified in the PDF file’s document properties, the current clipboard thread appears as the PDF title. If a PDF file does not have title, PDF inline preview displays the PDF document title as the clipboard thread name. This is expected behavior because the PDF inline preview uses the iframe provided by the browser for displaying PDF files.
Choose one of the following solutions to resolve issues with PDF file display in the inline preview:
- Update the document properties of the PDF file to include a document title.
- Perform the local change to disable PDF inline preview in any browser.
Extend the rule @baseclass.pyBrowserAttachmentTypeTable in your application ruleset and disable the PDF inline preview:
- Override @baseclass.pyBrowserAttachmentTypeTable in your ruleset.
- Set the PDF row in pyBrowserAttachmentTypeTable to return the value false.