Generate PDF

Hi all,

How to pass the URL of the current screen in the generate pdf server action properties to convert the current page into the .pdf  and download it. I have attach the .oml


Hi Pooja,

You can use GetBookmarkableURL() to generate the pdf.

  1. Once you click on Download button, follow below 

2. And on Download control please use as per you convenience.

Hope it will help you.


Thanks Dileep it works

Glad to hear ..:)

 Please mark it as solutions if the answer provided by community members help you to solve the problem, so that the thread will be close and will help others as well if they are facing similar issue.


This is a discussion, it cannot be marked as a solution.

Kind regards,


Hi Pooja,

For URL, I think you can use this: 

And for the download widget, you can named the filename include ".pdf" like this: 

Sorry your .oml has reference to Student2 espace so I cannot publish to test.

Hope this help,


Thanks, it helps me a lot

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