64
Views
13
Comments
Solved
Input field invisible while downloading

I am creating a name input field and amount input field , but when I am downloading that page as in PDF , in that PDF input field is visible .

I want that input field invisible while downloading in CSS  . 

Please help me.

Downloads.JPG
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja Please refer to this oml as well.

In this, I haven't used CSS or media print.

MediaPrintNew.oml
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja,

Instead of using GetReferrerURL(), You can use 

GetBookmarkableURL() in reactive application.
PdfByShivanshNew.oml
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja,

In this scenario you can pass the download page URL like this:-

PDFConverterByPooja2.oap
2025-04-10 12-15-03
Ankit Shukla

@Shivansh Pandey Can you please assist this?

2023-02-07 18-45-31
Shivansh Pandey

Hi Pooja,

You can use Media Print css for this.

UserImage.jpg
Pooja Sutar

Hi Shivansh,

Yes,

 I used Media Print css for this.

2023-02-07 18-45-31
Shivansh Pandey
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja Please refer to this oml as well.

In this, I haven't used CSS or media print.

MediaPrintNew.oml
UserImage.jpg
Pooja Sutar

Hi Shivansh,

Thank you so much for quick response, 

I am trying this for pdf downloading but I want in reactive web app .

but in that I can't fetch server action(GetReferrerURL) from HTTPRequestHandler for PrintToPDF_Advanced this run server actions URL .

The given solution was correct but that is in traditionally web app 

Can you help me in this?

PDF.JPG
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja,

Instead of using GetReferrerURL(), You can use 

GetBookmarkableURL() in reactive application.
PdfByShivanshNew.oml
UserImage.jpg
Pooja Sutar

Hi Shivansh,

Your given solution is correct , now I can generate the PDF in reactive web app 

And thank you so much for quick response.

2023-02-07 18-45-31
Shivansh Pandey

Your welcome Pooja


UserImage.jpg
Pooja Sutar

Hi Shivansh,

Can you help me for input box? , I want input box invisible but text should be visible while downloading in reactive.

I tried all that things what given by you for that but it didn't work in reactive.

Please find attachment which I am working currently on it.

PDFConverterByPooja.oap
2023-02-07 18-45-31
Shivansh Pandey
Solution

Hi Pooja,

In this scenario you can pass the download page URL like this:-

PDFConverterByPooja2.oap
UserImage.jpg
Pooja Sutar

Hi Shivansh,

Thank you for your quick response and help.

And the solution given you is working now.


2023-02-07 18-45-31
Shivansh Pandey

Welcome Pooja

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