61
Views
3
Comments
How to change file name in PDF Preview using IFrame?
Question
Application Type
Reactive

Hi All,

I am looking for Solution where I need to change the Default file name getting Showed while clicking on Preview,


After Clicking on download file getting downloaded with this FileName, Can we change this required Value. 


I am attaching OML for reference, Please have a look.

Can someone help me here.


Thank You.

PDfOpen (3).oml
UserImage.jpg
Kumar S

Hi All,

Any Idea on this?


Thank You.

2026-03-12 06-20-48
KUNDAN CHAUHAN
Champion

Hi Kumar S,

Still finding some solution for this.

2022-04-19 13-20-22
Andrea Lembo

Hi,

Try this solution:

  1. Expose a rest api
  2. The action return the file with Content-Disposition
  3. On the iframe/embed src attribute set the rest api action.

I've attached an oml with the example.

PdfViewerDemo.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.