HTML2PDF GeneratePDF URL Parameter

Hello,

Is there a way to get a page full URL for GeneratePDF URL Parameter without have to type it the hard way?

I tried using HTTPRequestHandler - Get Entry URL but it didn't give me full path.

Example: http://kevin.outsystemscloud.com/bookings/bookingdetail.aspx?id=10

Get Entry URL only return bookings/bookingdetail.aspx?id=10.

Solution

Hi Kevin,

Use MakeAbsoluteURL  around the GetEntryURL.

It is also found in HTTPRequestHandler

Regards,

Daniel

Solution

Hi Kevin,

You can also use the GetBookmarkableURL built-in function to get the current web screen's URL (including input parameters).


Daniël Kuhlmann wrote:

Hi Kevin,

Use MakeAbsoluteURL  around the GetEntryURL.

It is also found in HTTPRequestHandler

Regards,

Daniel

Thanks it works Daniel


Jorge Martins wrote:

Hi Kevin,

You can also use the GetBookmarkableURL built-in function to get the current web screen's URL (including input parameters).


Will keep that in mind, but in my case the page that I want to convert to PDF is not in the same page when the GeneratePDF action is called. Thanks Jorge!