Alternate approach for preview of HTML files

Hi Team,

we are using non-auto generated section and Iframe to preview the PDF files before downloading it.
Client has issue with different screen sizes and wants to come with an alternative approach, such as wants to view the preview documents in pop up window to adjust dynamically as per the screen resolution.

Existing Funcitonality:

We are using Iframe with 1000*600(Length X Breadth) which is static, if we remove the lenght and width in iframe, the window is not showing properly and unable to view the document itself.
we have to come with alternative approach without using Non-Auto Generated section and Iframe.

Thanks
Karim

@karimullaN did you already see this enhancement request?

Please note that your issue appears to already exist under reference FDBK-67071 (PDF attachment preview iframe is in the wrong place). However PDF preview isn’t something we support. No such enhancement is currently in the plans in the Infinity Section UI. Even if we consider such a feedback, it would most likely make into the new Constellation UI (Cosmos React UI) only.

For providing a custom PDF viewer, we suggest that you could use a custom harness and open that harness in a new window - using show harness in popup action; or using open url in window.

@MarijeSchillern
Thanks for the reply,

I have one more query,

we are showing a list of documents in Iframe as we are user has option to select multiple files at a time as Iframe itself can handle the list and show one file at a time, I have tried with Open Window URL its just opening the last one in the Grid,
For more information I have taken a screen shot

Regards

KarimullaN

@karimullaN I can only find the following:

Cannot Interrogate data within iframe

Include multiple mashups on a single page (8.3)

Developing applications that open in multiple browser tabs or browser windows

I think it would be best if you log this in a New Question so that users can comment on your requirement.