We have been receiving a number of negative end-user feedbacks regarding the current behavior of the PDF viewer, as it completely overlaps the entire parent screen when the modal window is loaded.
There is a business requirement for users to review and compare the PDF file and the data on the parent screen, but it is not possible with the current OOTB functionality.
Is there a way we can load the PDF file or frame in a new browser window rather in a model without any customisation?
I assume this is for Theme Cosmos. Theme cosmos support opening cases in different browser tabs. In this case, you will be able to right click the attachment and open it in a new browser tab. You can also make use of the preview option. Can you check if this solves the issue?
Hi thanks, but this is not related to open cases in new tabs. Also, the right-click is not enabled for users. So user clicks on preview button to view the document.
This is regarding the OOTB PDF preview in maximised model window functionality. I hope my initial post explains the user pain point.
If this is traditional UI (theme-cosmos), you are probably looking at the snowbound viewer component for opening attachments. You may be able to override the OOTB file attachment widget sections to not use the preview component - instead you may role out a custom implementation / handler that downloads the file and then opens the file as a blob URL in a new browser tab. We do something similar in the Constellation UI; The File attachmentâs content needs to be sent to the client and a JavaScript handler for the response can then open the received content as a blob URL in a new browser tab/window
Hi Sri, thank you very much for your response. Kind of promising solution but, there is no OOTB way to achieve this in Cosmos other than overriding and use custom handler right?