HtmlToPDFConverter URL field

HtmlToPDFConverter URL field

  

I was trying to use the HTMLToPDFConverter function but don't know how to use it. Can someone plese share their experience if they have worked on it? I don't understand how to configure the URL field

Hi prajjwal,

First you have to configure and upload all required file for pdftohtml  converter:

then make a ascreen with input parameter , the entry point must be define for this page:

Then pass this all to HtmltoPdf converter action:


Cheers,

Rocky

Rocky wrote:

Hi prajjwal,

First you have to configure and upload all required file for pdftohtml  converter:

then make a ascreen with input parameter , the entry point must be define for this page:

Then pass this all to HtmltoPdf converter action:


Cheers,

Rocky

Hi Rocky

Thanks for the help

Can you please elaborate the first step? The one where configuration is required


HelloHello Prajjwal,

You probably wants to check this: https://www.outsystems.com/forge/component-discussions/209/Html2PdfConverter

Also, the HTML2PDF converter has a demo in it, that you can open and check.

Cheers.

Hi Prajjwal,

If you have done all setup and created page for this and set this as annonymous then for URL field, you can customize like this.

URL = "https://" + GetServerName() + GetOwnerURLPath() + "ExportTo_PDF.aspx"

If you want to send some input parameter to URL,you can write like this

URL = "https://" + GetServerName() + GetOwnerURLPath() + "ExportTo_PDF.aspx?CurrentYearDatabaseId=" + CurrentYearDatabaseId + "&IntervieweeId=" + IntervieweeId 

Thanks and Regards,

Suraj Borade

Eduardo Jauch wrote:

HelloHello Prajjwal,

You probably wants to check this: https://www.outsystems.com/forge/component-discussions/209/Html2PdfConverter

Also, the HTML2PDF converter has a demo in it, that you can open and check.

Cheers.


Thanks for this Eduardo

But I am not able to find the link for the tutorial.

can you please pot it here?

Hello Prajjwal,

As far as I know, there is NO tutorial. Just the FAQ and the example.

In the FAQ you find what binaries you should upload for the server, using the Admin page in the component.
The admin page also has tests you can do to check if your configuration is ok. Looking for the code of those tests you can learn how to use it to generate the PDF.

Cheers.

hi Prajjwal,

When you downloaded htmltopdf component you got Oml. Run Admin page for configuration and sample also provided:

Cheer,

Rocky

Thank you all for the responses!

I got it done


Hi prajjwal,

If you got solution mark that  post   as solution from which you got answer .so that it will be helpful for other developer .

Cheers

Rocky

Solution

Hi everyone

I used the MakeAbsoluteURL and in it the GetEntryURL functions with required parameters to solve the issue.

Solution